Line

A divider line component for visually separating content. Supports horizontal and vertical orientations.

Overview

direction
horizontal · vertical

All options

Horizontal

Default orientation for separating stacked content.

Content above

Content below

Vertical

Use vertical orientation for separating side-by-side content.

Left

Right

Props

PropTypeRequiredDescription
direction'horizontal' | 'vertical'No—
classNamestringNo—