alwkala

Divider

Text

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

More by alwkala

View all
  • Callout

    Callout

    10
  • Progress Bar

    Progress Bar

    2
  • Breadcrumb

    Breadcrumb

    1
  • Navbar

    Navbar

    1
  • Kbd

    Kbd

  • Pagination

    Pagination

  • Back To Top

    Back To Top

  • Checkbox

    Checkbox

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    134
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    9
  • Shimmering Text

    Shimmering Text

  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Text Reveal

    Text Reveal

    31
  • Scroll Fill Headline

    Scroll Fill Headline

    43
  • Shine Border

    Shine Border

    1K
  • Toolbar

    Toolbar

    55