Component recipe · Claude Design source
Button for Claude Design
Professional button with blue primary and clean shadow
Component anatomy
Professional button with blue primary and clean shadow
{
"element": "button",
"baseClasses": [
"font-medium",
"rounded-lg",
"shadow-sm",
"transition-all duration-200"
]
}Variants and parameters
Primary
bg-blue-600 text-white
Secondary
bg-white text-gray-700 border border-gray-300
Outline
bg-transparent text-blue-600 shadow-none
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:bg-blue-700",
"hover:shadow-md"
],
"active": [
"active:scale-[0.98]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe