Components
Alert Dialog
A modal dialog that interrupts the user with important content and expects a response.
Loading
Installation
pnpm dlx shadcn@latest add https://reui.io/r/alert-dialog.json
Examples
Destructive
Loading
API Reference
This component is built using Radix UI Alert Dialog primitives and includes the following custom props:
AlertDialog
This component is based on the AlertDialog.Root primitive and includes the following custom props:
Prop | Type | Default |
---|---|---|
variant | ||
dismissable |
AlertDialogAction
This component is based on the AlertDialog.Action primitive and includes the following custom props:
Prop | Type | Default |
---|---|---|
variant |
Credits
- Built with Radix UI Alert Dialog.