Component recipes

Component recipe · Claude Design source

Button for Claude Design

Futuristic Y2K button with metallic sheen and rounded-full shape

Component anatomy

Futuristic Y2K button with metallic sheen and rounded-full shape

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

Variants and parameters

Primary

bg-gradient-to-r from-pink-400 via-purple-400 to-cyan-400 text-white shadow-[0_4px_20px_rgba(255,105,180,0.4)]

Secondary

bg-gradient-to-b from-gray-200 via-white to-gray-300 text-gray-700 shadow-[0_4px_15px_rgba(0,0,0,0.1),inset_0_2px_3px_rgba(255,255,255,0.8)]

Outline

bg-transparent text-pink-400 border-2 border-pink-400

Size

select · 3 options

Full Width

boolean

Interaction states

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

Related base style

Fixed-version source · reviewed before publishingNext component recipe