Separator
Visual divider between content blocks, decorative or semantic.
npx @slipstream-ui/cli@latest add separatorBoth orientations
Section A
Section B
Toolbar left
Toolbar right
Also exported as Divider — the same primitive under a layout-friendly name.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | 'horizontal' | 'vertical' | 'horizontal' | Direction of the divider line. |
| label | string | — | Accessible name; when set, the separator becomes semantic. |
Accessibility
- Decorative by default (role=none) so screen readers skip it.
- Pass a label to make it a semantic separator.
Browser support
| Browser | Tested versions |
|---|---|
| Chrome | 111+ (Mar 2023) |
| Edge | 111+ (Mar 2023) |
| Firefox | 121+ (Dec 2023) |
| Safari | 17.2+ — macOS & iOS (Dec 2023) |
Slipstream components rely only on CSS custom properties, Flexbox/Grid, and ARIA — the everyday baseline of the last two years of evergreen releases. Anything newer is progressive enhancement: unsupported browsers keep full functionality with static behavior instead of animations.