Component recipes

Component recipe · Claude Design source

Button for Claude Design

Soft rounded button with warm tones and gentle shadow inspired by Studio Ghibli

Component anatomy

Soft rounded button with warm tones and gentle shadow inspired by Studio Ghibli

{
  "element": "button",
  "baseClasses": [
    "font-medium",
    "rounded-2xl",
    "transition-all duration-300"
  ]
}

Variants and parameters

Primary

bg-[#8B7355] text-white shadow-[0_4px_12px_rgba(139,115,85,0.3)]

Secondary

bg-[#B8860B] text-white shadow-[0_4px_12px_rgba(184,134,11,0.3)]

Outline

bg-transparent text-[#8B7355] border-2 border-[#8B7355]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_6px_20px_rgba(139,115,85,0.4)]",
    "hover:brightness-110"
  ],
  "active": [
    "active:scale-[0.97]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe