Component recipes

Component recipe · Claude Design source

Button for Claude Design

Neon-glow button with dark background, cyan/magenta accents and sharp edges

Component anatomy

Neon-glow button with dark background, cyan/magenta accents and sharp edges

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

Variants and parameters

Primary

bg-cyan-400 text-black shadow-[0_0_15px_rgba(0,255,255,0.4)]

Secondary

bg-transparent text-cyan-400 border border-cyan-400 shadow-[0_0_10px_rgba(0,255,255,0.3)]

Outline

bg-transparent text-fuchsia-500 border border-fuchsia-500 shadow-[0_0_10px_rgba(255,0,255,0.3)]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_30px_rgba(0,255,255,0.6)]",
    "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