The StickyNote component provides a way to display brief, important information or reminders in a visually distinct manner. It mimics the appearance of physical sticky notes, making it easy for users to quickly identify and reference key details. This component is ideal for highlighting tips, warnings, or any other content that requires immediate attention within an application.
Different variants are available to suit your design needs. You can choose between brand (default), blue, teal, green, violet, orange or pink variants to convey different types of messages effectively.
A call-to-action encouraging the user to take an action. It's a predefined button styled to fit within the StickyNote component.
Choose from various shapes including square (default) and rectangle to match your application's aesthetic and enhance visual appeal.
On some case we want the StickyNote to take all the width of its container, you can use the isFullWidth prop to achieve this.
Customize the icon displayed in the title of the sticky note by using the icon prop. This allows you to select an icon that best represents the content or purpose of the note.
Add handleClose prop to include a close button, allowing users to dismiss the sticky note when it's no longer needed.