Component recipes

Component recipe · Claude Design source

Button for Claude Design

Victorian brass button with metallic gradients, warm glow and ornate styling

Component anatomy

Victorian brass button with metallic gradients, warm glow and ornate styling

{
  "element": "button",
  "baseClasses": [
    "font-serif",
    "font-bold",
    "uppercase",
    "tracking-wider",
    "rounded",
    "transition-all duration-300"
  ]
}

Variants and parameters

Primary

bg-gradient-to-b from-[#b5a642] to-[#8a7d32] text-[#2a1f15] border border-[#d4c85c] shadow-[0_0_12px_rgba(181,166,66,0.3),inset_0_1px_0_rgba(255,255,255,0.2)]

Secondary

bg-transparent text-[#b87333] border-2 border-[#b87333] shadow-[0_0_10px_rgba(184,115,51,0.2)]

Outline

bg-gradient-to-b from-[#5a5a5a] to-[#3a3a3a] text-[#f5f0e1] border border-[#6a6a6a] shadow-[inset_0_1px_0_rgba(255,255,255,0.1),0_2px_4px_rgba(0,0,0,0.3)]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_20px_rgba(181,166,66,0.5)]",
    "hover:scale-105"
  ],
  "active": [
    "active:scale-[0.98]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe