Separator
Visual divider for separating content sections with horizontal and vertical orientations.
Content above
Content below
01 Examples
Inline Vertical Separator
Settings Card
Account
Manage your profile and preferences
Jane Doe
jane@example.com
02 Customization
Separator with Label
03 Accessibility
ARIA Roles
By default, decorative={true} renders role="none" so screen readers skip the element
entirely. Set decorative={false} to use role="separator" with aria-orientation, announcing it as a meaningful
content boundary.
When to use semantic mode
Use decorative={false} when the separator marks a
thematic shift — e.g. between unrelated content sections. Keep the default for purely visual
spacing between related items.
HTML Semantics
Renders as a <div> rather than <hr> for full ARIA control. The role and aria-orientation attributes are set automatically
based on the decorative and orientation props.
04 API Reference
No matching properties |