All Claude Design styles

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.

Interactive full-page preview
Card Stack · Hero scene

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.

Primary actionExplore details

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.

Browse every recipe

How to use Card Stack with Claude Code

  1. 01

    Choose this style as the single base direction and describe the product job.

  2. 02

    Give Claude the palette, token object, component recipes, and the explicit do/don’t rules.

  3. 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.

All templates

FAQ

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.