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.6K
  • Magic Text

    Magic Text

    849
  • Toolbar

    Toolbar

    830
  • Hero 2

    Hero 2

    820
  • Typewriter Text

    Typewriter Text

    778
  • AI Chat Input

    AI Chat Input

    743
  • Full Screen Signup

    Full Screen Signup

    743

More in Navigation

View all
  • Sidebar

    Sidebar

    264
  • Tabs

    Tabs

    15
  • Pagination

    Pagination

    108
  • Sidebar

    Sidebar

    343
  • Footer

    Footer

    447
  • Breadrcrumb

    Breadrcrumb

    23
  • Pagination

    Pagination

    91
  • Pagination with Arrows

    Pagination with Arrows

    5