Component recipes

Component recipe · Claude Design source

Button for Claude Design

Glossy Aero button with gradient and blur

Component anatomy

Glossy Aero button with gradient and blur

{
  "element": "button",
  "baseClasses": [
    "font-sans",
    "font-medium",
    "rounded-2xl",
    "backdrop-blur-sm",
    "transition-all duration-200"
  ]
}

Variants and parameters

Primary

bg-gradient-to-b from-white/90 to-white/60 text-sky-700 shadow-md

Sky

bg-gradient-to-b from-sky-400 to-sky-500 text-white shadow-md

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-lg hover:brightness-105"
  ],
  "active": [
    "active:scale-[0.98]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe