Component recipes

Component recipe · Claude Design source

Input for Claude Design

Angular input with bold constructivist border styling

Component anatomy

Angular input with bold constructivist border styling

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#f2e8d5]",
    "border-3 border-[#1a1a1a]",
    "rounded-none",
    "font-sans",
    "font-bold",
    "text-[#1a1a1a]",
    "placeholder:text-[#1a1a1a]/30",
    "focus:outline-none",
    "transition-all duration-150"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Full Width

boolean

Interaction states

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

Related base style

Fixed-version source · reviewed before publishingNext component recipe