Component recipes

Component recipe · Claude Design source

Soot Sprite Badge for Claude Design

Cute round badge inspired by Ghibli soot sprites

Component anatomy

Cute round badge inspired by Ghibli soot sprites

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center justify-center",
    "rounded-[45%_55%_50%_50%/55%_45%_50%_50%]",
    "border-2 border-dashed border-current/20",
    "shadow-[inset_-3px_-3px_0_rgba(0,0,0,0.1),2px_2px_0_rgba(139,115,85,0.15)]",
    "outline outline-2 outline-offset-2 outline-current/10",
    "transition-all duration-300"
  ]
}

Variants and parameters

Dark

bg-[#3a3a3a] text-white shadow-[0_2px_8px_rgba(0,0,0,0.2)]

Dusty

bg-[#8B7355] text-[#faf5eb] shadow-[0_2px_8px_rgba(139,115,85,0.3)]

Sparkle

bg-[#B8860B] text-white shadow-[0_2px_12px_rgba(184,134,11,0.4)]

Size

select · 3 options

Interaction states

{
  "hover": [
    "hover:scale-110",
    "hover:shadow-[0_4px_16px_rgba(139,115,85,0.3)]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe