Component recipes

Component recipe · Claude Design source

Input for Claude Design

Blueprint-style input with white border and monospace font on blue

Component anatomy

Blueprint-style input with white border and monospace font on blue

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#1e3a5f]/60",
    "border border-white/40",
    "rounded-none",
    "font-mono",
    "text-white",
    "placeholder:text-[#4a90d9]/60",
    "focus:outline-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "focus": [
    "focus:border-white/80",
    "focus:shadow-[0_0_10px_rgba(74,144,217,0.3)]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe