Component recipes

Component recipe · Claude Design source

Button for Claude Design

Bold coral action button with heavy weight, hover scale and shadow lift — the signature CTA of a creative agency site

Component anatomy

Bold coral action button with heavy weight, hover scale and shadow lift — the signature CTA of a creative agency site

{
  "element": "button",
  "baseClasses": [
    "font-bold",
    "rounded-none",
    "transition-all duration-300"
  ]
}

Variants and parameters

Primary

bg-[#FF6B6B] text-white

Secondary

bg-transparent text-white border-2 border-white/30

Outline

bg-transparent text-[#1A1A1A] border-2 border-[#1A1A1A]/20

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-[#E55A5A]",
    "hover:shadow-xl",
    "hover:-translate-y-0.5"
  ],
  "active": [
    "active:scale-[0.98]"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed hover:translate-y-0 hover:shadow-none"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe