Dialog

A modal dialog overlay.

Usage

Right positioned

Props

PropTypeDefaultDescription
openboolean-Controlled open state of the dialog
onOpenChange(open: boolean, eventDetails) => void-Callback when the open state changes
defaultOpenboolean-Default open state for uncontrolled usage
isRightbooleanfalsePositions the dialog on the right side (for DialogContent)
renderReactElement-Composes the trigger or close control with another component, for example a Button (for DialogTrigger and DialogClose)