Component recipe · Claude Design source
Card for Claude Design
Acrylic surface card with layered depth shadows and subtle borders
Component anatomy
Acrylic surface card with layered depth shadows and subtle borders
{
"element": "div",
"baseClasses": [
"bg-white",
"rounded-md md:rounded-lg",
"border border-[#e1e1e1]",
"shadow-[0_1.6px_3.6px_rgba(0,0,0,0.13),0_0.3px_0.9px_rgba(0,0,0,0.1)]",
"transition-all duration-150 ease-out"
]
}Variants and parameters
Default
Acrylic
bg-white/80 backdrop-blur-md
Elevated
shadow-[0_6.4px_14.4px_rgba(0,0,0,0.13),0_1.2px_3.6px_rgba(0,0,0,0.1)]
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:shadow-[0_6.4px_14.4px_rgba(0,0,0,0.18),0_1.2px_3.6px_rgba(0,0,0,0.14)]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe