Component recipes

Component recipe · Claude Design source

Badge for Claude Design

Minimal Apple-style pill badge

Component anatomy

Minimal Apple-style pill badge

{
  "element": "div",
  "baseClasses": [
    "inline-block",
    "font-medium",
    "text-xs md:text-sm",
    "rounded-full"
  ]
}

Variants and parameters

Default

bg-[#f5f5f7] text-[#1d1d1f]

Blue

bg-[#0071e3]/10 text-[#0071e3]

Green

bg-[#34c759]/10 text-[#248a3d]

Size

select · 2 options

Related base style

Fixed-version source · reviewed before publishingNext component recipe