Divider

Dividers enhance layout clarity by grouping and separating nearby content, helping to establish structure and hierarchy.

Example

Divider Basic Example

Orientation

While aligned horizontally by default, the alignment of the divider can be set using the orientation prop.

Sizing

The thickness of the divider can be set using the size prop.

API reference

Dividers bring clarity to a layout by grouping and dividing content in close proximity.

Returns: Element The rendered divider element.

ParametersTypeDefaultDescription
sizeLiteral['S', 'M', 'L'] |
None
'L'How thick the Divider should be.
orientationLiteral['horizontal', 'vertical']'horizontal'The axis the Divider should align with.