Components
Separator
Visual rule dividing content sections, horizontally or vertically.
Renders a Base UI Separator (role="separator"). Pass aria-hidden when
the rule is purely decorative and should stay out of the accessibility tree.
Usage
Best practices
It is announced as a separator by default - pass
aria-hiddenwhen the rule is purely decorative.For an inline rule set
orientation="vertical"and give it an explicit height (e.g.className="h-6") - a vertical separator has no intrinsic length.
Props
Also exports
- type
SeparatorVariant