A popup that opens on top of the entire page.
Made by imskyleenInstallation
Usage
API Reference
Dialog
Base UI API Reference - Dialog.RootDialogTrigger
Base UI API Reference - Dialog.TriggerDialogPortal
Base UI API Reference - Dialog.PortalThe keepMounted property is not supported in the DialogPortal component,
as it is used for animation.
DialogOverlay
Base UI API Reference - Dialog.Backdrop| Prop | Type | Default |
|---|---|---|
transition? | Transition | { duration: 0.2, ease: 'easeInOut' } |
...props? | HTMLMotionProps<"div"> | - |
The render property is not supported in the DialogBackdrop component, as
it is used for animation.
DialogPopup
Base UI API Reference - Dialog.Popup| 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 DialogPopup component, as it
is used for animation.
DialogClose
Base UI API Reference - Dialog.CloseDialogHeader
| Prop | Type | Default |
|---|---|---|
...props? | React.ComponentProps<'div'> | - |
DialogTitle
Base UI API Reference - Dialog.TitleDialogDescription
Base UI API Reference - Dialog.DescriptionDialogFooter
| Prop | Type | Default |
|---|---|---|
...props? | React.ComponentProps<'div'> | - |