Component recipes

Component recipe · Claude Design source

Input for Claude Design

Subtle input with organic feel, muted tones and imperfect warmth

Component anatomy

Subtle input with organic feel, muted tones and imperfect warmth

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#f7f3ec]",
    "border border-[#d6cfc5]",
    "rounded-[10px_8px_12px_6px]",
    "font-serif",
    "text-[#3a3a3a]",
    "placeholder:text-[#b0a696]",
    "focus:outline-none",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

Earth

bg-[#efe8dd] border-[#c9bfb0]

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#8a9a7b]",
    "focus:ring-1 focus:ring-[#8a9a7b]/15"
  ],
  "disabled": [
    "opacity-30 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe