Component recipe · Claude Design source
Layered Stack for Claude Design
Stacked layers with slight offset for depth
Component anatomy
Stacked layers with slight offset for depth
{
"element": "div",
"baseClasses": [
"bg-[#f5f0e8]",
"rounded-none",
"border-2 border-[#2d2d2d]",
"p-5 md:p-8",
"transition-all duration-200 ease-in-out",
"relative"
]
}Variants and parameters
Default
shadow-[4px_4px_0px_#2d2d2d,8px_8px_0px_#e74c3c,12px_12px_0px_#2d2d2d]
Scattered
rotate-[1deg] shadow-[5px_3px_0px_#3498db,10px_7px_0px_#f39c12,15px_10px_0px_#2d2d2d]
Neat
shadow-[3px_3px_0px_#2d2d2d,6px_6px_0px_#2d2d2d,9px_9px_0px_#2d2d2d]
Visible
boolean
Interaction states
{
"hover": [
"hover:-translate-y-1",
"hover:shadow-[6px_6px_0px_#2d2d2d,10px_10px_0px_#e74c3c,14px_14px_0px_#2d2d2d]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe