Component recipe · Claude Design source
Input for Claude Design
Mobile Editorial style input
Component anatomy
Mobile Editorial style input
{
"element": "input",
"baseClasses": [
"w-full",
"bg-[#fffdf8]",
"border border-[#24211f]/30",
"rounded-lg",
"text-[#24211f]",
"font-normal",
"placeholder:text-[#24211f]/40",
"focus:outline-none",
"transition-all duration-200"
]
}Variants and parameters
Default
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#24211f]",
"focus:ring-1 focus:ring-[#24211f]/30"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe