Component recipes

Component recipe · Claude Design source

Button for Claude Design

Tech button with neon outline and subtle glow

Component anatomy

Tech button with neon outline and subtle glow

{
  "element": "button",
  "baseClasses": [
    "font-mono uppercase tracking-widest",
    "border transition-all duration-200",
    "focus:outline-none"
  ]
}

Variants and parameters

Primary

text-cyan-300 border-cyan-400/60 bg-cyan-500/10 shadow-[0_0_12px_rgba(34,211,238,0.22)]

Ghost

text-cyan-200 border-cyan-500/30 bg-transparent

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:border-cyan-300 hover:bg-cyan-400/15 hover:shadow-[0_0_20px_rgba(34,211,238,0.3)]"
  ],
  "active": [
    "active:scale-[0.98]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe