Component recipe · Claude Design source
Button for Claude Design
Clean professional button with subtle borders, system fonts, and GitHub-like styling
Component anatomy
Clean professional button with subtle borders, system fonts, and GitHub-like styling
{
"element": "button",
"baseClasses": [
"font-medium",
"leading-5",
"rounded-md",
"border",
"transition-all duration-150"
]
}Variants and parameters
Primary
bg-[#1f883d] text-white border-[#1f883d]
Secondary
bg-[#f6f8fa] text-[#24292f] border-[#d0d7de]
Danger
bg-[#cf222e] text-white border-[#cf222e]
Outline
bg-transparent text-[#0969da] border-[#d0d7de]
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:brightness-95",
"hover:shadow-[0_1px_0_rgba(27,31,36,0.04)]"
],
"active": [
"active:shadow-inner"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe