Separator
Visually or semantically separates content.
Installation
›pnpm dlx shadcn@latest add @evolphin/separator
Usage
import { Separator } from "@/components/ui/separator";<Separator />Type Definitions
interface SeparatorProps {
/** The orientation of the separator */
orientation?: "horizontal" | "vertical"; /** Whether the separator is purely decorative */
?: boolean;
}Examples
Default
Radix Primitives
An open-source UI component library.
Blog
Docs
Source
API Reference
Separator
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | `"horizontal" \ | "vertical"` | "horizontal" |
decorative | boolean | true | Whether the separator is purely decorative. |
className | string | - | Additional CSS classes |