Component recipes

Component recipe · Claude Design source

Input for Claude Design

Professional bordered input for F-pattern search and filter forms

Component anatomy

Professional bordered input for F-pattern search and filter forms

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-gray-50",
    "border border-gray-200",
    "rounded-lg",
    "text-[#1a1a2e]",
    "placeholder:text-gray-400",
    "focus:outline-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

White

bg-white

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:ring-2 focus:ring-[#457b9d]/20",
    "focus:border-[#457b9d]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed bg-gray-100"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe