Fluixi UI
GitHub ↗

Examples

Loading preview…

separator

Accessible horizontal or vertical separator.


A headless separator (rule) following the WAI-ARIA separator pattern.

import { Separator } from '@fluixi/separator';

<Separator />
<Separator orientation="vertical" />
<Separator decorative />
  • orientationhorizontal (default) or vertical; sets data-orientation and, when meaningful, aria-orientation.
  • decorative — removes the element from the accessibility tree (role="none").

All other props (including class and style) are forwarded to the underlying element.


Part of the Fluixi UI component library. Made with ☕ by the Fluixi team.