ShadcnSpace

Separator With Badge

Component

About

A horizontal divider line with a centered badge label, used to visually separate sections while highlighting a short tag like "New Features".

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

Code

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

Usage.tsx

import { Badge } from "@/components/ui/badge";
import { Separator } from "@/components/ui/separator";
import SeparatorWithBadge from "@/components/ui/separator-07";

export default function SeparatorWithBadgeDemo() {
  return (
    <div className="flex w-full items-center justify-center">
      <SeparatorWithBadge />
    </div>
  );
}

More by ShadcnSpace

View all
  • Integration Card

    Integration Card

    1.9K
  • Stacked Card Carousel

    Stacked Card Carousel

    1.6K
  • Button witn Icon

    Button witn Icon

    1.5K
  • Orbiting Circles with Globe

    Orbiting Circles with Globe

    1.4K
  • Agency Hero Section

    Agency Hero Section

    1K
  • Testimonials Marquee

    Testimonials Marquee

    668
  • Shine Border

    Shine Border

    492
  • Range Select Calendar

    Range Select Calendar

    490

Explore more

Part of ShadcnSpace — browse the full library on 21st.dev.