Component recipes

Component recipe · Claude Design source

Chrome Button for Claude Design

Button with metallic chrome gradient and Y2K futuristic sheen

Component anatomy

Button with metallic chrome gradient and Y2K futuristic sheen

{
  "element": "button",
  "baseClasses": [
    "font-bold",
    "rounded-full",
    "border border-white/50",
    "transition-all duration-300"
  ]
}

Variants and parameters

Silver

bg-gradient-to-b from-gray-100 via-white to-gray-300 text-gray-700 shadow-[0_4px_15px_rgba(0,0,0,0.15),inset_0_2px_3px_rgba(255,255,255,0.9)]

Holographic

bg-gradient-to-r from-pink-300 via-cyan-200 to-purple-300 text-gray-800 shadow-[0_4px_20px_rgba(255,105,180,0.3)]

Pink

bg-gradient-to-b from-pink-200 via-pink-100 to-pink-300 text-pink-700 shadow-[0_4px_15px_rgba(255,105,180,0.3)]

Size

select · 3 options

Interaction states

{
  "hover": [
    "hover:scale-105",
    "hover:shadow-[0_6px_25px_rgba(255,105,180,0.5)]"
  ],
  "active": [
    "active:scale-[0.98]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe