Component recipes

Component recipe · Claude Design source

Input for Claude Design

Clean bottom-line input with Helvetica/sans-serif typography

Component anatomy

Clean bottom-line input with Helvetica/sans-serif typography

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "border-0 border-b-2 border-black",
    "rounded-none",
    "bg-transparent",
    "font-sans",
    "text-black",
    "placeholder:text-gray-400",
    "focus:outline-none",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Default

Accent

border-[#e30613]

Size

select · 3 options

Interaction states

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

Related base style

Fixed-version source · reviewed before publishingNext component recipe