āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā š shadcn/directory/imskyleen/animate-ui/primitives/base/alert-dialog ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā
<AlertDialog>
<AlertDialogTrigger>Open Dialog</AlertDialogTrigger>
<AlertDialogPortal>
<AlertDialogBackdrop />
<AlertDialogPopup>
<AlertDialogHeader>
<AlertDialogTitle>Alert Dialog Title</AlertDialogTitle>
<AlertDialogDescription>
Alert Dialog Description
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogClose render={<button>Cancel</button>} />
<button>Continue</button>
</AlertDialogFooter>
</AlertDialogPopup>
</AlertDialogPortal>
</AlertDialog>
<ExternalLink href="https://base-ui.com/react/components/alert-dialog#root" text="Base UI API Reference - AlertDialog.Root" />
<ExternalLink href="https://base-ui.com/react/components/alert-dialog#trigger" text="Base UI API Reference - AlertDialog.Trigger" />
<ExternalLink href="https://base-ui.com/react/components/alert-dialog#portal" text="Base UI API Reference - AlertDialog.Portal" />
<Callout type="info"> The `keepMounted` property is not supported in the `AlertDialogPortal` component, as it is used for animation. </Callout><ExternalLink href="https://base-ui.com/react/components/alert-dialog#backdrop" text="Base UI API Reference - AlertDialog.Backdrop" />
<TypeTable type={{ transition: { description: 'The transition of the alert dialog backdrop', type: 'Transition', required: false, default: "{ duration: 0.2, ease: 'easeInOut' }", }, '...props': { description: 'The props of the alert dialog backdrop.', type: 'HTMLMotionProps<"div">', required: false, }, }} />
<Callout type="info"> The `render` property is not supported in the `AlertDialogBackdrop` component, as it is used for animation. </Callout><ExternalLink href="https://base-ui.com/react/components/alert-dialog#popup" text="Base UI API Reference - AlertDialog.Popup" />
<TypeTable type={{ from: { description: 'The direction the alert dialog should flip from', type: "'top' | 'bottom' | 'left' | 'right'", required: false, default: 'top', }, transition: { description: 'The transition of the alert dialog popup', type: 'Transition', required: false, default: "{ type: 'spring', stiffness: 150, damping: 25 }", }, '...props': { description: 'The props of the alert dialog popup.', type: 'HTMLMotionProps<"div">', required: false, }, }} />
<Callout type="info"> The `render` property is not supported in the `AlertDialogPopup` component, as it is used for animation. </Callout><ExternalLink href="https://base-ui.com/react/components/alert-dialog#close" text="Base UI API Reference - AlertDialog.Close" />
<TypeTable type={{ '...props': { description: 'The props of the alert dialog header.', type: "React.ComponentProps<'div'>", required: false, }, }} />
<ExternalLink href="https://base-ui.com/react/components/alert-dialog#title" text="Base UI API Reference - AlertDialog.Title" />
<ExternalLink href="https://base-ui.com/react/components/alert-dialog#description" text="Base UI API Reference - AlertDialog.Description" />
<TypeTable type={{ '...props': { description: 'The props of the alert dialog footer.', type: "React.ComponentProps<'div'>", required: false, }, }} />
ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā