Default
Easily generate an alert with this component apart from functionalities such as hiding it and showing it color change and title icons among other things
Easily generate an alert with this component apart from functionalities such as hiding it and showing it color change and title icons among other things
You can change the style of the component by adding the solid property, the property is a boolean so you can add it without any value.
You can change the style of the component by adding the border property, the property is a boolean so you can add it without any value.
You can change the style of the component by adding the shadow property, the property is a boolean so you can add it without any value.
You can change the style of the component by adding the gradient property, the property is a boolean so you can add it without any value.
You can change the style of the component by adding the relief property, the property is a boolean so you can add it without any value.
A beautiful and simple animation to show and hide the alert to the user
Change the color of the entire alert with the color property
In this example you can click on the buttons and dynamically change the color value to display it in the component alert
Add an icon to the alert easily with the slot icon
Default icons
Sax Design Vue renders build-time Iconify SVG data. Built-in controls, such as close buttons in Alert or Popup, use SVG icons and require no external icon font. Use the #icon slot when a product needs another icon.
Find and use icons
Search Boxicons for a collection and copy its prefix:name value into SIcon.
You can add a descriptive title to the alert with the slot="title"
You can hide the content of an alert and just leave the title to display the content dynamically.
This prop can bind with v-model:hidden-content
There are times when we need to show a lot of content to the user but we don’t want to extend the text and make the alert very large and tall
Use the footer slot to add a footer to the alert where for example you can add interactions with the user such as a button or a checkbox.
You can add a progress bar to the alert with the progress property and a number of (0 - 100)
You can add a close alert icon with the closable property, the property is a boolean so you can add it without any value.
If you need an alert to have time to hide, you can do so by joining some properties and few lines of code