layout style · Claude Design
Card Stack UI Style for Claude Design
3D layout with overlapping cards, creating depth through Z-axis stacking and offsets. Ideal for carousels, step-by-step displays, and card deck selection.
Build a clearer product story.
Previewing the hero direction. 3D layout with overlapping cards, creating depth through Z-axis stacking and offsets. Ideal for carousels, step-by-step displays, and card deck selection.
Do
-
border -
border-zinc-200 -
rounded-2xl -
border-solid -
shadow-md -
shadow-xl -
shadow-2xl -
shadow-none
Don't
-
shadow-none -
rounded-none -
shadow-none -
^rounded-none$ -
focus:outline-none
Tokens and component states
Use this token set as the source of truth. Apply it once at the system layer so Claude Code does not improvise spacing, radius, shadow, or typography per component.
{
"border": {
"width": "border",
"color": "border-zinc-200",
"radius": "rounded-2xl",
"style": "border-solid"
},
"shadow": {
"sm": "shadow-md",
"md": "shadow-xl",
"lg": "shadow-2xl",
"none": "shadow-none",
"hover": "hover:shadow-2xl",
"focus": "focus:shadow-xl",
"colored": {}
},
"interaction": {
"transition": "transition-all duration-300 ease-[cubic-bezier(0.4,0,0.2,1)]",
"active": "active:scale-95",
"hoverScale": "hover:scale-105"
},
"typography": {
"heading": "font-bold tracking-tight",
"body": "font-sans",
"mono": "font-mono",
"sizes": {
"hero": "text-3xl md:text-4xl lg:text-5xl",
"h1": "text-2xl md:text-3xl",
"h2": "text-xl md:text-2xl",
"h3": "text-lg md:text-xl",
"body": "text-sm md:text-base",
"small": "text-xs md:text-sm"
}
},
"spacing": {
"section": "py-16 md:py-20 lg:py-24",
"container": "px-4 md:px-8",
"card": "p-6 md:p-8",
"gap": {
"sm": "gap-2 md:gap-3",
"md": "gap-4 md:gap-6",
"lg": "gap-6 md:gap-8"
}
},
"colors": {
"background": {
"primary": "bg-gradient-to-br from-slate-900 to-slate-800",
"secondary": "bg-white",
"accent": [
"bg-[#6c5ce7]",
"bg-[#00cec9]",
"bg-[#fd79a8]",
"bg-[#ffeaa7]"
]
},
"text": {
"primary": "text-zinc-900",
"secondary": "text-zinc-600",
"muted": "text-zinc-400"
},
"button": {
"primary": "bg-zinc-900 text-white",
"secondary": "bg-white/10 text-white"
}
},
"forbidden": {
"classes": [
"rounded-none",
"shadow-none",
"border-4",
"border-8"
],
"patterns": [
"^rounded-none$",
"^border-[48]"
],
"reasons": {
"rounded-none": "Card Stack uses generous rounding (rounded-2xl) for soft stacked cards",
"shadow-none": "Card Stack requires shadows to convey depth and layering",
"border-4": "Card Stack uses subtle or no borders, relying on shadows for definition"
}
},
"required": {
"button": [
"rounded-full",
"shadow-lg",
"hover:shadow-xl",
"transition-shadow"
],
"card": [
"rounded-2xl",
"shadow-xl",
"transition-all duration-300",
"bg-white"
],
"input": [
"bg-white/80 backdrop-blur",
"border border-zinc-200",
"rounded-xl",
"focus:outline-none",
"focus:ring-2 focus:ring-purple-500/30",
"transition-all"
]
}
}Component recipes
Each recipe retains its own parameters, variants, slots, and interaction states.
How to use Card Stack with Claude Code
- 01
Choose this style as the single base direction and describe the product job.
- 02
Give Claude the palette, token object, component recipes, and the explicit do/don’t rules.
- 03
Ask for one complete page, then review responsive states, focus, reduced motion, and contrast before shipping.
Templates that fit this direction
Preview styles for free. Buy only when you need a complete, downloadable page template.
landing
Brutal Landing Page
High-impact Neo-Brutalist landing page for launches and brand-first campaigns.
Preview · $10landing
Glass Landing Page
Modern glassmorphism landing page ideal for SaaS products and technology showcases.
Preview · $10blog
Editorial Blog
Magazine-inspired reading layout focused on typography, rhythm, and long-form content.
Preview · $10blog
Anx Avant Blog
Experimental portfolio-blog mix with loud typography, brutal borders, and kinetic sections.
Preview · $10blog
Yohaku Blog
Minimalist paper-textured blog inspired by Japanese Yohaku (white space) philosophy. Single-column reading layout with timeline posts and spring animations.
Preview · $10dashboard
Warm Dashboard
Warm-toned analytics dashboard with sidebar navigation, stat cards, charts, and data tables.
Preview · $10FAQ
Is Card Stack itself a paid template?
No. This page is the free style reference: palette, tokens, rules, recipes, and preview. Paid templates are complete page deliverables that apply a style to a real product scenario.
Can Claude combine this style with other source entities?
Yes. Use the Source Composer to add one font pairing, motion pattern, gradient, shadow, and background while keeping Card Stack as the base system.