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 DividerDemo() {
return (
<div className="flex w-full max-w-md flex-col gap-8 rounded-2xl border border-white/10 bg-[#0b1220] p-8">
<Divider />
<Divider variant="dashed" />
<Divider variant="strong" />
</div>
);
}







