Component recipes

Component recipe · Claude Design source

Button for Claude Design

Clean minimal button with soft tones, subtle borders, and generous spacing

Component anatomy

Clean minimal button with soft tones, subtle borders, and generous spacing

{
  "element": "button",
  "baseClasses": [
    "font-light",
    "tracking-wide",
    "rounded-full",
    "border",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Primary

bg-[#3d4a5c] text-[#faf9f7] border-[#3d4a5c]

Secondary

bg-transparent text-[#3d4a5c] border-[#3d4a5c]/20

Soft

bg-[#d4a5a5]/20 text-[#3d4a5c] border-[#d4a5a5]/30

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-sm",
    "hover:opacity-80"
  ],
  "active": [
    "active:scale-[0.98]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe