Component recipes

Component recipe · Claude Design source

Input for Claude Design

Dark terminal input with cyan focus glow

Component anatomy

Dark terminal input with cyan focus glow

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#020617]/90",
    "border border-cyan-500/35",
    "text-cyan-100",
    "placeholder:text-cyan-400/40",
    "focus:outline-none",
    "font-mono",
    "rounded-md",
    "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