---
title: Separator
description: A separator element accessible to screen readers.
links:
doc: https://base-ui.com/react/components/separator#api-reference
---
## Installation
CLI
Manual
```bash
npx shadcn@latest add @coss/separator
```
Install the following dependencies:
```bash
npm install @base-ui/react
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage
```tsx
import { Separator } from "@/components/ui/separator"
```
```tsx
```
## API Reference
### Separator
Styled wrapper for `Separator` from Base UI. Renders as a horizontal line by default with muted background color.