Component recipe · Claude Design source
Button for Claude Design
Material Design button with elevation shadow and ripple-like transition
Component anatomy
Material Design button with elevation shadow and ripple-like transition
{
"element": "button",
"baseClasses": [
"font-medium",
"uppercase",
"tracking-wide",
"rounded-full",
"transition-all duration-200"
]
}Variants and parameters
Primary
bg-[#1976d2] text-white shadow-md
Secondary
bg-[#9c27b0] text-white shadow-md
Outline
bg-transparent text-[#1976d2] border border-[#1976d2]
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-lg",
"hover:brightness-110"
],
"active": [
"active:shadow-sm"
],
"disabled": [
"opacity-40 cursor-not-allowed shadow-none"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe