Component recipe · Claude Design source
Input for Claude Design
Clean input with soft focus glow, designed for character name entry and save screen forms
Component anatomy
Clean input with soft focus glow, designed for character name entry and save screen forms
{
"element": "input",
"baseClasses": [
"w-full",
"rounded-lg",
"font-sans",
"backdrop-blur-sm",
"focus:outline-none",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Light
bg-white/70 border border-[#4a5568]/20 text-[#4a5568] placeholder:text-[#4a5568]/40
Dark
bg-white/[0.06] border border-[#6366f1]/20 text-white placeholder:text-white/25
Pink
bg-white/[0.06] border border-[#ec4899]/20 text-white placeholder:text-white/25
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#6366f1]/50",
"focus:shadow-[0_0_12px_#6366f120]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe