Component recipe · Claude Design source
Input for Claude Design
Warm scholarly input with parchment background and muted border
Component anatomy
Warm scholarly input with parchment background and muted border
{
"element": "input",
"baseClasses": [
"w-full",
"rounded",
"border border-[#8b7355]/30",
"bg-[#f5f0e1]/80",
"text-[#3d2b1f]",
"placeholder:text-[#8b7355]/50",
"font-serif",
"focus:outline-none",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Default
Dark
bg-[#3d2b1f]/20 border-[#3d2b1f]/30
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#8b7355]",
"focus:shadow-[0_0_8px_rgba(139,115,85,0.2)]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe