Component recipe · Claude Design source
Input for Claude Design
Compact search input for sidebar navigation and toolbar
Component anatomy
Compact search input for sidebar navigation and toolbar
{
"element": "input",
"baseClasses": [
"w-full",
"bg-zinc-100",
"border-0",
"rounded-lg",
"text-sm text-zinc-900",
"placeholder:text-zinc-400",
"focus:outline-none",
"transition-all duration-200"
]
}Variants and parameters
Default
Bordered
bg-white border border-zinc-200
Size
select · 3 options
Interaction states
{
"focus": [
"focus:ring-2 focus:ring-blue-500/30"
],
"disabled": [
"opacity-50 cursor-not-allowed bg-zinc-50"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe