Component recipes

Component recipe · Claude Design source

Input for Claude Design

Deliberately ugly input

Component anatomy

Deliberately ugly input

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-white",
    "border-4 border-black",
    "text-black",
    "placeholder:text-black/40",
    "focus:outline-none",
    "font-mono",
    "font-black",
    "rounded-none",
    "transition-all duration-100"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:bg-[#FFFF00] focus:border-[#FF0000]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe