A popup that opens on top of the entire page.
Made by imskyleenInstallation
Usage
API Reference
Dialog
DialogTrigger
DialogPopup
| Prop | Type | Default |
|---|---|---|
showCloseButton? | boolean | true |
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 DialogPopup component, as it
is used for animation.
DialogClose
DialogHeader
Animate UI API Reference - Dialog Header Primitive| Prop | Type | Default |
|---|---|---|
...props? | React.ComponentProps<'div'> | - |
DialogTitle
DialogDescription
DialogFooter
Animate UI API Reference - Dialog Footer Primitive| Prop | Type | Default |
|---|---|---|
...props? | React.ComponentProps<'div'> | - |
Credits
- Base UI Dialog
- Credit to shadcn/ui for style inspiration.