Alert Dialog
Interrupts for a decision that cannot be undone. No dismiss on outside click.
Needs the @dumb registry in components.json and the style tokens. See Installation.
API reference
Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.
AlertDialogAction
| Prop | Type | Default |
|---|---|---|
| variantextra | "default" | "destructive"Use destructive for irreversible actions. | "default" |
- Esc
- Cancels.
- Tab
- Moves between Cancel and Action.