Component recipe · Claude Design source
Input for Claude Design
Cyberpunk Chinese input with angular design and neon focus states
Component anatomy
Cyberpunk Chinese input with angular design and neon focus states
{
"element": "input",
"baseClasses": [
"w-full",
"rounded-none",
"border border-[#c9a227]/40",
"bg-[#0a0a0a]/80",
"text-[#00d4ff]",
"placeholder:text-[#c9a227]/40",
"focus:outline-none",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Default
Vermilion
border-[#d4553a]/50 text-[#d4553a] placeholder:text-[#d4553a]/30
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#00d4ff]",
"focus:shadow-[0_0_16px_rgba(0,212,255,0.5)]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe