Component recipe · Claude Design source
Input for Claude Design
Input with dark background, bold borders, and warm earth-toned accents
Component anatomy
Input with dark background, bold borders, and warm earth-toned accents
{
"element": "input",
"baseClasses": [
"w-full",
"rounded-none",
"border-2 border-[#c4501f]/50",
"bg-[#2c1810]",
"text-[#f0c75e]",
"placeholder:text-[#f0c75e]/40",
"font-bold",
"tracking-wide",
"focus:outline-none",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Default
Kente
border-[#f0c75e]/50 placeholder:text-[#c4501f]/50
Size
select · 3 options
Full Width
boolean
Interaction states
{
"focus": [
"focus:border-[#f0c75e]",
"focus:shadow-[0_0_12px_rgba(240,199,94,0.25)]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe