Component recipes

Component recipe · Claude Design source

Button for Claude Design

Elegant button with gold accents and geometric border styling

Component anatomy

Elegant button with gold accents and geometric border styling

{
  "element": "button",
  "baseClasses": [
    "font-serif",
    "font-medium",
    "tracking-wide",
    "rounded-lg",
    "border-2 border-[#c9a74e]",
    "transition-all duration-200"
  ]
}

Variants and parameters

Primary

bg-[#1a3a5c] text-[#f5ecd7]

Secondary

bg-[#f5ecd7] text-[#1a3a5c]

Gold

bg-[#c9a74e] text-[#1a3a5c] border-[#1a3a5c]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-md hover:shadow-[#c9a74e]/30"
  ],
  "active": [
    "active:shadow-sm"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe