∞ forever components

Charts & Flow

Stack Toggle Area

A stacked area chart in four tints of one persimmon accent, cut-paper layers with shadows that lift as they move; chips switch channels while the stack, scale and revenue total re-settle on a 480 ms spring. Runs a demo until you touch it.

svglight complexitymoderate motionclickaccessible

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
1

When to use it

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Keep the four series data, the stack maths, the 480 ms spring retargeting (bands, scale and numbers) and the aria-label on each swatch chip. Paper-cut depth: each band casts an accent-tinted shadow on the band behind it that lifts while it moves. Safe to change data, series names in aria-labels and tokens.

Safe to edit

  • tokens
  • labels
  • data

Keep intact

  • demo-v1 idle demo and takeover
  • theme hook
  • reduced-motion and visibilitychange guards
  • nx42- prefix

Known limitations

  • The last visible channel cannot be switched off.

stacked areachartlegend toggleseriesrevenuedata ink

More Charts & Flow components

  • Sankey FlowThree-stage Sankey diagram on dark canvas: bezier ribbons grow stage-by-stage from origins to hubs to outcomes, pulsing softly in opacity to show flow volume.
  • Chord DiagramEight ring nodes with curved ribbons that swell and shrink as weights rebalance every ~3s. Additive blending creates glowing color overlaps.
  • Treemap7 rounded cells partition the canvas via slice-dice treemap; cells lerp to new sizes every 2.6 s as synthetic values drift, with a subtle alpha pulse.
  • CandlesticksGreen and red OHLC candles stream in from the right with smooth slide animation; newest candle grows from pivot. Dashed last-price marker traces horizontally.
  • StreamgraphSix translucent stacked bands breathe around a central baseline via layered sines; a sweeping readout line tracks across with colored tick dots per band.
  • Bubble Pack64 mint/teal/amber/coral circles settle under gravity with collision physics; size encodes value. Large bubbles pull toward center with a breathing pulse.