Component recipes

Component recipe · Claude Design source

Splatter Badge for Claude Design

Badge with paint splatter shape and watercolor coloring

Component anatomy

Badge with paint splatter shape and watercolor coloring

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center justify-center",
    "font-serif font-medium",
    "rounded-[40%_60%_50%_50%/50%_40%_60%_50%]",
    "transition-all duration-500 ease-in-out"
  ]
}

Variants and parameters

Rose

bg-[#d4a0a0]/60 text-[#5a3e3e] shadow-[0_4px_16px_rgba(212,160,160,0.25)]

Sky

bg-[#7bb8d4]/50 text-[#2a4a5a] shadow-[0_4px_16px_rgba(123,184,212,0.25)]

Sage

bg-[#8cc5a8]/50 text-[#2a4a3a] shadow-[0_4px_16px_rgba(140,197,168,0.25)]

Size

select · 3 options

Interaction states

{
  "hover": [
    "hover:scale-110",
    "hover:shadow-[0_6px_24px_rgba(212,160,160,0.30)]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe