Component recipe · Claude Design source
Button for Claude Design
Signal-blue step button with a visible focus ring
Component anatomy
Signal-blue step button with a visible focus ring
{
"element": "button",
"baseClasses": [
"inline-flex items-center gap-2 font-semibold",
"rounded-md",
"transition-all duration-200 ease-out",
"active:scale-[0.98]",
"focus:outline-none focus-visible:ring-2 focus-visible:ring-[#2F6FED]/50 focus-visible:ring-offset-2 focus-visible:ring-offset-[#0E1116]"
]
}Variants and parameters
Primary
bg-[#2F6FED] text-white hover:bg-[#2560d4]
Alert
bg-[#E8503A] text-white hover:bg-[#d4402c]
Ghost
bg-transparent text-[#F7F5F0]/70 border border-white/10 hover:text-[#F7F5F0] hover:border-white/25
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": []
}Related base style
Fixed-version source · reviewed before publishingNext component recipe