Component recipes

Component recipe · Claude Design source

Input for Claude Design

Bold maximalist input with thick borders, neon focus glow, and dramatic styling

Component anatomy

Bold maximalist input with thick borders, neon focus glow, and dramatic styling

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "rounded-xl",
    "border-3 border-[#ffbe0b]/40",
    "bg-[#1a0a2e]",
    "text-[#ffbe0b]",
    "placeholder:text-[#8338ec]/50",
    "font-bold",
    "tracking-wider",
    "focus:outline-none",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Neon

border-[#3a86ff]/50 text-[#3a86ff] placeholder:text-[#3a86ff]/30

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "focus": [
    "focus:border-[#ffbe0b]",
    "focus:shadow-[0_0_20px_rgba(255,190,11,0.35)]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe