Component recipes

Component recipe · Claude Design source

Input for Claude Design

Neon-glow input on dark surface with outrun retrowave color scheme

Component anatomy

Neon-glow input on dark surface with outrun retrowave color scheme

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "rounded-lg",
    "border border-[#a020f0]/50",
    "bg-[#0a0a0a]/60",
    "text-[#00d4ff]",
    "placeholder:text-[#a020f0]/50",
    "focus:outline-none",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Neon

border-[#ff006e]/50 text-[#ff006e] placeholder:text-[#ff006e]/40

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#00d4ff]",
    "focus:shadow-[0_0_20px_rgba(0,212,255,0.6)]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe