Component recipe · Claude Design source
Input for Claude Design
Rounded search input with soft green border for product search
Component anatomy
Rounded search input with soft green border for product search
{
"element": "input",
"baseClasses": [
"w-full",
"bg-white",
"rounded-full",
"border border-[#d4e4bc]",
"text-[#2d5016]",
"placeholder:text-[#8b7355]",
"focus:outline-none",
"transition-colors"
]
}Variants and parameters
Default
Cream
bg-[#fef9f0]
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#2d5016]",
"focus:ring-2 focus:ring-[#2d5016]/20"
],
"disabled": [
"opacity-50 cursor-not-allowed bg-[#fef9f0]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe