Component recipes

Component recipe · Claude Design source

Input for Claude Design

VHS-style input with monospace font, retro glow and scan line feel

Component anatomy

VHS-style input with monospace font, retro glow and scan line feel

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-black",
    "border border-white/20",
    "rounded-sm",
    "font-mono",
    "text-white",
    "placeholder:text-white/30",
    "focus:outline-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Magenta

border-[#ff00ff]/40 text-[#ff00ff] placeholder:text-[#ff00ff]/30

Cyan

border-[#00ffff]/40 text-[#00ffff] placeholder:text-[#00ffff]/30

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#ff00ff]",
    "focus:shadow-[0_0_10px_rgba(255,0,255,0.3)]"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe