Component recipe · Claude Design source
Input for Claude Design
Sharp-edged input with offset focus styling
Component anatomy
Sharp-edged input with offset focus styling
{
"element": "input",
"baseClasses": [
"w-full",
"bg-transparent",
"border-2 border-[#0f0f0f]",
"text-[#0f0f0f]",
"placeholder:text-gray-400",
"focus:outline-none",
"focus:border-[#ff3366]",
"transition-colors duration-200"
]
}Variants and parameters
Default
Inverted
bg-[#0f0f0f] text-white border-white placeholder:text-white/40 focus:border-[#00d4ff]
Size
select · 3 options
Interaction states
{
"focus": [
"focus:shadow-[4px_4px_0px_#00d4ff]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe