Component recipe · Claude Design source
Input for Claude Design
Clean input with subtle border and teal focus ring
Component anatomy
Clean input with subtle border and teal focus ring
{
"element": "input",
"baseClasses": [
"w-full",
"bg-white",
"border border-gray-200",
"rounded-xl",
"text-gray-800",
"placeholder:text-gray-400",
"focus:outline-none",
"transition-all duration-200"
]
}Variants and parameters
Default
Size
select · 3 options
Interaction states
{
"focus": [
"focus:ring-2 focus:ring-[#4a9d9a]/30",
"focus:border-[#4a9d9a]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe