Component recipes

Component recipe · Claude Design source

Button for Claude Design

Neon gradient button with glow effect and retro-futuristic aesthetics

Component anatomy

Neon gradient button with glow effect and retro-futuristic aesthetics

{
  "element": "button",
  "baseClasses": [
    "font-bold",
    "rounded-lg",
    "transition-all duration-300"
  ]
}

Variants and parameters

Primary

bg-gradient-to-r from-[#ff71ce] to-[#01cdfe] text-white shadow-[0_0_20px_rgba(255,113,206,0.5)]

Secondary

bg-gradient-to-r from-[#01cdfe] to-[#05ffa1] text-black shadow-[0_0_20px_rgba(1,205,254,0.5)]

Outline

bg-transparent text-[#ff71ce] border-2 border-[#ff71ce] shadow-[0_0_10px_rgba(255,113,206,0.3)]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_30px_rgba(255,113,206,0.7)]",
    "hover:scale-105"
  ],
  "active": [
    "active:scale-[0.98]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe