Component recipes

Component recipe · Claude Design source

Input for Claude Design

Dark neon input with glowing focus state and monospace font

Component anatomy

Dark neon input with glowing focus state and monospace font

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-gray-950",
    "border border-cyan-400/30",
    "rounded-lg",
    "font-mono",
    "text-cyan-400",
    "placeholder:text-gray-500",
    "focus:outline-none",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

Magenta

border-fuchsia-500/30 text-fuchsia-400 placeholder:text-fuchsia-400/40

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-cyan-400",
    "focus:shadow-[0_0_15px_rgba(0,255,255,0.3)]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed bg-gray-900"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe