Surfaces
Separator
A minimalist divider used to create visual distinction between content sections, improving readability and organization. It supports horizontal orientations.
Basic
Sometimes you need a separator to separate content. This component is a simple wrapper around the Separator component from react-aria-components. It's a breeze to use.
Installation
Install the component via the CLI in one command.
npm
pnpm
yarn
bun
npx shadcn@latest add @intentui/separator
Manual installation
Use this approach if you prefer to install and wire up the component yourself instead of using the CLI.
npm
pnpm
yarn
bun
npm install react-aria-components
Anatomy
import { Separator } from "@/components/ui/separator"
<Separator orientation='vertical | horizontal' />Orientation
Separator has two orientations: horizontal and vertical. The default is horizontal.
Design Intent UI
Build modern web apps faster with 1000+ resources across components, blocks, patterns, templates, and starter kits.