Component recipe · Claude Design source
Input for Claude Design
Memphis-style input with thick border and colored offset shadow
Component anatomy
Memphis-style input with thick border and colored offset shadow
{
"element": "input",
"baseClasses": [
"w-full",
"bg-white",
"border-4 border-black",
"text-black",
"font-bold",
"placeholder:text-gray-400",
"focus:outline-none",
"transition-all duration-200"
]
}Variants and parameters
Default
shadow-[4px_4px_0px_#48dbfb]
Red Shadow
shadow-[4px_4px_0px_#ff6b6b]
Size
select · 3 options
Interaction states
{
"focus": [
"focus:shadow-[4px_4px_0px_#ff6b6b]"
],
"disabled": [
"opacity-50 cursor-not-allowed bg-gray-100"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe