Separator
Divide content regions with an oriented semantic line.
Use Separator to divide related regions with a visible line. Choose its orientation to match the layout boundary.
Basic usage#
Playground#
Section Header
Content Section
Props
Slots
Anatomy#
Usage#
Root styling#
Separator has one <div> root. Use direct class and style props for a local override, or configure separator.base.root in your Theme for application defaults. It does not accept instance classes or styles maps.
Semantic orientation#
Every Separator exposes role="separator", aria-orientation, and data-orientation. Choose horizontal or vertical orientation to match the surrounding layout.
Attributes#
Attributes
data-orientationSlot: separatorDescription: Stores the rendered orientation (horizontal or vertical).Props#
Props for the Separator component. Renders a <div> element by default.
Prop