Component recipes

Component recipe · Claude Design source

Input for Claude Design

Dark command input with cyan focus state

Component anatomy

Dark command input with cyan focus state

{
  "element": "input",
  "baseClasses": [
    "w-full bg-[#020617]/90 border border-cyan-500/35",
    "text-cyan-100 placeholder:text-cyan-400/45",
    "rounded-md focus:outline-none transition-all duration-200"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-cyan-300 focus:shadow-[0_0_12px_rgba(34,211,238,0.25)]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe