Preet Suthar

Separator

Navigation 5

About

A separator component for dividing content visually.

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

import { Separator } from "@/components/ui/separator";

export default function DemoOne() {
  return (
    <>
      <div className="space-y-6">
        <div className="text-sm">Content above separator</div>
        <Separator/>
        <div className="flex items-center space-x-4 text-sm">
          <span>Home</span>
          <Separator orientation="vertical" className="h-4" />
          <span>About</span>
          <Separator orientation="vertical" className="h-4" />
          <span>Contact</span>
          <Separator orientation="vertical" className="h-4" />
          <span>Blog</span>
        </div>
      </div>
    </>
  );
}

Dependencies

More by Preet Suthar

View all
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K
  • Shining Text

    Shining Text

    1.5K
  • Magic Text

    Magic Text

    845
  • Toolbar

    Toolbar

    822
  • Hero 2

    Hero 2

    818
  • Typewriter Text

    Typewriter Text

    769
  • AI Chat Input

    AI Chat Input

    734
  • Full Screen Signup

    Full Screen Signup

    731

More in Navigation

View all
  • Sidebar

    Sidebar

    234
  • Tabs

    Tabs

    60
  • Newsletter Signup Footer

    Newsletter Signup Footer

    16
  • Progress Bar Stepper

    Progress Bar Stepper

    36
  • Footer 2

    Footer 2

    201
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    43
  • Navbar

    Navbar

    71
  • Pagination

    Pagination

    86