Component recipes

Component recipe · Claude Design source

Input for Claude Design

Minimalist input with bottom border and natural tones

Component anatomy

Minimalist input with bottom border and natural tones

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-transparent",
    "border-b border-[#c4bba8]",
    "text-[#4a5548]",
    "placeholder:text-[#7a7062]/50",
    "focus:outline-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Interaction states

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

Related base style

Fixed-version source · reviewed before publishingNext component recipe