Component recipe · Claude Design source
Button for Claude Design
Bright tropical button with warm colors, rounded corners, and playful shadows
Component anatomy
Bright tropical button with warm colors, rounded corners, and playful shadows
{
"element": "button",
"baseClasses": [
"font-bold",
"tracking-wide",
"rounded-full",
"transition-all duration-300"
]
}Variants and parameters
Primary
bg-[#00897b] text-white shadow-lg shadow-[#00897b]/30
Secondary
bg-[#ff6f61] text-white shadow-lg shadow-[#ff6f61]/30
Sunny
bg-[#ffc107] text-[#1a1a1a] shadow-lg shadow-[#ffc107]/30
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:scale-105",
"hover:shadow-xl"
],
"active": [
"active:scale-[0.97]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe