Alert Dialog
Modal confirmation in the dialog chrome, with action and cancel buttons.
npx shadcn@latest add https://www.ui95.dev/r/alert-dialog.jsonRun it in a Radix shadcn project that already has the UI95 theme.
AlertDialog
No props of its own. It forwards the props of the element or primitive it wraps.
AlertDialogAction
| Prop | Type | Default |
|---|---|---|
| variant | "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | "default" |
| size | "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "default" |
AlertDialogCancel
| Prop | Type | Default |
|---|---|---|
| variant | "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | "outline" |
| size | "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "default" |
AlertDialogContent
| Prop | Type | Default |
|---|---|---|
| size | "default" | "sm" | "default" |
AlertDialogDescription
No props of its own. It forwards the props of the element or primitive it wraps.
AlertDialogFooter
No props of its own. It forwards the props of the element or primitive it wraps.
AlertDialogHeader
No props of its own. It forwards the props of the element or primitive it wraps.
AlertDialogMedia
No props of its own. It forwards the props of the element or primitive it wraps.
AlertDialogOverlay
No props of its own. It forwards the props of the element or primitive it wraps.
AlertDialogPortal
No props of its own. It forwards the props of the element or primitive it wraps.
AlertDialogTitle
No props of its own. It forwards the props of the element or primitive it wraps.
AlertDialogTrigger
No props of its own. It forwards the props of the element or primitive it wraps.
- button.press
- button.release
Updated Nov 5, 2026