Component recipe · Claude Design source
Gold Accent Badge for Claude Design
Badge with gold accent and geometric Art Deco shape
Component anatomy
Badge with gold accent and geometric Art Deco shape
{
"element": "div",
"baseClasses": [
"inline-flex items-center justify-center",
"font-serif",
"uppercase",
"tracking-[0.2em]",
"border border-[#D4AF37]",
"bg-gray-900",
"text-[#D4AF37]",
"transition-all duration-300",
"[clip-path:polygon(30%_0%,70%_0%,100%_30%,100%_70%,70%_100%,30%_100%,0%_70%,0%_30%)]",
"bg-[repeating-linear-gradient(0deg,transparent,transparent_3px,rgba(212,175,55,0.1)_3px,rgba(212,175,55,0.1)_4px)]"
]
}Variants and parameters
Gold
border-[#D4AF37] text-[#D4AF37] shadow-[0_0_10px_rgba(212,175,55,0.2)]
Silver
border-[#C0C0C0] text-[#C0C0C0] shadow-[0_0_10px_rgba(192,192,192,0.2)]
Bronze
border-[#CD7F32] text-[#CD7F32] shadow-[0_0_10px_rgba(205,127,50,0.2)]
Size
select · 3 options
Interaction states
{
"hover": [
"hover:shadow-[0_0_20px_rgba(212,175,55,0.4)]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe