Cancelable dismissal
RequestClosefunction
Renders a button that starts the cancelable native close-request lifecycle.
requestClosefunction
Requests the native dialog close lifecycle, including its cancel event.
Dialog naming and description
Descriptionfunction
Renders descriptive dialog text with an optional relationship id.
DescriptionOptionsinterface
Options for descriptive dialog text.
Headingfunction
Renders a dialog heading with explicit ARIA level semantics.
HeadingOptionsinterface
Options for an accessible dialog heading.
Direct dismissal
Closefunction
Renders a button that closes a dialog without a cancel request.
CloseOptionsinterface
Options for dialog close and close-request buttons.
Dismissvariable
Alias for direct
Closebehavior.closefunction
Marks dialog state closed without requesting native cancellation.
Native content host
Contentfunction
Renders native dialog content synchronized with hydrated state.
ContentOptionstype-alias
Dialog content options with exactly one accessible naming strategy.
Dialogvariable
Canonical widget alias for
Content.
Open state
InitialStateinterface
Optional initial dialog state.
Stateinterface
Current renderer-independent dialog visibility.
StateSchemavariable
Schema for dialog hydration state.
makeStatefunction
Creates hydrated dialog state independent of rendering.
setOpenfunction
Sets desired dialog visibility.
Opening controls
Triggerfunction
Renders a native button that opens dialog content.
TriggerOptionsinterface
Options for a dialog-opening button.