Components
Separator
Separators visually divide groups of content using a thin horizontal or vertical line.
Stable
GitHubAnatomy
Anatomy
import {Separator} from '@staffbase/design';
<Separator />Examples
Vertical
LeftRight
API reference
Separator
| Name | Type | Description |
|---|---|---|
orientation | horizontalvertical | The axis along which the separator is rendered. Default: horizontal |
When to use
When not to use
How to use
Orientation
Section ASection B
Content AContent B
Width & padding
Related A
Related B
Spacing
Do
Content aboveContent below
Consistent spacing above and below the separator.
Don't
Content aboveContent below
Content placed directly against the separator with no spacing.