Separator

A separator element accessible to screen readers.

API reference

Import the component and use it as a single part:

Anatomy
import { Separator } from '@base-ui-components/react/separator';

<Separator />
PropTypeDefault
orientation

'horizontal' | 'vertical'

'horizontal'

className

string | (state) => string

undefined

render

| React.ReactElement
| (props, state) => React.ReactElement

undefined