# Alerts
Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
# Examples
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!
Default! This is a warning alert—check it out!
Show Code
# Dismissing
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!
Default! This is a warning alert—check it out!
Show Code
# Props
Prop Name | Type | Default | Description |
---|---|---|---|
type | String | default | Alert type |
dismissible | Boolean | N/A | Whether alert is dismissible (closeable) |
withIcon | Boolean | N/A | Whether alert contains icon |