Component recipe · Claude Design source
Input for Claude Design
Refined input with thin gold underline, serif font, and warm marble background
Component anatomy
Refined input with thin gold underline, serif font, and warm marble background
{
"element": "input",
"baseClasses": [
"w-full",
"bg-[#f8f6f3]",
"border border-[#c9a96e]/30",
"rounded-sm",
"font-serif",
"text-[#1a1a1a]",
"placeholder:text-[#1a1a1a]/40",
"focus:outline-none",
"transition-all duration-300"
]
}Variants and parameters
Default
Underline
border-0 border-b border-[#c9a96e]/50 rounded-none bg-transparent
Size
select · 3 options
Full Width
boolean
Interaction states
{
"focus": [
"focus:border-[#c9a96e]",
"focus:shadow-[0_1px_0_#c9a96e]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe