Component recipe · Claude Design source
Input for Claude Design
Clean input with subtle background and rounded corners
Component anatomy
Clean input with subtle background and rounded corners
{
"element": "input",
"baseClasses": [
"w-full",
"bg-zinc-50",
"rounded-xl",
"border border-zinc-200",
"text-zinc-900",
"placeholder:text-zinc-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-blue-500/20",
"focus:border-blue-500"
],
"disabled": [
"opacity-50 cursor-not-allowed bg-zinc-100"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe