An alert component for displaying important messages. Supports multiple severity levels and dismissible alerts.
npm install @uicomponents/alert| Prop | Type | Default | Description |
|---|
WCAG Level
AA
Keyboard Support
Yes
Screen Reader
Yes
The Alert component announces its role and state to screen readers.
Focus is managed according to WAI-ARIA guidelines.
| Variable | Default | Description |
|---|
Copy the code above or explore more components in our library.