Getting Started
Foundations
Components
#Installation
npx @dinachi/cli@latest add separator#Usage
tsx
import { Separator } from "@/components/ui/separator"#Examples
Default Separator
A basic separator with horizontal and vertical usage
Dinachi UI
An accessible component library.
Docs
Source
Blog
Separator Orientations
Separators in horizontal and vertical orientations
Horizontal
Item AItem BItem C
#API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | 'horizontal' | 'vertical' | 'horizontal' | Sets the separator orientation. |
| decorative | boolean | true | Whether the separator is decorative only. |