Component recipes

Component recipe · Claude Design source

Wow Badge for Claude Design

Comic-style explosion badge with starburst shape

Component anatomy

Comic-style explosion badge with starburst shape

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center justify-center",
    "font-black",
    "uppercase",
    "[clip-path:polygon(50%_0%,61%_18%,79%_2%,74%_22%,97%_18%,83%_35%,100%_50%,83%_65%,97%_82%,74%_78%,79%_98%,61%_82%,50%_100%,39%_82%,21%_98%,26%_78%,3%_82%,17%_65%,0%_50%,17%_35%,3%_18%,26%_22%,21%_2%,39%_18%)]",
    "transition-all duration-150"
  ]
}

Variants and parameters

WOW

bg-[#ffdd00] text-black [filter:drop-shadow(4px_4px_0_#000)]

POW

bg-[#ff3b3b] text-white [filter:drop-shadow(4px_4px_0_#000)]

BAM

bg-[#ff69b4] text-white [filter:drop-shadow(4px_4px_0_#000)]

Size

select · 3 options

Interaction states

{
  "hover": [
    "hover:[filter:drop-shadow(6px_6px_0_#000)]",
    "hover:scale-110"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe