Mahmoud Ilyan

Badge

Component

About

A small label for displaying status, categories, or metadata inline with text or UI elements.

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

Code

How 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";

export default function BadgeDemo() {
  return <Badge>New</Badge>;
}

Dependencies

More by Mahmoud Ilyan

View all
  • Steps

    Steps

    5
  • Radio Card

    Radio Card

    1
  • Switch

    Switch

    1
  • Textarea

    Textarea

  • Tabs

    Tabs

  • Progress

    Progress

  • KPI Card

    KPI Card

  • Checkbox Card

    Checkbox Card