Component recipe · Claude Design source
Input for Claude Design
Minimal input with bottom border and no shadow
Component anatomy
Minimal input with bottom border and no shadow
{
"element": "input",
"baseClasses": [
"w-full",
"bg-transparent",
"border-0 border-b-2 border-black",
"text-black",
"placeholder:text-gray-400",
"focus:outline-none",
"transition-colors duration-200"
]
}Variants and parameters
Default
Boxed
border-2 border-black px-4
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#ff3366]"
],
"disabled": [
"opacity-40 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe