Component recipes

Component recipe · Claude Design source

Input for Claude Design

Vintage input with serif font and warm border colors

Component anatomy

Vintage input with serif font and warm border colors

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-transparent",
    "border-2 border-[#8b4513]",
    "text-[#8b4513]",
    "font-serif",
    "placeholder:text-[#8b4513]/40",
    "focus:outline-none",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Default

Filled

bg-[#f5e6d3]

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:bg-[#8b4513]/5",
    "focus:border-[#5c2e0a]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe