Component recipe · Claude Design source
Input for Claude Design
Pencil-sketch input with dashed border and warm paper background
Component anatomy
Pencil-sketch input with dashed border and warm paper background
{
"element": "input",
"baseClasses": [
"w-full",
"border-2 border-dashed border-[#2c2c2c]",
"rounded-sm",
"bg-[#faf5ed]",
"font-sans",
"text-[#2c2c2c]",
"placeholder:text-[#8a8a8a]",
"focus:outline-none",
"transition-all duration-200"
]
}Variants and parameters
Default
Underline
border-0 border-b-2 border-dashed border-b-[#2c2c2c] rounded-none bg-transparent
Size
select · 3 options
Interaction states
{
"focus": [
"focus:shadow-[2px_2px_0px_rgba(44,44,44,0.4)]"
],
"disabled": [
"opacity-40 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe