Design System v1.0

Dialog

Modal dialogs for confirmations, forms, and focused tasks.

Alert dialog

A confirmation dialog requiring an explicit choice.

Alert dialog with icon

A confirmation dialog with a leading status icon.

Destructive alert dialog

A confirmation dialog for irreversible actions.

Terms and conditions

A dialog presenting scrollable legal copy to accept.

OTP verification

A dialog for entering a one-time verification code.

API reference

A modal dialog: a Trigger opens a portalled overlay + centered Content, with styled header/footer, title, description, and close.

Full props on Base UI Dialog
Anatomy
DialogRoot managing the dialog's open state.
DialogCloseButton that closes the dialog.
DialogContentPortalled, centered popup with an optional close button.
DialogDescriptionMuted supporting text under the title.
DialogFooterStyled footer row for actions.
DialogHeaderStyled div stacking the title and description.
DialogOverlayFixed dimmed backdrop behind the dialog.
DialogPortalRenders the dialog outside the DOM tree.
DialogTitleStyled heading text for the dialog.
DialogTriggerElement that opens the dialog on click.

Command Palette

Search for a command to run...