Component recipe · Claude Design source
Button for Claude Design
Clean geometric button with retro mid-century feel and subtle shadow
Component anatomy
Clean geometric button with retro mid-century feel and subtle shadow
{
"element": "button",
"baseClasses": [
"font-sans",
"font-semibold",
"tracking-wide",
"uppercase",
"rounded-sm",
"shadow-sm",
"transition-all duration-200"
]
}Variants and parameters
Primary
bg-[#e8572a] text-white
Secondary
bg-[#f5f0e1] text-[#e8572a] border-2 border-[#e8572a]
Teal
bg-[#2a6e5e] text-white
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-md hover:translate-y-[-1px]"
],
"active": [
"active:shadow-none active:translate-y-0"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe