
The colour columns
Hover, SVG
The level card of an app: the badge with the number, the rank and the points bar. Claim the points and a chip flies from the button to the bar, which fills, flashes and overflows into the next level: the number rolls from 7 to 8 with a sheen crossing it, the rank changes and a perk unlocks as its padlock opens. Over the bar you read how much is missing.
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>
<!--
"Level up card" 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>Level up card</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">
<!-- the level card of an app: the claimed points fly into the bar, the bar overflows into the next level,
the number rolls, the rank changes and a perk unlocks -->
<section class="lv" data-lv aria-label="Your level">
<header class="lv__head">
<div class="lv__badge" data-badge>
<svg class="lv__ring" viewBox="0 0 64 64" aria-hidden="true"><circle class="lv__track" cx="32" cy="32" r="29.500"></circle><circle data-ring pathLength="1" cx="32" cy="32" r="29.500" transform="rotate(-90 32 32)"></circle></svg>
<div class="lv__core" data-core>
<span class="lv__shine" data-shine aria-hidden="true"></span>
<span class="lv__num"><b data-num>7</b></span>
</div>
</div>
<div class="lv__who">
<p class="lv__kicker">Level <span data-lvtext>7</span></p>
<h2 class="lv__rank"><span data-rank>Explorer</span></h2>
</div>
<p class="lv__xp"><b data-xp>2,340</b><span data-of>/ 2,500 XP</span></p>
</header>
<div class="lv__bar" data-bar tabindex="0" role="progressbar" aria-label="Points towards the next level" aria-valuemin="0" aria-valuemax="2500" aria-valuenow="2340">
<span class="lv__fill" data-fill></span>
<span class="lv__flash" data-flash aria-hidden="true"></span>
</div>
<div class="lv__perk" data-perk>
<div class="lv__perkin" data-perkin>
<svg viewBox="0 0 20 20" aria-hidden="true"><rect x="4" y="9" width="12" height="8.500" rx="2.400"></rect><path data-shackle d="M6.800 9V6.700a3.200 3.200 0 0 1 6.400 0V9"></path></svg>
<span><b>Unlocked</b> Custom themes</span>
</div>
</div>
<button class="lv__btn" type="button" data-claim><span data-claimlabel>Claim 400 XP</span></button>
<span class="lv__chip" data-chip aria-hidden="true"></span>
<span class="lv__say" data-say aria-live="polite"></span>
</section>
<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.
20 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 “Level up card” from Animorio and fit it into my siteBar, ring and points number read the same object, a fraction and a number: every tween changes it and one function redraws everything.
If the points pass the threshold the bar first goes to 1, then the fill fades, returns to 0 and climbs to what is left over, against the new level’s threshold.
The number leaves upwards and fades, changes its text and comes in from below on an elastic; meanwhile the badge comes down from a larger scale.
The shackle turns 28 degrees round its right foot: an animated number written in the transform attribute, with the centre in the drawing’s coordinates.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #ff6a3d | The colour of the badge, the bar and the unlocked perk. |
GAIN | script.js | 400 | How many points are claimed: above 160 the level goes up, below it the bar just rises. |
FILL_TIME | script.js | 0.5 | How many seconds the bar takes to fill to the end. |
SPRING | script.js | 1 | How much the badge and the number bounce on levelling up: 0.3 = a little, 2 = a lot. |
LOOP | script.js | true | Left alone, the demo’s pointer claims the points, looks at what is missing and starts again. |
In the profile of a learning app, a loyalty programme, a workout app or a community: wherever points raise the level and a level unlocks something.
The same card, 316 pixels wide at most; when the perk unlocks it grows by 52 pixels and stays inside the screen. With a finger, the “how much is missing” is read by focusing the bar.
No flying chip, flash or bounces: on tap level, rank, points and perk change at once; over the bar the two lines swap without rolling. The demo does not move by itself.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.4 KB; the libraries: GSAP 28 KB.
Tested on 22 November 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.