Skip to content

Function: UiSheetModal()

ts
function UiSheetModal(__namedParameters: UiSheetModalProps): Element | null;

Defined in: src/UI/components/SheetModal.tsx:45

Experimental

Renderer-side wrapper for SheetModal. Adds dynamic hidden/disabled, async children, and name-based state binding for the open state.

The sheet defaults to open when no name or open is set — that's the normal renderer flow (render the block ⇒ show the sheet).

For navigation/resolve, put a NavigationBar block inside the SheetModal children — same canonical pattern as Modal. The structured actions prop on the mw SheetModal is for purely visual confirmation buttons (Cancel close); use NavigationBar for buttons that advance the render.

Parameters

ParameterType
__namedParametersUiSheetModalProps

Returns

Element | null

Matterway Assistant SDK Documentation