Alert
Overview
The Avonni Alert Component lets you showcase crucial messages or notifications to your website visitors. Commonly, it's employed to inform visitors about specific situations like errors, warnings, or successful actions. It's an effective way to relay essential details or guidelines to your audience.
Settings
Attribute | Description |
---|---|
Variant | The 'variant' attribute allows you to customize the appearance of the Avonni Alert component to reflect better the type of alert you're conveying. Available variants include:
Choose a variant that aligns with the message you aim to deliver for more transparent user comprehension. |
Content | The 'content' attribute specifies the primary message or information you wish to convey in the Avonni Alert component. It holds the textual content that will be displayed within the alert, ensuring users are informed or made aware of the specific notification or situation. |
Icon Name | The 'icon name' attribute allows you to set a specific icon for the Avonni Alert component. By providing an icon name, you can visually represent the nature or context of the alert, enhancing clarity and immediately drawing the user's attention to the message. |
Icon Size | The 'icon size' attribute in the Avonni Alert component controls the icon's size:
|
Is Dismissible | The "Is Dismissible" attribute enables users to close or dismiss the Avonni Alert on the interface. When activated, a close button appears on the alert, allowing for manual removal by the user. |
Last updated