Component recipes

Component recipe · Claude Design source

Input for Claude Design

Clean input with warm background, soft border and natural feel

Component anatomy

Clean input with warm background, soft border and natural feel

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-white",
    "border border-[#d4ccc4]",
    "rounded-lg",
    "text-[#3d3d3d]",
    "placeholder:text-[#a09888]",
    "focus:outline-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Beige

bg-[#f5f0eb] border-[#e0d8cf]

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#5a7a6b]",
    "focus:ring-1 focus:ring-[#5a7a6b]/20"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed bg-[#f5f0eb]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe