Skip to main content
  1. Docs
  2. Components
  3. Layout

Separator

A 1px line between groups of content, horizontal or vertical; decorative when it only draws.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<div role="separator">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Behaviour

Role
separator, with aria-orientation when vertical; decorative is role="none".
Forced colours
The line is drawn in CanvasText.

02

Tested

On every change, before it ships.

  • axe, WCAG 2.2 A and AA, in Chromium on every pull request
  • Firefox and WebKit every night
  • Right to left: logical properties, start and end
  • Every window size class: 600, 840, 1200 and 1600px
Next — SeparatorChangelog