āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā š shadcn/directory/imskyleen/animate-ui/components/base/dialog ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā
<Dialog>
<DialogTrigger>Open Dialog</DialogTrigger>
<DialogPopup>
<DialogHeader>
<DialogTitle>Dialog Title</DialogTitle>
<DialogDescription>Dialog Description</DialogDescription>
</DialogHeader>
<p>Dialog Content</p>
<DialogFooter>
<button>Accept</button>
</DialogFooter>
</DialogPopup>
</Dialog>
<ExternalLink href="https://base-ui.com/react/components/dialog#root" text="Base UI API Reference - Dialog.Root" />
</div><ExternalLink href="https://base-ui.com/react/components/dialog#trigger" text="Base UI API Reference - Dialog.Trigger" />
</div><ExternalLink href="https://base-ui.com/react/components/dialog#popup" text="Base UI API Reference - Dialog.Popup" />
</div><TypeTable type={{ showCloseButton: { description: 'Whether to show the close button.', type: 'boolean', required: false, default: 'true', }, from: { description: 'The direction the dialog should flip from', type: "'top' | 'bottom' | 'left' | 'right'", required: false, default: 'top', }, transition: { description: 'The transition of the dialog popup', type: 'Transition', required: false, default: "{ type: 'spring', stiffness: 150, damping: 25 }", }, '...props': { description: 'The props of the dialog popup.', type: 'HTMLMotionProps<"div">', required: false, }, }} />
<Callout type="info"> The `render` property is not supported in the `DialogPopup` component, as it is used for animation. </Callout><ExternalLink href="https://base-ui.com/react/components/dialog#close" text="Base UI API Reference - Dialog.Close" />
</div><ExternalLink href="https://animate-ui.com/docs/primitives/base/dialog#dialogheader" text="Animate UI API Reference - Dialog Header Primitive" />
<TypeTable type={{ '...props': { description: 'The props of the dialog header.', type: "React.ComponentProps<'div'>", required: false, }, }} />
<ExternalLink href="https://base-ui.com/react/components/dialog#title" text="Base UI API Reference - Dialog.Title" />
</div><ExternalLink href="https://base-ui.com/react/components/dialog#description" text="Base UI API Reference - Dialog.Description" />
</div><ExternalLink href="https://animate-ui.com/docs/primitives/base/dialog#dialogfooter" text="Animate UI API Reference - Dialog Footer Primitive" />
<TypeTable type={{ '...props': { description: 'The props of the dialog footer.', type: "React.ComponentProps<'div'>", required: false, }, }} />
ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā