Component recipes

Component recipe · Claude Design source

Input for Claude Design

Dark street-style input with neon underline focus and bold placeholder

Component anatomy

Dark street-style input with neon underline focus and bold placeholder

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#1c1c1e]",
    "border-2 border-gray-700",
    "rounded-none",
    "font-bold",
    "text-white",
    "placeholder:text-gray-500 placeholder:uppercase placeholder:tracking-wider",
    "focus:outline-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Neon

border-[#00e5ff]/50 text-[#00e5ff]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "focus": [
    "focus:border-[#ff2d55]",
    "focus:shadow-[0_4px_0_#ff2d55]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe