Component recipes

Component recipe · Claude Design source

Input for Claude Design

Bare underline field with orange focus baseline

Component anatomy

Bare underline field with orange focus baseline

{
  "element": "input",
  "baseClasses": [
    "bg-transparent",
    "rounded-none",
    "border-b border-[#F4F1EB]/20",
    "py-3 text-xl",
    "text-[#F4F1EB] placeholder-[#F4F1EB]/25",
    "focus:outline-none focus:border-[#FF4D00]",
    "transition-colors duration-500"
  ]
}

Variants and parameters

Underline

Boxed

border border-[#F4F1EB]/20 px-4 text-base focus:border-[#FF4D00]

Full Width

boolean

Interaction states

{
  "focus": [
    "focus:placeholder-[#F4F1EB]/40"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe