A dialog that requires user response to proceed.
Made by imskyleenInstallation
Usage
API Reference
AlertDialog
AlertDialogTrigger
AlertDialogPopup
| Prop | Type | Default |
|---|---|---|
from? | 'top' | 'bottom' | 'left' | 'right' | top |
transition? | Transition | { type: 'spring', stiffness: 150, damping: 25 } |
...props? | HTMLMotionProps<"div"> | - |
The render property is not supported in the AlertDialogPopup component, as
it is used for animation.
AlertDialogAction
AlertDialogCancel
AlertDialogHeader
Animate UI API Reference - Alert Dialog Header Primitive| Prop | Type | Default |
|---|---|---|
...props? | React.ComponentProps<'div'> | - |
AlertDialogTitle
AlertDialogDescription
Animate UI API Reference - Alert Dialog Description PrimitiveBase UI API Reference - AlertDialog.Description
AlertDialogFooter
Animate UI API Reference - Alert Dialog Footer Primitive| Prop | Type | Default |
|---|---|---|
...props? | React.ComponentProps<'div'> | - |
Credits
- Base UI Alert Dialog
- Credit to shadcn/ui for style inspiration.