RRigdesign system
Layout

Divider

Separates areas without adding weight.

Examples

Gradient


Subtle


Anatomy

Divider anatomy
#PartDescriptionPresence
1Line1px gradient or subtleRequired

Specifications

StylesGradient (fades into the background) · Subtle (crisp line)
WidthFill parent

Interaction

Keyboard
KeyResult
NoneNot focusable
Pointer and touch
TriggerResponse
NoneStatic

Accessibility

role · separator

1.3.1Info and Relationships1.4.11Non-text Contrast
Requirements
RequirementHow Rig meets it
Semantics<hr> for a thematic break; a decorative rule can be CSS only
ContrastA divider that carries meaning must reach 3:1
SpacingDo not use it instead of whitespace or headings

Usage

Do and don’t
DoDon’t
Use sparinglyDo not use dividers between every list item if spacing is enough