Component recipes

Component recipe · Claude Design source

Button for Claude Design

Retro VHS tape button with scan line feel, monospace font and glitch accents

Component anatomy

Retro VHS tape button with scan line feel, monospace font and glitch accents

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

Variants and parameters

Primary

bg-[#ff00ff] text-black border-[#ff00ff] shadow-[2px_2px_0px_0px_#00ffff]

Secondary

bg-transparent text-[#00ffff] border-[#00ffff] shadow-[2px_2px_0px_0px_#ff00ff]

Ghost

bg-transparent text-white/70 border-white/30

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[4px_4px_0px_0px_#00ffff,-2px_-2px_0px_0px_#ff00ff]",
    "hover:text-white"
  ],
  "active": [
    "active:translate-x-[2px] active:translate-y-[2px] active:shadow-none"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe