Component recipe · Claude Design source
Button for Claude Design
Warm earthy button with rounded corners and soft shadows
Component anatomy
Warm earthy button with rounded corners and soft shadows
{
"element": "button",
"baseClasses": [
"font-sans",
"font-medium",
"rounded-xl",
"shadow-md",
"transition-all duration-200"
]
}Variants and parameters
Primary
bg-[#b5654a] text-white
Secondary
bg-[#faf5ef] text-[#b5654a] border border-[#b5654a]
Accent
bg-[#d4a373] text-white
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-lg hover:brightness-105"
],
"active": [
"active:shadow-sm active:brightness-95"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe