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 />
Prop | Type | Default | |
---|---|---|---|
className | string | (state) => string | undefined | |
render | | React.ReactElement | undefined |