Component recipe · Claude Design source
Button for Claude Design
Warm paper-textured button with soft shadows and rounded corners
Component anatomy
Warm paper-textured button with soft shadows and rounded corners
{
"element": "button",
"baseClasses": [
"font-sans",
"font-semibold",
"rounded-xl",
"border-2 border-dashed",
"transition-all duration-200"
]
}Variants and parameters
Primary
bg-[#e85d75] text-white border-[#d14a62] shadow-[3px_3px_0_rgba(0,0,0,0.1)]
Secondary
bg-[#fdf6ee] text-[#e85d75] border-[#e85d75]/40 shadow-[3px_3px_0_rgba(0,0,0,0.08)]
Teal
bg-[#5cb8a5] text-white border-[#4aa593] shadow-[3px_3px_0_rgba(0,0,0,0.1)]
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-[4px_4px_0_rgba(0,0,0,0.15)]",
"hover:-translate-y-0.5"
],
"active": [
"active:shadow-[1px_1px_0_rgba(0,0,0,0.1)]",
"active:translate-y-0.5"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe