Component recipes

Component recipe · Claude Design source

Pill Badge for Claude Design

Capsule-shaped liquid glass badge with inner shadow highlight

Component anatomy

Capsule-shaped liquid glass badge with inner shadow highlight

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center gap-1.5",
    "bg-white/20",
    "backdrop-blur-xl backdrop-saturate-150",
    "rounded-full",
    "border border-white/30",
    "ring-1 ring-inset ring-white/20",
    "shadow-[inset_0_1px_1px_rgba(255,255,255,0.3)]",
    "text-white"
  ]
}

Variants and parameters

Default

Success

bg-[#34C759]/25 border-[#34C759]/40

Warning

bg-[#FF9500]/25 border-[#FF9500]/40

Error

bg-[#FF2D55]/25 border-[#FF2D55]/40

Size

select · 2 options

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe