Component recipe · Claude Design source
Input for Claude Design
Victorian-styled input with copper border and warm brass focus glow
Component anatomy
Victorian-styled input with copper border and warm brass focus glow
{
"element": "input",
"baseClasses": [
"w-full",
"bg-[#2a1f15]",
"border-2 border-[#b87333]/30",
"rounded",
"font-serif",
"text-[#f5f0e1]",
"placeholder:text-[#b87333]/30",
"focus:outline-none",
"transition-all duration-300"
]
}Variants and parameters
Default
Brass
border-[#b5a642]/30 text-[#d4c85c] placeholder:text-[#b5a642]/30
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#b5a642]",
"focus:shadow-[0_0_12px_rgba(181,166,66,0.25)]"
],
"disabled": [
"opacity-50 cursor-not-allowed bg-[#1a1510]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe