Component recipes

Component recipe · Claude Design source

Input for Claude Design

Dark background input with minimal styling for contact forms

Component anatomy

Dark background input with minimal styling for contact forms

{
  "element": "input",
  "baseClasses": [
    "w-full bg-transparent border-b border-[#2A2A2A]",
    "px-0 py-2 text-sm text-white",
    "placeholder:text-[#555555]",
    "focus:outline-none focus:border-[#C4956A]",
    "transition-colors duration-200",
    "font-sans font-light"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "focus": [
    "focus:border-[#C4956A]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe