Component recipes

Component recipe · Claude Design source

Input for Claude Design

Neon-glow input with translucent background and glowing focus

Component anatomy

Neon-glow input with translucent background and glowing focus

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-white/5",
    "backdrop-blur-sm",
    "rounded-lg",
    "border border-[#ff71ce]/30",
    "text-white",
    "placeholder:text-white/40",
    "focus:outline-none",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

Filled

bg-[#2d1b69]/40

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#ff71ce]",
    "focus:shadow-[0_0_15px_rgba(255,113,206,0.4)]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe