Skip to Content
ComponentsDivider

Divider

Divider draws the paired dark/light rule used to separate Windows 98 control groups.

Props

PropTypeDefaultDescription
orientation'horizontal' | 'vertical''horizontal'Chooses the rule direction.
classNamestring-Adds sizing or layout classes.

Examples

Horizontal and vertical rules

General settings
Left pane
Right pane

ARIA

Divider is decorative by default. Add role="separator" yourself when the divider communicates document structure.

Keyboard

Divider is not focusable by default and has no keyboard behavior.

SSR

Divider has no client state and renders stable markup.

Last updated on