Component recipes

Component recipe · Claude Design source

Input for Claude Design

Raw HTML input with monospace font and hard border

Component anatomy

Raw HTML input with monospace font and hard border

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#ffffff]",
    "border-2 border-[#000000]",
    "rounded-none",
    "font-mono",
    "text-[#000000]",
    "placeholder:text-gray-500",
    "focus:outline-none"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "focus": [
    "focus:border-[#0000ff]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe