--- title: Separator description: Visually or semantically separates content. base: aria component: true links: doc: https://react-aria.adobe.com/Separator api: https://react-aria.adobe.com/Separator#api --- ## Installation Command Manual ```bash npx shadcn@latest add separator ``` Install the following dependencies: ```bash npm install react-aria-components ``` 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 ``` ## Vertical Use `orientation="vertical"` for a vertical separator. ## Menu Vertical separators between menu items with descriptions. ## List Horizontal separators between list items. ## RTL To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl). ## API Reference See the [React Aria Separator](https://react-aria.adobe.com/Separator#api) documentation.