Component recipes

Component recipe · Claude Design source

Input for Claude Design

Subtle minimal input with thin borders and soft placeholder text

Component anatomy

Subtle minimal input with thin borders and soft placeholder text

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "rounded-xl",
    "border border-[#3d4a5c]/15",
    "bg-[#faf9f7]",
    "text-[#3d4a5c]",
    "placeholder:text-[#3d4a5c]/30",
    "font-light",
    "tracking-wide",
    "focus:outline-none",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Blush

border-[#d4a5a5]/25 placeholder:text-[#d4a5a5]/40

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "focus": [
    "focus:border-[#3d4a5c]/30",
    "focus:shadow-[0_0_8px_rgba(61,74,92,0.08)]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe