Component recipe · Claude Design source
Button for Claude Design
CTA-focused button with gradient shadow for Z-pattern conversion points
Component anatomy
CTA-focused button with gradient shadow for Z-pattern conversion points
{
"element": "button",
"baseClasses": [
"font-semibold",
"rounded-xl",
"transition-all duration-300"
]
}Variants and parameters
Primary
bg-[#6366f1] text-white shadow-lg shadow-[#6366f1]/25
Secondary
bg-[#0f172a] text-white
Outline
bg-transparent text-[#0f172a] border border-gray-200
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-xl hover:shadow-[#6366f1]/30",
"hover:-translate-y-0.5"
],
"active": [
"active:scale-[0.98]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe