
The liquid grid
Hover, Transitions
The envelope budget of a household money app, in a card on warm white: at the top what is left to assign, below it three envelopes, Groceries, Transport and Fun, each with what is inside and a green band as wide as its share. One tap on an envelope moves 40 dollars into it: a green chip leaves the big number and flies into the envelope, the band grows with a bounce, the counts roll. The envelope that reaches its goal closes its flap and says “Funded”; at zero, the top reads “Every dollar has a job”. Minimal style.
A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.
<!doctype html>
<!--
"Budget envelopes" from Animorio · https://animorio.com
License: free on your own sites and your clients’ sites, paid work included.
Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Budget envelopes</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage">
<!-- envelope budgeting: the money still to assign at the top and three envelopes; one tap moves a share into
an envelope with a chip flying down, the bar growing and the full envelope closing -->
<section class="be" data-be aria-label="Budget envelopes">
<header class="be__head">
<div class="be__what"><span class="be__label"><span class="be__clip"><span data-outlabel>Left to assign</span></span></span><strong class="be__big" data-big><b data-outleft>$200</b></strong></div>
<span class="be__month">December</span>
<span class="be__chip" data-chip aria-hidden="true">$40</span>
</header>
<ul class="be__list">
<li><button type="button" class="be__env" data-env data-name="Groceries" data-have="260" data-goal="400"><i class="be__fill" data-fill></i><svg class="be__ic" viewBox="0 0 28 22" aria-hidden="true"><rect class="be__paper" x="1.500" y="3" width="25" height="17.500" rx="3.500"></rect><path class="be__flap" data-flap d="M2.500 4.500 14 13 25.500 4.500"></path></svg><span class="be__name"><strong>Groceries</strong><span class="be__clip"><span data-outof>$260 of $400</span></span></span><span class="be__more"><span class="be__clip be__clip--more"><span data-outmore>Add $40</span></span></span></button></li>
<li><button type="button" class="be__env" data-env data-name="Transport" data-have="60" data-goal="100"><i class="be__fill" data-fill></i><svg class="be__ic" viewBox="0 0 28 22" aria-hidden="true"><rect class="be__paper" x="1.500" y="3" width="25" height="17.500" rx="3.500"></rect><path class="be__flap" data-flap d="M2.500 4.500 14 13 25.500 4.500"></path></svg><span class="be__name"><strong>Transport</strong><span class="be__clip"><span data-outof>$60 of $100</span></span></span><span class="be__more"><span class="be__clip be__clip--more"><span data-outmore>Add $40</span></span></span></button></li>
<li><button type="button" class="be__env" data-env data-name="Fun" data-have="20" data-goal="60"><i class="be__fill" data-fill></i><svg class="be__ic" viewBox="0 0 28 22" aria-hidden="true"><rect class="be__paper" x="1.500" y="3" width="25" height="17.500" rx="3.500"></rect><path class="be__flap" data-flap d="M2.500 4.500 14 13 25.500 4.500"></path></svg><span class="be__name"><strong>Fun</strong><span class="be__clip"><span data-outof>$20 of $60</span></span></span><span class="be__more"><span class="be__clip be__clip--more"><span data-outmore>Add $40</span></span></span></button></li>
</ul>
<p class="be__foot"><span class="be__clip"><span data-outfoot>Tap an envelope to move $40 into it</span></span><button type="button" class="be__undo" data-undo disabled>Undo</button></p>
</section>
<span class="live" aria-live="polite" data-live></span>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.200 19.200 11l-6.300 1.600-3.300 5.900Z"></path></svg>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="script.js"></script>
</body>
</html>Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.
24 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:
Take “Budget envelopes” from Animorio and fit it into my siteWhat is left to assign and what is in each envelope, with its goal. A tap moves the smallest of the step, what is left and the room in the envelope.
On the tap the big number and the row’s little envelope are measured: the chip goes from one to the other, straight sideways and with a run-up vertically, then fades.
Open and shut are the same path with the same points in different places: GSAP moves the attribute’s numbers, with no shape plugin.
Every move goes into a list: “Undo” removes the last one and puts the money back, so you can go back all the way to the start.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #1c8f62 | The colour of assigned money: the band, the chip, the full envelope. |
LEFT | script.js | 200 | How many dollars are left to assign at the start. |
STEP | script.js | 40 | How many dollars one tap moves. |
LOOP | script.js | true | Left alone, the demo’s pointer fills the envelopes until nothing is left. |
In a household or couple’s budgeting app, on the page explaining the envelope method, in an account with savings pots or a tool for small associations; the same gesture carries hours to split between projects, points to spend in a game, places to assign to shifts or an ad budget between campaigns.
The card is at most 348 pixels wide and about 325 tall. Each envelope is a row 54 pixels tall, all of it tappable; under 350 pixels the gaps narrow and the big number goes down to 34 pixels.
No flying chip or bounces: band, counts and the big number change in one step, and the flap is already shut when the envelope is full. The demo’s pointer does not start.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.8 KB; the libraries: GSAP 28 KB.
Tested on 2 December 2026
Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.