About
A horizontal or vertical separator line for splitting content into sections, with optional centered label text and dashed or strong style variants.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Divider to your project and fits it to your theme.
Code
How Divider is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Divider from "@/components/ui/divider";
export default function DividerVerticalDemo() {
return (
<div className="flex h-10 w-full max-w-md items-center justify-center gap-3 rounded-2xl border border-white/10 bg-[#0b1220] px-6">
<span className="text-sm text-white/80">Undo</span>
<span className="text-sm text-white/80">Redo</span>
<Divider orientation="vertical" />
<span className="text-sm text-white/80">Bold</span>
<span className="text-sm text-white/80">Italic</span>
<Divider orientation="vertical" />
<span className="text-sm text-white/80">Auto-saved</span>
</div>
);
}







