Component recipes

Component recipe · Claude Design source

Badge for Claude Design

Small label with brutal styling

Component anatomy

Small label with brutal styling

{
  "element": "div",
  "baseClasses": [
    "inline-block",
    "font-black",
    "text-xs md:text-sm",
    "uppercase",
    "tracking-wider",
    "border-2 border-black",
    "rounded-none"
  ]
}

Variants and parameters

Default

bg-black text-white

Accent

bg-[#ccff00] text-black

Outline

bg-transparent text-black

Size

select · 2 options

Related base style

Fixed-version source · reviewed before publishingNext component recipe