Component recipes

Component recipe · Claude Design source

Button for Claude Design

Fluorescent button with hard offset shadow and terminal-style mono type

Component anatomy

Fluorescent button with hard offset shadow and terminal-style mono type

{
  "element": "button",
  "baseClasses": [
    "font-mono",
    "font-bold",
    "uppercase",
    "tracking-widest",
    "rounded-none",
    "transition-all duration-150 ease-out"
  ]
}

Variants and parameters

Neon Green

bg-[#39ff14] text-[#0a0a0a] border-2 border-[#39ff14] shadow-[4px_4px_0px_#a020f0]

Electric Purple

bg-[#a020f0] text-[#39ff14] border-2 border-[#a020f0] shadow-[4px_4px_0px_#e6ff00]

Cyber Pink

bg-[#ff6ec7] text-[#0a0a0a] border-2 border-[#ff6ec7] shadow-[4px_4px_0px_#39ff14]

Wireframe

bg-transparent text-[#39ff14] border-2 border-[#39ff14] shadow-[3px_3px_0px_#ff6ec7]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:translate-x-[2px] hover:translate-y-[2px]",
    "hover:shadow-[2px_2px_0px_#a020f0]",
    "hover:brightness-110"
  ],
  "active": [
    "active:translate-x-[4px] active:translate-y-[4px] active:shadow-none"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed grayscale"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe