Component recipe · Claude Design source
Input for Claude Design
Professional input with border and blue focus ring
Component anatomy
Professional input with border and blue focus ring
{
"element": "input",
"baseClasses": [
"w-full",
"bg-white",
"rounded-lg",
"border border-gray-300",
"text-gray-900",
"placeholder:text-gray-400",
"focus:outline-none",
"transition-colors duration-200"
]
}Variants and parameters
Default
Filled
bg-slate-50 border-slate-200
Size
select · 3 options
Interaction states
{
"focus": [
"focus:ring-2 focus:ring-blue-500",
"focus:border-blue-500"
],
"disabled": [
"opacity-50 cursor-not-allowed bg-gray-50"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe