Displays a brief, important message that requires the user's attention without interrupting their workflow.
Loading component...
Run the following command to add this component to your project:
Import the component directly from the package:
import { Alert } from "@static-ui/ui"Common props available for this component:
| Prop | Type | Description |
|---|---|---|
| className | string | Additional CSS classes to apply. |
Uses `role="alert"` to announce dynamic content to screen readers. Optionally supports `role="alertdialog"` for interactive alerts.