Provide contextual feedback messages for typical user actions with the handful of available and flexible Nuxt alerts.
Global usage
For local usage
Examples
Default! This is a default alert—check it out!
Primary! This is a primary alert—check it out!
Info! This is a info alert—check it out!
Success! This is a success alert—check it out!
Danger! This is a danger alert—check it out!
Warning! This is a warning alert—check it out!
Dismissing
Default! This is a default alert—check it out!
Primary! This is a primary alert—check it out!
Info! This is a info alert—check it out!
Success! This is a success alert—check it out!
Danger! This is a danger alert—check it out!
Warning! This is a warning alert—check it out!
Props
PROP NAME |
TYPE |
DEFAULT |
DESCRIPTION |
type |
String |
default |
Alert type |
dismissible |
Boolean |
N/A |
Whether alert is dismissible (closeable) |
icon |
String |
N/A |
Alert icon to display |