Component recipe · Claude Design source
Card for Claude Design
Canvas-textured card with repeating-linear-gradient brushstroke overlay, dappled light radial-gradient spot, and layered impasto box-shadow depth
Component anatomy
Canvas-textured card with repeating-linear-gradient brushstroke overlay, dappled light radial-gradient spot, and layered impasto box-shadow depth
{
"element": "div",
"baseClasses": [
"bg-[#f5f0e1]",
"rounded-lg",
"border border-[#e8a87c]/25",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Default
shadow-[0_3px_0_rgba(192,57,43,0.12),0_8px_24px_rgba(44,62,80,0.08)]
Warm Tone
border-[#c0392b]/15 shadow-[0_3px_0_rgba(44,62,80,0.10),0_6px_16px_rgba(192,57,43,0.06)]
Cool Tone
border-[#1abc9c]/15 shadow-[0_3px_0_rgba(26,188,156,0.15),0_6px_16px_rgba(26,188,156,0.06)]
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:border-[#e8a87c]/40",
"hover:shadow-[0_4px_0_rgba(192,57,43,0.15),0_10px_28px_rgba(44,62,80,0.12)]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe