Skip to content

Separator

Visually or semantically separates content.

Base UI Primitives
An open-source UI component library.
BlogDocsSource

Install

Bash
npx @madeui/cli add separator

Usage

TSX
import { Separator } from '@/components/ui/separator';

Vertical

BlogDocsSource

List

Your invoice has been paid2h ago
New comment on your PR4h ago
Weekly digest is ready1d ago

API reference

Built on Base UI Separator. All props are forwarded — see the Base UI Separator API reference.

PropTypeDefaultDescription
orientation'horizontal' | 'vertical''horizontal'Vertical separators stretch to their flex container’s height.
styleStyleXStyles—StyleX styles merged last — always win over the component’s own styles.

Was this page helpful?