Alert
An inline, assertive status message (`role="alert"`).
Usage
Import
import { Alert } from "@qeetrix/ui";It can also be imported on its own from @qeetrix/ui/components/alert.
Variant props
| Prop | Values |
|---|---|
variant | default · info · success · warning · destructive · danger |
Support
| Feature | Status |
|---|---|
| Right-to-left | Supported |
| Dark mode | Supported |
| Density | Supported |
| Server rendering | Renders on the server |
| Reduced motion | Not applicable |
Accessibility
Follows the WAI-ARIA alert pattern. Not yet audited.
Announcements
Announced assertively: screen readers interrupt to read it.
Tests
Covered by unit, accessibility (axe) and visual tests.