Variants
Use the variant attribute to set the alert color: primary,
success, neutral, warning, danger.
You can tell by how pretty the alert is.
You can safely exit the app now.
Settings will take effect on next login.
Please login again to continue.
We're very sorry to see you go!
Closable
Add the closable attribute to show a close button. The alert reopens after 2
seconds.
Without Icons
The icon slot is optional — omit it for a plain text alert.
Duration (Auto-hide)
Set the duration attribute (milliseconds) to automatically hide the alert
after a period of time.
Toast Notifications
Call the toast() method to show the alert as a toast notification in the
top-right corner.
You can tell by how pretty the alert is.
You can safely exit the app now.
Settings will take effect on next login.
Please login again to continue.
We're very sorry to see you go!