Component recipes

Component recipe · Claude Design source

Button for Claude Design

Bold button with warm earth tones, strong borders, and textile-inspired patterns

Component anatomy

Bold button with warm earth tones, strong borders, and textile-inspired patterns

{
  "element": "button",
  "baseClasses": [
    "font-bold",
    "uppercase",
    "tracking-wider",
    "rounded-none",
    "border-3",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Primary

bg-[#c4501f] text-[#f0c75e] border-[#f0c75e] shadow-md shadow-[#c4501f]/30

Secondary

bg-[#2c1810] text-[#f0c75e] border-[#c4501f]

Forest

bg-[#1a5632] text-[#f0c75e] border-[#f0c75e] shadow-md shadow-[#1a5632]/30

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-lg",
    "hover:scale-105",
    "hover:brightness-110"
  ],
  "active": [
    "active:scale-95"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe