Component recipe · Claude Design source
Input for Claude Design
Glass input for immersive parallax sections
Component anatomy
Glass input for immersive parallax sections
{
"element": "input",
"baseClasses": [
"w-full",
"bg-white/20",
"backdrop-blur-md",
"text-white",
"placeholder:text-white/60",
"rounded-full",
"border border-white/30",
"focus:outline-none",
"focus:border-white/60",
"transition-colors duration-300"
]
}Variants and parameters
Glass
Solid
bg-white text-[#1e3a5f] placeholder:text-slate-400 border-white/0
Dark
bg-[#1e3a5f]/80 text-white border-white/10
Size
select · 3 options
Interaction states
{
"focus": [
"focus:ring-2 focus:ring-white/20"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe