> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/mui/base-ui/llms.txt
> Use this file to discover all available pages before exploring further.

# Separator

> API reference for the Separator component

# Separator

A separator element accessible to screen readers.

## Import

```tsx theme={null}
import { Separator } from '@base-ui/react/separator';
```

## Props

<ParamField name="className" type="string | ((state: Separator.State) => string)">
  CSS class applied to the element, or a function that returns a class based on the component's state.
</ParamField>

<ParamField name="render" type="ReactElement | ComponentRenderFn">
  Allows you to replace the component's HTML element with a different tag, or compose it with another component.
</ParamField>

<ParamField name="orientation" type="'horizontal' | 'vertical'" default="horizontal">
  The orientation of the separator.
</ParamField>

## State

The separator exposes the following state:

* `orientation`: 'horizontal' | 'vertical' - The orientation of the separator
