Component recipes

Component recipe · Claude Design source

Input for Claude Design

Bottom-border input with transparent background for luxury forms

Component anatomy

Bottom-border input with transparent background for luxury forms

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-transparent",
    "border-0 border-b border-[#c9a96e]",
    "text-sm text-[#1a1a1a]",
    "placeholder:text-[#8b7355]",
    "focus:outline-none",
    "tracking-wide",
    "transition-colors duration-300"
  ]
}

Variants and parameters

Default

Dark

border-[#e8e0d4] text-[#e8e0d4] placeholder:text-[#8b7355]

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#1a1a1a]"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe