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: State) => string)

undefined

render

| ReactElement
| ((props: GenericHTMLProps, state: State) => ReactElement)

undefined