Component recipes

Component recipe · Claude Design source

Button for Claude Design

Scholarly button with serif typography, muted earth tones and warm academic aesthetic

Component anatomy

Scholarly button with serif typography, muted earth tones and warm academic aesthetic

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

Variants and parameters

Primary

bg-[#3d2b1f] text-[#f5f0e1] border-[#8b7355]/60 shadow-sm

Secondary

bg-[#2d4a3e] text-[#f5f0e1] border-[#2d4a3e]/60 shadow-sm

Outline

bg-transparent text-[#3d2b1f] border-[#3d2b1f]/40

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-md",
    "hover:border-[#8b7355]"
  ],
  "active": [
    "active:scale-95"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe