Component recipe · Claude Design source
Button for Claude Design
Warm dashboard button with soft shadow and rounded corners
Component anatomy
Warm dashboard button with soft shadow and rounded corners
{
"element": "button",
"baseClasses": [
"font-medium",
"rounded-xl",
"shadow-lg",
"transition-all duration-200"
]
}Variants and parameters
Primary
bg-[#4a9d9a] text-white shadow-lg shadow-[#4a9d9a]/25
Secondary
bg-white text-gray-700 shadow-lg shadow-black/5
Coral
bg-[#c17767] text-white shadow-lg shadow-[#c17767]/25
Gold
bg-[#e8b86d] text-gray-800 shadow-lg shadow-[#e8b86d]/25
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-xl",
"hover:-translate-y-0.5"
],
"active": [
"active:scale-[0.98]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe