Component recipe · Claude Design source
Input for Claude Design
Minimal underline input for split screen forms
Component anatomy
Minimal underline input for split screen forms
{
"element": "input",
"baseClasses": [
"w-full",
"bg-transparent",
"border-b-2 border-zinc-300",
"text-lg",
"placeholder:text-zinc-400",
"focus:outline-none",
"transition-colors duration-200"
]
}Variants and parameters
Default
Dark
text-white border-white/30 placeholder:text-white/50
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-black"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe