Component recipe · Claude Design source
Input for Claude Design
Dark elegant input with ornate border styling and Victorian aesthetic
Component anatomy
Dark elegant input with ornate border styling and Victorian aesthetic
{
"element": "input",
"baseClasses": [
"w-full",
"rounded-sm",
"border border-[#4a1a4a]/50",
"bg-[#0a0a0a]/80",
"text-[#e5e5e5]",
"placeholder:text-[#4a1a4a]/60",
"font-serif",
"focus:outline-none",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Default
Rose
border-[#8b1a2a]/50 text-[#e5e5e5] placeholder:text-[#8b1a2a]/40
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#8b1a2a]",
"focus:shadow-[0_0_12px_rgba(139,26,42,0.4)]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe