Dialog
A window overlaid on either the primary window or another dialog window, rendering the content underneath inert.
Made by imskyleenInstallation
Usage
API Reference
Dialog
Radix UI API Reference - Dialog.RootDialogTrigger
Radix UI API Reference - Dialog.TriggerDialogPortal
Radix UI API Reference - Dialog.PortalThe forceMount
property is not supported in the DialogPortal
component, as
it is used for animation.
DialogOverlay
Radix UI API Reference - Dialog.OverlayProp | Type | Default |
---|---|---|
transition? | Transition | { duration: 0.2, ease: 'easeInOut' } |
...props? | HTMLMotionProps<"div"> | - |
The asChild
and forceMount
properties are not supported in the
DialogOverlay
component, as it is used for animation.
DialogContent
Radix UI API Reference - Dialog.ContentProp | Type | Default |
---|---|---|
from? | 'top' | 'bottom' | 'left' | 'right' | top |
transition? | Transition | { type: 'spring', stiffness: 150, damping: 25 } |
...props? | HTMLMotionProps<"div"> | - |
The asChild
and forceMount
properties are not supported in the
DialogContent
component, as it is used for animation.
DialogClose
Radix UI API Reference - Dialog.CloseDialogHeader
Prop | Type | Default |
---|---|---|
...props? | React.ComponentProps<'div'> | - |
DialogTitle
Radix UI API Reference - Dialog.TitleDialogDescription
Radix UI API Reference - Dialog.DescriptionDialogFooter
Prop | Type | Default |
---|---|---|
...props? | React.ComponentProps<'div'> | - |