Component recipe · Claude Design source
Input for Claude Design
Material Design input with outlined and filled variants
Component anatomy
Material Design input with outlined and filled variants
{
"element": "input",
"baseClasses": [
"w-full",
"rounded-md",
"bg-transparent",
"text-gray-900",
"placeholder:text-gray-500",
"focus:outline-none",
"transition-all duration-200"
]
}Variants and parameters
Outlined
border border-gray-400
Filled
bg-gray-100 border-b-2 border-gray-400 rounded-b-none
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#1976d2]",
"focus:ring-1 focus:ring-[#1976d2]"
],
"disabled": [
"opacity-40 cursor-not-allowed bg-gray-50"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe