Extend

Separator

Cards

About

A thin visual divider that separates content horizontally or vertically.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Separator to your project and fits it to your theme.

Code

How Separator is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { Separator } from "@/components/ui/separator";
export default function Default() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-8">
      <div className="w-[460px] rounded-xl border bg-card p-8 text-card-foreground shadow-sm">
        <div className="flex items-center justify-between">
          <p className="text-lg font-medium">Page 1</p>
          <p className="text-sm text-muted-foreground">Ready</p>
        </div>
        <Separator className="my-6 h-px bg-border" />
        <div className="flex items-center justify-between">
          <p className="text-lg font-medium">Page 2</p>
          <p className="text-sm text-muted-foreground">Queued</p>
        </div>
      </div>
    </div>
  );
}

Dependencies

More by Extend

View all
  • Bounding Box Citations

    Bounding Box Citations

    54
  • Color Picker

    Color Picker

    16
  • Layout Blocks

    Layout Blocks

    14
  • Autocomplete

    Autocomplete

  • Tooltip

    Tooltip

  • Popover

    Popover

  • Input

    Input

  • Spinner

    Spinner

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198