Component recipes

Component recipe · Claude Design source

Button for Claude Design

Retro arcade button with green CRT glow

Component anatomy

Retro arcade button with green CRT glow

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

Variants and parameters

Primary

bg-[#39ff14] text-black border-[#39ff14] shadow-[0_0_10px_rgba(57,255,20,0.4)]

Secondary

bg-transparent text-[#39ff14] border-[#39ff14]/60

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_20px_rgba(57,255,20,0.6)]"
  ],
  "active": [
    "active:scale-[0.97]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe