UI95

Alert Dialog

Modal confirmation in the dialog chrome, with action and cancel buttons.

Examples

Adefault
Bsize sm
Cwith media

Installation

npx shadcn@latest add https://www.ui95.dev/r/alert-dialog.json

Run it in a Radix shadcn project that already has the UI95 theme.

API reference

AlertDialog

No props of its own. It forwards the props of the element or primitive it wraps.

AlertDialogAction

PropTypeDefault
variant"link" | "default" | "outline" | "secondary" | "ghost" | "destructive""default"
size"default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg""default"

AlertDialogCancel

PropTypeDefault
variant"link" | "default" | "outline" | "secondary" | "ghost" | "destructive""outline"
size"default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg""default"

AlertDialogContent

PropTypeDefault
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.

Uses

Sounds

  • button.press
  • button.release

Updated Nov 5, 2026