LN

Label Badges

Cards 54

About

Here is modern Label Badges component

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

Code

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

Usage.tsx

// demo.tsx
'use client';

import { BookOpen, Bug, Sparkles } from 'lucide-react';
import LabelBadge, { labels } from '@/components/ui/label-badges';

const LabelBadgeDemo = () => {
   return (
      <div className="flex w-full flex-col items-center justify-center gap-10 p-4">
         <div className="flex flex-col items-center gap-2 text-center">
            <h2 className="text-lg font-semibold">Label Badges</h2>
            <p className="text-sm text-muted-foreground">
               Demonstrating how labels can be displayed on items.
            </p>
         </div>

         <div className="w-full max-w-md space-y-4">
            <div className="flex flex-col gap-3 rounded-lg border bg-card p-4 text-card-foreground">
               <div className="flex items-start justify-between">
                  <p className="font-medium">Fix authentication flow redirect</p>
                  <Bug className="size-5 shrink-0 text-red-500" />
               </div>
               <LabelBadge labels={[labels[1], labels[7]]} />
            </div>

            <div className="flex flex-col gap-3 rounded-lg border bg-card p-4 text-card-foreground">
               <div className="flex items-start justify-between">
                  <p className="font-medium">Implement new dashboard design</p>
                  <Sparkles className="size-5 shrink-0 text-blue-500" />
               </div>
               <LabelBadge labels={[labels[2], labels[0], labels[6]]} />
            </div>

            <div className="flex flex-col gap-3 rounded-lg border bg-card p-4 text-card-foreground">
               <div className="flex items-start justify-between">
                  <p className="font-medium">Update contribution guidelines</p>
                  <BookOpen className="size-5 shrink-0 text-green-500" />
               </div>
               <LabelBadge labels={[labels[3]]} />
            </div>
         </div>
      </div>
   );
};

export { LabelBadgeDemo as DemoOne };

More by LN

View all
  • Pricing Interaction

    Pricing Interaction

    1.4K
  • Dorpdown Navigation

    Dorpdown Navigation

    1.2K
  • Visualize Booking

    Visualize Booking

    618
  • Assisted Password Confirmation

    Assisted Password Confirmation

    585
  • Tags Selector

    Tags Selector

    531
  • Mega Menu

    Mega Menu

    386
  • Feedback Slider

    Feedback Slider

    326
  • FlipButton

    FlipButton

    288

More in Cards

View all
  • Statistics Card 2

    Statistics Card 2

    264
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Stats cards with links

    Stats cards with links

    39
  • The Item one

    The Item one

    3
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    292
  • Item

    Item

    10