0
Components
API reference

Alert Dialog

Interruptive confirmation dialog that requires an explicit user decision before continuing.

Installation

Usage

Examples

Destructive with Icon

Async Action

API Reference

AlertDialog

Re-exports AlertDialog.Root from @base-ui/react/alert-dialog. Unlike Dialog, clicking the backdrop does not dismiss the dialog.

PropTypeDefaultDescription
openboolean-Controlled open state
defaultOpenbooleanfalseInitial uncontrolled open state
onOpenChange(open: boolean) => void-Called when the open state changes

AlertDialogPopup / AlertDialogContent

Composes AlertDialogPortal, AlertDialogBackdrop, AlertDialogViewport, and AlertDialog.Popup.

PropTypeDefaultDescription
portalPropsAlertDialog.Portal.Props-Props forwarded to AlertDialogPortal
classNamestring-Additional CSS classes

AlertDialogHeader / AlertDialogIcon / AlertDialogTitle / AlertDialogDescription / AlertDialogFooter / AlertDialogTrigger / AlertDialogClose

Composable layout and action primitives built on Dialog header/footer slots and Base UI AlertDialog.

© taut ui — built with Base UI and Tailwind CSS v4.