A modal dialog that interrupts the user with urgent information or requires a critical confirmation decision.
Loading component...
Run the following command to add this component to your project:
Import the component directly from the package:
import { AlertDialog } from "@static-ui/ui"Common props available for this component:
| Prop | Type | Description |
|---|---|---|
| className | string | Additional CSS classes to apply. |
Implements the WAI-ARIA Alert Dialog pattern. Focus is trapped within the dialog. Uses `role="alertdialog"` and `aria-modal="true"`.