---
title: Separator
description: Visually or semantically separates content.
component: true
radix:
link: https://www.radix-ui.com/docs/primitives/components/separator
api: https://www.radix-ui.com/docs/primitives/components/separator#api-reference
---
## Installation
1. Install the `@radix-ui/react-separator` component from radix-ui:
```bash
npm install @radix-ui/react-separator
```
2. Copy and paste the following code into your project.
This is the `` primitive. You can place it in a file at
`components/ui/separator.tsx`.
## Usage
```tsx
import { Separator } from "@/components/ui/separator"
```
```tsx
```