---
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
source:
shadcn: true
---
## Installation
CLI
Manual
```bash
npx shadcn-ui@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
import { Separator } from '@/components/ui/separator'
```
```tsx
```