---
title: Separator
description: Visually or semantically separates content.
component: true
links:
doc: https://www.radix-ui.com/docs/primitives/components/separator
api: https://www.radix-ui.com/docs/primitives/components/separator#api-reference
---
## Installation
CLI
Manual
```bash
npx shadcn@latest add separator
```
Install the following dependencies:
```bash
npm install @radix-ui/react-separator
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage
```tsx showLineNumbers
import { Separator } from "@/components/ui/separator"
```
```tsx showLineNumbers
```