Alert
A single-line message in one of three types: Assistive, Warning, or Danger. It stays while the condition is still true.
This is an Assistive alert.
This is a Warning alert.
This is a Danger alert.
Playground
This is an Assistive alert.
Variants and states
| Property | Options | Notes |
|---|---|---|
| variant | assistive, warning, danger | Assistive, warning, or danger. One line at 12px medium. |
Accessibility
- The region uses role=alert.
- The icon is decorative; the text carries the meaning.