Component recipe · Claude Design source
Input for Claude Design
Geometric frame input with golden glow focus and runic aesthetics
Component anatomy
Geometric frame input with golden glow focus and runic aesthetics
{
"element": "input",
"baseClasses": [
"w-full",
"rounded-sm",
"border border-[#fbbf24]/15",
"bg-[#0a0920]",
"text-[#e2e8f0]",
"placeholder:text-[#e2e8f0]/25",
"font-sans",
"focus:outline-none",
"transition-all duration-500 ease-in-out"
]
}Variants and parameters
Default
Gold
border-[#fbbf24]/25
Indigo
border-[#818cf8]/20
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#fbbf24]/50",
"focus:shadow-[0_0_20px_rgba(251,191,36,0.25)]"
],
"disabled": [
"opacity-40 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe