Component recipe · Claude Design source
Input for Claude Design
Sunken input field with inset neumorphic shadow
Component anatomy
Sunken input field with inset neumorphic shadow
{
"element": "input",
"baseClasses": [
"w-full",
"bg-[#e0e5ec]",
"rounded-xl",
"border-none",
"text-gray-700",
"focus:outline-none",
"transition-all duration-200"
]
}Variants and parameters
Default
shadow-[inset_5px_5px_10px_#b8bec7,inset_-5px_-5px_10px_#ffffff]
Raised
shadow-[5px_5px_10px_#b8bec7,-5px_-5px_10px_#ffffff]
Size
select · 3 options
Interaction states
{
"focus": [
"focus:shadow-[inset_3px_3px_6px_#b8bec7,inset_-3px_-3px_6px_#ffffff]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe