GitHub

Divider

Visual separator in horizontal or vertical orientation.

<rhx-divider>

Examples

Horizontal

Content above the divider.


Content below the divider.

Vertical

Left Right

Properties

Property Type Default Description
rhx-vertical bool false Renders a vertical divider instead of horizontal

Accessibility

  • Renders with role="separator" to indicate a thematic break to assistive technology.
  • Horizontal dividers set aria-orientation="horizontal" (the default).
  • Vertical dividers set aria-orientation="vertical" to communicate the orientation.