Skip to content

Separator

Handwritten UI

A hand-drawn component library for React.

Blog
Docs
Source
Terminal window
npx skeci-ui add separator
import { Separator } from '@/components/ui/separator';
<div className="space-y-1">
<h4 className="text-sm font-bold">Skeci UI</h4>
<p className="text-sm">A hand-drawn component library.</p>
</div>
<Separator className="my-4" />
<div className="flex h-5 items-center space-x-4">
<div>Blog</div>
<Separator orientation="vertical" />
<div>Docs</div>
</div>

Custom Colors & Thickness

PropTypeDefaultDescription
orientation'horizontal' | 'vertical''horizontal'The orientation of the separator.
decorativebooleantrueWhether the component is purely decorative (aria-hidden).
thicknessnumber1.5The thickness of the line.
colorstring'#cccccc'The color of the line.