Component recipe · Claude Design source
Button for Claude Design
Imperfect, organic button with muted earth tones and subtle asymmetry
Component anatomy
Imperfect, organic button with muted earth tones and subtle asymmetry
{
"element": "button",
"baseClasses": [
"font-serif",
"font-normal",
"tracking-wide",
"rounded-[12px_8px_14px_6px]",
"transition-all duration-300"
]
}Variants and parameters
Primary
bg-[#8a9a7b] text-white
Secondary
bg-[#f7f3ec] text-[#3a3a3a] border border-[#d6cfc5]
Earth
bg-[#b8a99a] text-white
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:opacity-85",
"hover:shadow-sm"
],
"active": [
"active:scale-[0.98]"
],
"disabled": [
"opacity-30 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe