Component recipe · Claude Design source
Button for Claude Design
Paper-context action: solid ink, thin ruled outline, or hyperref-blue citation link
Component anatomy
Paper-context action: solid ink, thin ruled outline, or hyperref-blue citation link
{
"element": "button",
"baseClasses": [
"font-serif",
"tracking-tight",
"rounded-none",
"transition-colors duration-200"
]
}Variants and parameters
Primary
bg-[#111111] text-[#FFFFFF] border border-[#111111]
Secondary
bg-transparent text-[#111111] border border-[#111111]
Citation
bg-transparent text-[#0B5394] border border-transparent underline-offset-2
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:bg-[#F5F5F0]"
],
"active": [
"active:bg-[#D4D4D0]/40"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe