Search documentation

Find a component or a docs page

Separator

Visually or semantically separates content.

Usage

Horizontal

Vertical

A vertical separator stretches to the height of its flex row.

In list

Decorative

Separators are announced by screen readers (role="separator" with aria-orientation). Pass decorative: true for a purely visual line (role="none").

As <hr>

as: :hr renders the native separator element. Its separator role is implicit, so no role attribute is added.

Installation

Components

ComponentBuilt usingSource
SeparatorPhlex
SeparatorDocsPhlex