Component recipes

Component recipe · Claude Design source

Input for Claude Design

High contrast input with bold black/white optical styling

Component anatomy

High contrast input with bold black/white optical styling

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#ffffff]",
    "border-4 border-[#000000]",
    "rounded-none",
    "font-sans",
    "font-bold",
    "text-[#000000]",
    "placeholder:text-[#000000]/30",
    "focus:outline-none",
    "transition-all duration-100"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "focus": [
    "focus:border-[#ff3300] focus:shadow-[4px_4px_0_#ff3300]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe