Component recipe · Claude Design source
Input for Claude Design
Canvas-surface input with warm inset shadow simulating paint indentation, serif typography, and impasto focus glow
Component anatomy
Canvas-surface input with warm inset shadow simulating paint indentation, serif typography, and impasto focus glow
{
"element": "input",
"baseClasses": [
"w-full",
"rounded-lg",
"border-2 border-[#e8a87c]/25",
"bg-[#f5f0e1]",
"text-[#2c3e50]",
"placeholder:text-[#2c3e50]/30",
"font-serif",
"focus:outline-none",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Default
shadow-[inset_0_2px_4px_rgba(44,62,80,0.04)]
Warm
border-[#e8a87c]/40 placeholder:text-[#e8a87c]/30
Turquoise
border-[#1abc9c]/25 placeholder:text-[#1abc9c]/30
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#e8a87c]",
"focus:shadow-[0_0_0_3px_rgba(232,168,124,0.12)]"
],
"disabled": [
"opacity-40 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe