kanchanasw

Sketch Badge

Component

About

A compact hand-drawn label with a rough.js sketch border, used to tag status, counts, or short labels.

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

Code

How Sketch 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 (
    <div className="flex items-center gap-3 bg-background p-6 text-foreground">
      <Badge seed={42}>New</Badge>
      <Badge seed={43} variant="accent">
        Accent
      </Badge>
      <Badge seed={44} variant="outline">
        Outline
      </Badge>
    </div>
  );
}

More by kanchanasw

View all
  • Sketch Tabs

    Sketch Tabs

    52
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    40
  • Sketch Textarea

    Sketch Textarea

    21
  • Sketch Button

    Sketch Button

    20
  • Sketch Hover Card

    Sketch Hover Card

    15
  • Pagination

    Pagination

    5
  • Radial Menu

    Radial Menu

    1
  • Hand-Drawn Progress Bar

    Hand-Drawn Progress Bar

    1