Component recipes

Component recipe · Claude Design source

Button for Claude Design

Impasto paint-tube button with linear-gradient fill simulating thick paint, layered bottom shadow for dimensional depth, and brushstroke texture background

Component anatomy

Impasto paint-tube button with linear-gradient fill simulating thick paint, layered bottom shadow for dimensional depth, and brushstroke texture background

{
  "element": "button",
  "baseClasses": [
    "font-serif",
    "font-bold",
    "tracking-wide",
    "rounded-lg",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Warm Orange

bg-[#e8a87c] text-[#2c3e50] shadow-[0_4px_0_#c0392b,0_6px_16px_rgba(232,168,124,0.30)]

Deep Blue

bg-[#2c3e50] text-[#f5f0e1] shadow-[0_4px_0_#1abc9c,0_6px_16px_rgba(44,62,80,0.30)]

Vermillion

bg-[#c0392b] text-[#f5f0e1] shadow-[0_4px_0_#2c3e50,0_6px_16px_rgba(192,57,43,0.30)]

Outline

bg-transparent text-[#e8a87c] border-2 border-[#e8a87c]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:brightness-110"
  ],
  "active": [
    "active:translate-y-[2px]"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe