Separator

A horizontal or vertical divider between content.

Orientation

By default a full-width rule between stacked blocks; vertical divides items in a row, at the row's height.

Decorative or functional

By default decorative=true: the separator is presentational. Pass decorative={false} when the divider conveys meaning (e.g. between menu groups), so screen readers announce it.

Examples

Horizontal, between rows
Item one
Item two
Vertical, between inline items
Left
Middle
Right
Functional, between groups
Group A Group B

Screen readers announce this one.