Separator

A separator is a visual divider between two groups of content, e.g. groups of menu items or sections of a page.

orientation 
Example
Separator.tsx
Separator.css
import {Separator} from './Separator';

<Separator />

API

NameTypeDefault
orientationDefault: 'horizontal'
The orientation of the separator.
elementTypestringDefault:
The HTML element type that will be used to render the separator.

Default className: react-aria-Separator