eugenioenko

Divider

Component

About

A thin horizontal or vertical separator line used to visually split content inside a stack or inline layout.

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-sm flex-col gap-3 text-sm text-foreground">
      <p>Above</p>
      <Divider />
      <p>Below</p>
    </div>
  );
}

More by eugenioenko

View all
  • Dialog

    Dialog

  • Drawer

    Drawer

  • Link

    Link