UI.MD

Separator

A visual divider between content sections.

Installation

$
npx shadcn@latest add https://ui.mattdowney.com/r/separator.json

Usage

import { Separator } from "@/components/ui/separator"

Examples

Default

Above

Below

Vertical

Vertical separators need an explicit height from their container (here a flex h-5 row).

DocsComponentsSettings

API Reference

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Direction of the divider. Vertical separators need an explicit height from their container.