Component recipes

Component recipe · Claude Design source

Button for Claude Design

Sharp uppercase button with signal-orange hover and press scale

Component anatomy

Sharp uppercase button with signal-orange hover and press scale

{
  "element": "button",
  "baseClasses": [
    "uppercase tracking-[0.15em] font-semibold",
    "rounded-none",
    "transition-all duration-500 ease-[cubic-bezier(0.22,1,0.36,1)]",
    "active:scale-[0.98]"
  ]
}

Variants and parameters

Primary

bg-[#FF4D00] text-[#0B0B0C] hover:bg-[#F4F1EB]

Secondary

bg-transparent text-[#F4F1EB] border border-[#F4F1EB]/25 hover:border-[#FF4D00] hover:text-[#FF4D00]

Ghost

bg-transparent text-[#F4F1EB]/60 hover:text-[#F4F1EB]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:-translate-y-0.5"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe