Components
GlassAlertDialog
A modal dialog that interrupts the user with important content and expects a response.
Preview
Usage
Props
GlassAlertDialog
| Prop | Type | Default | Description |
|---|---|---|---|
open | boolean | — | Controlled open state |
defaultOpen | boolean | false | Default open state |
onOpenChange | (open: boolean) => void | — | Fired when the open state changes |
Unlike GlassDialog, an alert dialog cannot be dismissed by pressing escape or clicking the overlay — the user must pick an action.
All Radix AlertDialog props are also supported.