Component recipes

Component recipe · Claude Design source

Button for Claude Design

Bold full-viewport button with large sizing for immersive scroll sections

Component anatomy

Bold full-viewport button with large sizing for immersive scroll sections

{
  "element": "button",
  "baseClasses": [
    "font-semibold",
    "transition-colors 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/30

Size

select · 3 options

Full Width

boolean

Interaction states

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

Related base style

Fixed-version source · reviewed before publishingNext component recipe