Component recipes

Component recipe · Claude Design source

Button for Claude Design

Electric-blue pill CTA and a hairline secondary

Component anatomy

Electric-blue pill CTA and a hairline secondary

{
  "element": "button",
  "baseClasses": [
    "inline-flex items-center gap-1.5",
    "rounded-full font-medium tracking-tight",
    "transition-all duration-300 ease-out",
    "active:scale-[0.98]"
  ]
}

Variants and parameters

Electric Blue

bg-[#2997FF] text-white hover:bg-[#0071E3]

Surface

bg-[#1D1D1F] text-[#F5F5F7] border border-white/10 hover:border-white/25

Text Link

bg-transparent text-[#2997FF] px-0 hover:underline underline-offset-4

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": []
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe