Component recipe · Claude Design source
Input for Claude Design
Translucent glass input for dark gradient backgrounds
Component anatomy
Translucent glass input for dark gradient backgrounds
{
"element": "input",
"baseClasses": [
"w-full",
"backdrop-blur-xl",
"bg-white/10",
"rounded-2xl",
"border border-white/20",
"text-white",
"placeholder:text-white/40",
"focus:outline-none",
"transition-all duration-300"
]
}Variants and parameters
Default
Frosted
bg-white/20
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-violet-500/50",
"focus:ring-2 focus:ring-violet-500/20"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe