Component recipes

Component recipe · Claude Design source

Input for Claude Design

Paper underline field with a brick focus rule

Component anatomy

Paper underline field with a brick focus rule

{
  "element": "input",
  "baseClasses": [
    "bg-transparent",
    "rounded-none",
    "border-b border-[#1A1712]/25",
    "py-2.5 text-lg",
    "text-[#1A1712] placeholder-[#1A1712]/30",
    "focus:outline-none focus:border-[#B3401F]",
    "transition-colors duration-300"
  ]
}

Variants and parameters

Underline

Boxed

border border-[#1A1712]/25 px-4 text-base focus:border-[#B3401F]

Full Width

boolean

Interaction states

{
  "focus": []
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe