Component recipe · Claude Design source
Card for Claude Design
Paper-like card with warm background, dashed border, and soft shadow
Component anatomy
Paper-like card with warm background, dashed border, and soft shadow
{
"element": "div",
"baseClasses": [
"bg-[#fdf6ee]",
"border-2 border-dashed border-[#e85d75]/30",
"rounded-xl",
"text-[#4a3728]",
"transition-all duration-200"
]
}Variants and parameters
Default
shadow-[4px_4px_0_rgba(0,0,0,0.08)]
Yellow
border-[#f5c040]/50 shadow-[4px_4px_0_rgba(245,192,64,0.15)]
Padding
select · 3 options
Interaction states
{
"hover": [
"hover:shadow-[6px_6px_0_rgba(0,0,0,0.12)]",
"hover:-translate-y-0.5"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe