Component recipe · Claude Design source
Input for Claude Design
Bold input with thick border, sharp corners, and color focus
Component anatomy
Bold input with thick border, sharp corners, and color focus
{
"element": "input",
"baseClasses": [
"w-full",
"bg-white",
"border-4 border-black",
"rounded-none",
"text-black",
"font-medium",
"placeholder:text-gray-400",
"focus:outline-none",
"transition-colors duration-200"
]
}Variants and parameters
Default
Offset Shadow
shadow-[4px_4px_0px_0px_rgba(0,0,0,1)]
Size
select · 3 options
Interaction states
{
"focus": [
"focus:bg-yellow-300",
"focus:border-black"
],
"disabled": [
"opacity-50 cursor-not-allowed bg-gray-100"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe