UI Library

BaseDialog

Default


Props

PropTypeDefaultNotes
titlestringHeading rendered when no header snippet is passed.
titleClassstring''Extra classes for the title element.
classNamestring''Extra classes for the dialog panel.
maxWidth'md' | … | '7xl' | 'fit' | 'wide''md'Panel width variant.
height'auto' | 'fixed' | 'tall''auto'Panel height variant.
pendingbooleanfalseDisables dismissal while an operation runs.
allowPendingCancelbooleanfalseKeeps dismissal enabled while pending.
dismissKeydownCapturebooleantrueRegisters the capture-phase Escape/Tab handler.
fullscreenbooleanfalseFills the viewport on an opaque surface.
closeLabelstringlocaleOverrides the close accessible name.
onCancel() => voidCalled by every dismissal affordance.
headerSnippetReplaces the title with custom header markup.
childrenSnippetDialog body content.