Component recipe · Claude Design source
Button for Claude Design
Over-the-top bold button with gradients, big shadows, and explosive color combinations
Component anatomy
Over-the-top bold button with gradients, big shadows, and explosive color combinations
{
"element": "button",
"baseClasses": [
"font-extrabold",
"uppercase",
"tracking-widest",
"rounded-xl",
"border-3",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Primary
bg-gradient-to-r from-[#d4145a] to-[#8338ec] text-white border-[#ffbe0b] shadow-xl shadow-[#d4145a]/40
Secondary
bg-gradient-to-r from-[#3a86ff] to-[#8338ec] text-white border-[#ffbe0b] shadow-xl shadow-[#3a86ff]/40
Neon
bg-[#1a0a2e] text-[#ffbe0b] border-[#ffbe0b] shadow-xl shadow-[#ffbe0b]/30
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-2xl",
"hover:scale-110",
"hover:brightness-125",
"hover:-rotate-1"
],
"active": [
"active:scale-95 active:rotate-0"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe