Officina UI
Components

Separator

Horizontal or vertical divider with an optional inline label.

Separator divides content, optionally with a centered label.

Example

Preview
AboveBelow
import { Separator } from '@officina/ui';

<Separator />
<Separator label="OR" />

API

PropTypeDefaultDescription
labelstring—Optional centered label rendered within the divider.
orientationenumhorizontalDivider axis. Defaults to horizontal.

On this page