Component recipes

Component recipe · Claude Design source

Gear Badge for Claude Design

Badge with gear/cog border decoration and metallic finish

Component anatomy

Badge with gear/cog border decoration and metallic finish

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center justify-center",
    "rounded-full",
    "border-2",
    "font-serif",
    "outline outline-2 outline-offset-3 outline-current/25",
    "transition-all duration-300"
  ]
}

Variants and parameters

Brass

bg-gradient-to-b from-[#b5a642] to-[#8a7d32] text-[#2a1f15] border-[#d4c85c] shadow-[0_0_10px_rgba(181,166,66,0.3)]

Copper

bg-gradient-to-b from-[#b87333] to-[#8a5522] text-[#f5f0e1] border-[#d4944a] shadow-[0_0_10px_rgba(184,115,51,0.3)]

Iron

bg-gradient-to-b from-[#5a5a5a] to-[#3a3a3a] text-[#f5f0e1] border-[#6a6a6a] shadow-[0_0_10px_rgba(0,0,0,0.3)]

Size

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_20px_rgba(181,166,66,0.5)]",
    "hover:scale-110"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe