Component recipe · Claude Design source
Input for Claude Design
Festive input with warm borders and vibrant accent focus states
Component anatomy
Festive input with warm borders and vibrant accent focus states
{
"element": "input",
"baseClasses": [
"w-full",
"rounded-lg",
"border-2 border-[#ff9f1c]/30",
"bg-[#fff8e7]",
"text-[#e63946]",
"placeholder:text-[#e63946]/40",
"focus:outline-none",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Default
Royal
border-[#7b2d8e]/40 placeholder:text-[#7b2d8e]/40
Size
select · 3 options
Full Width
boolean
Interaction states
{
"focus": [
"focus:border-[#e63946]/60",
"focus:shadow-[0_0_12px_rgba(230,57,70,0.25)]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe