Component recipes

Component recipe · Claude Design source

Button for Claude Design

Frosted button that stays legible over any photograph

Component anatomy

Frosted button that stays legible over any photograph

{
  "element": "button",
  "baseClasses": [
    "inline-flex items-center gap-2",
    "rounded-full",
    "transition-all duration-300 ease-out",
    "active:scale-[0.98]"
  ]
}

Variants and parameters

Frosted

bg-white/12 backdrop-blur-md border border-white/30 text-white hover:bg-white/20 hover:border-white/50

Amber

bg-[#E8B04B] text-[#0C0D10] font-semibold hover:bg-[#f0bd5f]

Ghost

bg-transparent text-white/80 border border-white/20 hover:text-white hover:border-white/40

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": []
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe