Component recipe · Claude Design source
Input for Claude Design
Clean Stripe-style input with rounded corners and refined focus ring
Component anatomy
Clean Stripe-style input with rounded corners and refined focus ring
{
"element": "input",
"baseClasses": [
"w-full",
"bg-gray-50",
"rounded-lg",
"border border-gray-300",
"text-gray-900",
"placeholder:text-gray-400",
"focus:outline-none",
"transition-all duration-200"
]
}Variants and parameters
Default
White
bg-white
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-[#635BFF]",
"focus:ring-2 focus:ring-[#635BFF]/20"
],
"disabled": [
"opacity-50 cursor-not-allowed bg-gray-100"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe