Component recipes

Component recipe · Claude Design source

Input for Claude Design

Transparent underline input for full-page scroll contact sections

Component anatomy

Transparent underline input for full-page scroll contact sections

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-transparent",
    "border-b border-white/30",
    "text-white",
    "placeholder:text-white/50",
    "focus:outline-none",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Default

Solid

bg-white/10 backdrop-blur-sm rounded-lg border-0 px-4

Size

select · 3 options

Interaction states

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

Related base style

Fixed-version source · reviewed before publishingNext component recipe