Separator

Visual or semantic divider on bits-ui Separator. Horizontal by default; vertical with an explicit orientation prop. No motion — it's a line with intent.

Horizontal

Bloom Design System
Tokens-first, headless primitives.
Token-driven color, Geist typography.

Vertical

Docs Tokens Components

Decorative vs semantic

By default the separator is announced to assistive tech. Set decorative to hide it from screen readers when the divider is purely visual.

Announced divider (default)
Decorative only
Screen readers skip the second rule.

API reference

Inherits bits-ui Separator.Root props.

PropTypeDescription
'horizontal' | 'vertical'Axis of the rule. Vertical needs a parent with explicit height.
booleanWhen true the element is hidden from assistive tech (role="none"). Use for purely visual dividers.
stringMerged onto the rule via tailwind-merge.
HTMLElement | nullTwo-way-bindable element reference.