Component recipes

Component recipe · Claude Design source

Button for Claude Design

Large dramatic button for fullscreen hero call-to-action

Component anatomy

Large dramatic button for fullscreen hero call-to-action

{
  "element": "button",
  "baseClasses": [
    "font-semibold",
    "rounded-full",
    "transition-all duration-200"
  ]
}

Variants and parameters

Primary

bg-white text-black

Secondary

bg-transparent text-white border-2 border-white

Outline

bg-transparent text-white/80 border border-white/40

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-white/90",
    "hover:shadow-lg"
  ],
  "active": [
    "active:scale-[0.98]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe