Component recipes

Component recipe · Claude Design source

Button for Claude Design

Elegant button with gold accents, thin borders, and premium serif typography

Component anatomy

Elegant button with gold accents, thin borders, and premium serif typography

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

Variants and parameters

Primary

bg-[#1a1a1a] text-[#f8f6f3] border-[#c9a96e]

Secondary

bg-transparent text-[#1a1a1a] border-[#c9a96e]

Gold

bg-[#c9a96e] text-[#1a1a1a] border-[#c9a96e]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-[#c9a96e] hover:text-[#1a1a1a]",
    "hover:shadow-md"
  ],
  "active": [
    "active:scale-[0.98]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe