Component recipe · Claude Design source
Card for Claude Design
Soft 3D clay card with candy pastel background and rounded corners
Component anatomy
Soft 3D clay card with candy pastel background and rounded corners
{
"element": "div",
"baseClasses": [
"rounded-3xl",
"border-none",
"transition-all duration-300"
]
}Variants and parameters
Default
bg-[#fce7f3] shadow-[0_12px_24px_rgba(0,0,0,0.1),inset_0_-6px_12px_rgba(0,0,0,0.08)]
Mint
bg-[#d1fae5] shadow-[0_12px_24px_rgba(0,0,0,0.1),inset_0_-6px_12px_rgba(0,0,0,0.08)]
Lavender
bg-[#ede9fe] shadow-[0_12px_24px_rgba(0,0,0,0.1),inset_0_-6px_12px_rgba(0,0,0,0.08)]
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:shadow-[0_16px_32px_rgba(0,0,0,0.15),inset_0_-6px_12px_rgba(0,0,0,0.08)]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe