Component recipe · Claude Design source
Input for Claude Design
Dark input with light text and glowing focus ring
Component anatomy
Dark input with light text and glowing focus ring
{
"element": "input",
"baseClasses": [
"w-full",
"bg-gray-800",
"rounded-lg",
"border border-gray-700",
"text-gray-100",
"placeholder:text-gray-500",
"focus:outline-none",
"transition-all duration-200"
]
}Variants and parameters
Default
Filled
bg-gray-900
Size
select · 3 options
Interaction states
{
"focus": [
"focus:border-blue-500",
"focus:ring-2 focus:ring-blue-500/30"
],
"disabled": [
"opacity-40 cursor-not-allowed bg-gray-900"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe