Component recipe · Claude Design source
Input for Claude Design
Pixel-style input with sharp corners and mono font
Component anatomy
Pixel-style input with sharp corners and mono font
{
"element": "input",
"baseClasses": [
"w-full",
"border-2 border-black",
"rounded-none",
"bg-[#e0d8b0]",
"font-mono",
"text-black",
"placeholder:text-black/40",
"focus:outline-none",
"transition-shadow duration-150"
]
}Variants and parameters
Default
Dark
bg-[#0f380f] text-[#9bbc0f] placeholder:text-[#9bbc0f]/40 border-[#306230]
Size
select · 3 options
Interaction states
{
"focus": [
"focus:shadow-[4px_4px_0px_0px_rgba(0,0,0,1)]"
],
"disabled": [
"opacity-50 cursor-not-allowed bg-gray-200"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe