Component recipe · Claude Design source
Button for Claude Design
E-commerce CTA button with brand green and clear affordance
Component anatomy
E-commerce CTA button with brand green and clear affordance
{
"element": "button",
"baseClasses": [
"font-medium",
"rounded-lg",
"transition-colors duration-200"
]
}Variants and parameters
Primary
bg-[#008060] text-white
Secondary
bg-white text-[#1a1a1a] border border-[#e3e3e3]
Dark
bg-[#1a1a1a] text-white
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:bg-[#006e52]"
],
"active": [
"active:bg-[#005c45]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe