Component recipe · Claude Design source
Card for Claude Design
Paper-like card with dashed borders and pencil-drawn aesthetic
Component anatomy
Paper-like card with dashed borders and pencil-drawn aesthetic
{
"element": "div",
"baseClasses": [
"bg-[#f5f0e8]",
"border-2 border-dashed border-[#2c2c2c]",
"rounded-sm",
"shadow-[2px_2px_0px_rgba(44,44,44,0.3)]",
"transition-opacity duration-200"
]
}Variants and parameters
Default
Torn Edge
bg-[#e8e2d8] shadow-[3px_3px_0px_rgba(44,44,44,0.3)]
Notebook
bg-white border-l-4 border-l-[#c85050]
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:shadow-[2px_2px_0px_rgba(44,44,44,0.5)]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe