Appearance
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
| Parameter | Type |
|---|---|
props? | UiSeparatorProps |
Returns
Examples
ts
Separator();ts
Separator({orientation: 'vertical'});