Component recipe · Claude Design source
Input for Claude Design
Terminal-style input with RGB split focus glow and scan line texture
Component anatomy
Terminal-style input with RGB split focus glow and scan line texture
{
"element": "input",
"baseClasses": [
"w-full",
"rounded-none",
"border border-[#00ffff]/30",
"bg-[#0a0a0a]",
"text-[#00ffff]",
"placeholder:text-[#00ffff]/20",
"font-mono",
"focus:outline-none",
"transition-all duration-100 ease-in-out"
]
}Variants and parameters
Default
Magenta
border-[#ff00ff]/30 text-[#ff00ff] placeholder:text-[#ff00ff]/20
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#00ffff]",
"focus:shadow-[0_0_10px_#00ffff30,3px_0_#ff00ff20,-3px_0_#ffff0020]"
],
"disabled": [
"opacity-40 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe