Component recipe · Claude Design source
Input for Claude Design
Military-styled input with angular design and tech-panel aesthetics
Component anatomy
Military-styled input with angular design and tech-panel aesthetics
{
"element": "input",
"baseClasses": [
"w-full",
"rounded-none",
"border-2 border-[#4a5c3a]",
"bg-[#1a2744]/80",
"text-[#fbbf24]",
"placeholder:text-[#4a5c3a]/60",
"font-mono uppercase",
"focus:outline-none",
"transition-all duration-200 ease-in-out"
]
}Variants and parameters
Default
Alert
border-[#ef4444] text-[#ef4444] placeholder:text-[#ef4444]/40
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#fbbf24]",
"focus:shadow-[0_0_8px_rgba(251,191,36,0.4)]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe