Component recipe · Claude Design source
Button for Claude Design
Clean pill-shaped button with Apple-inspired minimal design
Component anatomy
Clean pill-shaped button with Apple-inspired minimal design
{
"element": "button",
"baseClasses": [
"font-medium",
"tracking-tight",
"rounded-full",
"transition-all duration-300"
]
}Variants and parameters
Primary
bg-[#0071e3] text-white
Secondary
bg-[#f5f5f7] text-[#1d1d1f]
Link
bg-transparent text-[#0071e3]
Outline
bg-transparent text-[#0071e3] border border-[#0071e3]
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:opacity-85"
],
"active": [
"active:scale-[0.98]"
],
"disabled": [
"opacity-40 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe