Skip to content

Function: Separator()

ts
function Separator(props?: UiSeparatorProps): Block;

Defined in: packages/sdk/src/renderer/blocks/index.ts:833

Experimental

Separator — a thin rule that visually separates content. horizontal (default) spans the full width; vertical spans its container's height. orientation and hidden accept an async function of UI state.

Parameters

ParameterType
props?UiSeparatorProps

Returns

Block

Examples

ts
Separator();
ts
Separator({orientation: 'vertical'});

Matterway Assistant SDK Documentation