Component recipes

Component recipe · Claude Design source

Button for Claude Design

Editorial-style button with serif influence and thin borders

Component anatomy

Editorial-style button with serif influence and thin borders

{
  "element": "button",
  "baseClasses": [
    "font-semibold",
    "uppercase tracking-wider",
    "text-xs",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Primary

bg-[#e63946] text-white rounded

Secondary

bg-[#1a1a1a] text-white rounded

Outline

bg-transparent text-[#1a1a1a] border border-zinc-300 rounded

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-[#c1121f]"
  ],
  "active": [
    "active:bg-[#a40e19]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe