Component recipes

Component recipe · Claude Design source

Input for Claude Design

Rounded input with natural warm colors and soft focus glow

Component anatomy

Rounded input with natural warm colors and soft focus glow

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "rounded-xl",
    "border-2 border-[#8B7355]/30",
    "bg-[#faf5eb]",
    "text-[#5a4a3a]",
    "placeholder:text-[#8B7355]/40",
    "focus:outline-none",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

Filled

bg-[#f0e6d3]

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#8B7355]",
    "focus:shadow-[0_0_12px_rgba(139,115,85,0.2)]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed bg-gray-100"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe