Component recipes

Component recipe · Claude Design source

Input for Claude Design

CRT terminal input with green text

Component anatomy

CRT terminal input with green text

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#050505]",
    "border border-[#39ff14]/40",
    "text-[#39ff14]",
    "placeholder:text-[#39ff14]/30",
    "focus:outline-none",
    "font-mono",
    "rounded-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#39ff14] focus:shadow-[0_0_8px_rgba(57,255,20,0.3)]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe