Component recipe · Claude Design source
Input for Claude Design
Playful input with colorful background, thick borders and vibrant focus state
Component anatomy
Playful input with colorful background, thick borders and vibrant focus state
{
"element": "input",
"baseClasses": [
"w-full",
"border-4 border-black",
"rounded-none",
"bg-[#ffe66d]",
"font-mono",
"text-black",
"placeholder:text-gray-600",
"focus:outline-none",
"transition-all duration-200"
]
}Variants and parameters
Default
Mint
bg-[#95e1d3]
Size
select · 3 options
Interaction states
{
"focus": [
"focus:shadow-[6px_6px_0px_0px_rgba(78,205,196,1)]"
],
"disabled": [
"opacity-50 cursor-not-allowed bg-gray-200"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe