Component recipes

Component recipe · Claude Design source

Input for Claude Design

Sharp-edged input with clean border

Component anatomy

Sharp-edged input with clean border

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#fafafa]",
    "border border-[#e5e5e5]",
    "text-[#111111]",
    "placeholder:text-[#666666]/50",
    "focus:outline-none",
    "rounded-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Interaction states

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

Related base style

Fixed-version source · reviewed before publishingNext component recipe