Component recipe · Claude Design source
Input for Claude Design
Dark input with pastel glow focus states and gothic styling
Component anatomy
Dark input with pastel glow focus states and gothic styling
{
"element": "input",
"baseClasses": [
"w-full",
"rounded-lg",
"border border-[#d4a5e3]/20",
"bg-[#1a1225]",
"text-[#d4a5e3]",
"placeholder:text-[#d4a5e3]/30",
"focus:outline-none",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Default
Teal
border-[#7ec8c8]/25 text-[#7ec8c8] placeholder:text-[#7ec8c8]/30
Size
select · 3 options
Full Width
boolean
Interaction states
{
"focus": [
"focus:border-[#d4a5e3]/50",
"focus:shadow-[0_0_12px_rgba(212,165,227,0.2)]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe