Skip to content
Added 17 Aug 2026
Back to library
step-area-chart-15249
Step Area Chart
Charts & Data

Step Area Chart

A staircase step chart drawn as a clip-path polygon over a gridded plot area, with a sky-blue area fill and day labels.

Charts & Datachartstepareaclip-pathtimeseries
lines of CSS
25lines of CSS
dependencies
0dependencies
browser, for years
Everybrowser, for years
motion only on interaction
Hovermotion only on interaction
Backdrop
Active users
MonWedFriSun
Open a live copy in

Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.

step-area-chart-15249.css
.fx-v12-ch-step-15248 {
  width: 220px;
  color: #cbd5e1;
  font-size: 0.65rem;
}
.fx-v12-ch-step-15248 b { display: block; margin-bottom: 4px; font-size: 0.75rem; color: #e2e8f0; }
.fx-v12-ch-step-15248 .plot {
  position: relative;
  height: 90px;
  border-left: 1px solid #334155;
  border-bottom: 1px solid #334155;
  background: repeating-linear-gradient(0deg, transparent 0 21px, rgba(148,163,184,0.15) 21px 22px);
  overflow: hidden;
}
.fx-v12-ch-step-15248 .plot i {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 70%, 12% 70%, 12% 55%, 25% 55%, 25% 62%, 38% 62%, 38% 40%, 50% 40%, 50% 48%, 62% 48%, 62% 28%, 75% 28%, 75% 34%, 88% 34%, 88% 12%, 100% 12%, 100% 100%, 0 100%);
}
.fx-v12-ch-step-15248 .line { background: #38bdf8; box-shadow: 0 0 10px rgba(56,189,248,0.6); }
.fx-v12-ch-step-15248 .cover { background: #0b1020; transform: translate(2px, 3px); }
.fx-v12-ch-step-15248 .area { background: linear-gradient(180deg, rgba(14,165,233,0.45), rgba(14,165,233,0.03)); transform: translate(2px, 3px); }
.fx-v12-ch-step-15248 .x { display: flex; justify-content: space-between; margin-top: 3px; padding-left: 2px; }
.fx-v12-ch-step-15248 .plot { transition: filter 0.3s ease; }
.fx-v12-ch-step-15248:hover .plot { filter: brightness(1.2); }
step-area-chart-15249.html
<div class="fx-v12-ch-step-15248">
  <b>Active users</b>
  <div class="plot">
    <i class="line"></i>
    <i class="cover"></i>
    <i class="area"></i>
  </div>
  <div class="x">
    <span>Mon</span>
    <span>Wed</span>
    <span>Fri</span>
    <span>Sun</span>
  </div>
</div>

What do I do with this?

  1. Put step-area-chart-15249.css anywhere your page already loads CSS from — in Next.js that is app/globals.css, or any stylesheet with a <link> in your HTML.
  2. Then put the class on the element you want it on: <button class="fx-v12-ch-step-15248">. The CSS does nothing until a class name in it matches something on the page.
  • Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add step-area-chart-15249

What's included

  • The markup and the stylesheet, in whichever framework you pick
  • No runtime dependencies

Works with

  • React
  • Vue
  • Svelte
  • Tailwind
  • styled-components
  • Plain CSS

npx hoverlab add step-area-chart-15249

Or over MCP, from your editor's agent — no account needed.

License

Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.

Was this useful?

Motion safety

Static estimate, read from the CSS

Reduced motion
Brief motion, no guard

Animates briefly or on interaction. Only looping motion gets a guard in this catalog; copy the one from the Insights tab if this ships on a critical path.

What it animates
Compositor only

Only transform, opacity or filter: the GPU can run it without re-laying-out or repainting the page.

Flashing (WCAG 2.3.1)
No flashing found

No repeating change in opacity, colour or brightness large enough to count as a flash.

Layout shift (CLS)
No shift expected

Nothing it animates moves or resizes the box in flow. A category from the CSS, not a measurement for this effect.

Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed

35 more effects in Charts & Data

All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.

Browse Charts & Data

Shipping one commercially

Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.

  • A commercial licence for everything in the catalog
  • Unlimited bundle exports, in Vue, Svelte and Tailwind
  • One payment — no subscription, nothing to renew
Pro — $79 once

7 variations of Step Area Chart

Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.