Component recipes

Component recipe · Claude Design source

Input for Claude Design

Organic input with warm background, green focus glow and nature-inspired styling

Component anatomy

Organic input with warm background, green focus glow and nature-inspired styling

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-white/80",
    "backdrop-blur-sm",
    "border border-green-200",
    "rounded-2xl",
    "text-gray-800",
    "placeholder:text-green-300",
    "focus:outline-none",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

Golden

border-amber-200 text-amber-800 placeholder:text-amber-300

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-green-400",
    "focus:shadow-lg focus:shadow-green-200/40"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed bg-gray-100"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe