Component recipes

Component recipe · Claude Design source

Input for Claude Design

Underline field for the newsletter and appointment forms

Component anatomy

Underline field for the newsletter and appointment forms

{
  "element": "input",
  "baseClasses": [
    "rounded-none",
    "bg-transparent",
    "border-b border-[#141210]/25",
    "px-0 py-3",
    "text-[#141210] placeholder-[#141210]/40",
    "uppercase tracking-[0.15em] text-xs",
    "focus:outline-none focus:border-[#9A7B4F]",
    "transition-all duration-500"
  ]
}

Variants and parameters

Hairline

Boxed

border border-[#141210]/25 px-4

Full Width

boolean

Interaction states

{
  "focus": []
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe