Components

Separator

Separators visually divide groups of content using a thin horizontal or vertical line.

Stable
GitHub

Top content

Bottom content

Anatomy

Anatomy
import {Separator} from '@staffbase/spark';

<Separator />

Examples

Vertical

LeftRight

API reference

Separator

Renders a thin visual and semantic dividing line between sections of content, with the same semantics as the HTML <hr> element via role="separator" and aria-orientation support.

NameTypeDescription
orientation
horizontalvertical
The axis along which the separator is rendered.
Default:horizontal