Component recipes

Component recipe · Claude Design source

Input for Claude Design

Minimal field that reads clearly on the dark stage

Component anatomy

Minimal field that reads clearly on the dark stage

{
  "element": "input",
  "baseClasses": [
    "bg-[#1D1D1F]",
    "border border-white/10",
    "rounded-xl",
    "px-5 py-3",
    "text-[#F5F5F7] placeholder-[#86868B]",
    "focus:outline-none focus:border-[#2997FF]",
    "transition-colors duration-300"
  ]
}

Variants and parameters

Panel

Bare

bg-transparent border-white/15

Full Width

boolean

Interaction states

{
  "focus": []
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe