Component recipes

Component recipe · Claude Design source

Input for Claude Design

Organic input with rounded-full shape and warm focus colors

Component anatomy

Organic input with rounded-full shape and warm focus colors

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-white",
    "rounded-full",
    "border border-stone-200",
    "text-stone-800",
    "placeholder:text-stone-400",
    "focus:outline-none",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

Cream

bg-[#faf6f1]

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-stone-400",
    "focus:ring-2 focus:ring-stone-200"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed bg-stone-50"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe