All effectsVisual styles

Isometric Stack

等距层叠

Parallel oblique layers suggest depth while their corresponding edges stay aligned.

Observe the parallel edges across all three layers

Where to use it

Illustrate system layers, file stacks or related architectural parts. Use a common projection to show where layers line up, and place explanatory labels off the angled faces.

Practical example

A data pipeline guide stacks three angled plates for collection, processing, and reporting. Readers can trace the same corner through the layers while matching each plate to the label beside it.

AI prompt

Draw an Isometric Stack for [target layers]. Use a consistent parallel projection, apply the same skew and rotation to each layer, and offset only its vertical position. Use clear layer contrast and readable labels outside the transformed surfaces.

Example code

Save the standalone HTML as a file and open it in your browser. It uses the same code as the preview.

View HTML
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Isometric Stack</title>
  <style>
    :root {
      color-scheme: dark;
      --demo-bg: #171629;
      --demo-ink: #f8f5ff;
      --demo-accent: #b9a6ff;
      --demo-muted: #bfbbd3;
      font-family: system-ui, sans-serif;
      color: var(--demo-ink);
      background: var(--demo-bg);
    }

    *, *::before, *::after { box-sizing: border-box; }
    body { margin: 0; min-width: 0; }
    button, input { font: inherit; }

    .demo {
      display: grid;
      place-items: center;
      align-content: center;
      min-height: 100vh;
      padding: 14px;
      overflow: hidden;
      background: radial-gradient(ellipse at 50% 24%, #28233f, var(--demo-bg) 78%);
    }

    .demo-button {
      border: 1px solid #ffffff3d;
      border-radius: 7px;
      background: #ffffff12;
      color: var(--demo-ink);
      padding: 6px 11px;
      font-size: 12px;
      cursor: pointer;
    }

    :focus-visible {
      outline: 2px solid var(--demo-accent);
      outline-offset: 3px;
    }

    .visual-specimen {
      width: min(100%, 290px);
      height: 124px;
      display: grid;
      place-items: center;
      position: relative;
      isolation: isolate;
    }
    .iso-layers { width: 142px; height: 110px; position: relative; }
    .iso-layers i {
      position: absolute; top: 19px; left: 35px; width: 70px; height: 70px;
      border: 1px solid #e4baf5; border-radius: 9px;
      transform: rotate(-30deg) skewX(30deg) scaleY(.8);
      background: #7450a7; box-shadow: -3px 3px #3c2a62;
    }
    .iso-layers i:nth-child(2) { top: 5px; background: #966ec3; }
    .iso-layers i:nth-child(3) { top: -9px; background: #bb91db; }
    .iso-layers i:last-child::after { content: ''; position: absolute; inset: 14px; border: 1px solid #f3dbff; border-radius: 5px; }
  </style>
</head>
<body>
  <main class="demo">
    <div class="visual-specimen" aria-hidden="true"><div class="iso-layers"><i></i><i></i><i></i></div></div>
  </main>
</body>
</html>

Original example by UI Skills