Component recipes

Component recipe · Claude Design source

Button for Claude Design

Tech HUD button with cyan glow and monospace text

Component anatomy

Tech HUD button with cyan glow and monospace text

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

Variants and parameters

Primary

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

Ghost

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

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-cyan-500/20 hover:border-cyan-400/60"
  ],
  "active": [
    "active:scale-[0.98]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe