Separator

Horizontal or vertical line to divide content sections.

Example

Content above

Content below

Props

NameTypeDefaultRequiredDescription
orientation'horizontal' | 'vertical''horizontal'NoLine direction
decorativebooleanfalseNoWhen true, hides from screen readers

Accessibility

  • role="separator" with aria-orientation
  • aria-hidden when decorative

Related Tokens

--separator-color--separator-width