
The inchworm menu
Menus, Hover, Transitions
The Studio plan card of an invented writing app, printed on thick ivory paper with grain, stacked edges for its thickness and a light sliding over it, on white. A switch picks Monthly or Yearly: going yearly the price rolls digit by digit from 15 to 12 dollars, the old price appears beside it and is struck through by a hand-drawn line, and the vermilion Save 20% sticker peels off the card’s edge: its corner curls up showing the pale backing, it lifts with its shadow left on the paper and sticks back two degrees crooked.
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>
<!--
"Yearly plan sticker 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>The plan card with the discount sticker that peels off</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 Studio plan of a writing app, printed on thick paper. Switching to Yearly the price rolls to the new figure,
the old one is struck through by hand and the Save sticker peels off the card's edge, lifts with its shadow and
sticks back two degrees crooked -->
<article class="plan" data-plan>
<span class="plan__grain" aria-hidden="true"></span>
<span class="plan__sheen" aria-hidden="true"></span>
<span class="tag" data-tag>
<span class="tag__shadow" data-tag-shadow aria-hidden="true"></span>
<span class="tag__lift" data-tag-lift>
<span class="tag__face" data-tag-face><span class="tag__words" data-tag-words>Save 20%</span></span>
<span class="tag__fold" data-tag-fold aria-hidden="true"></span>
</span>
</span>
<header class="plan__head">
<p class="plan__brand">Paperline</p>
<h1 class="plan__name">Studio</h1>
<p class="plan__line">For small teams that write together.</p>
</header>
<div class="switch" role="radiogroup" aria-label="Billing period" data-switch>
<span class="switch__thumb" data-thumb aria-hidden="true"></span>
<button class="switch__opt" type="button" role="radio" aria-checked="true" data-period="month">Monthly</button>
<button class="switch__opt" type="button" role="radio" aria-checked="false" data-period="year">Yearly</button>
</div>
<div class="price">
<span class="price__big" data-big aria-hidden="true"><span class="price__cur">$</span><span class="price__digits" data-digits></span></span>
<span class="price__side">
<span class="price__old" data-old aria-hidden="true"><span data-old-words>$15</span>
<svg class="price__strike" viewBox="0 0 48 20" preserveAspectRatio="none" aria-hidden="true">
<path class="price__strike-a" data-strike pathLength="1" d="M2 14.2C9 12.6 16.5 11.4 24.4 9.6 31.4 8 38 6.7 45.6 5.2"/>
<path class="price__strike-b" data-strike-b pathLength="1" d="M45.6 5.2C43.6 6.1 41.7 6.6 40.2 7.6"/>
</svg>
</span>
<span class="price__per">per seat / month</span>
</span>
</div>
<p class="bill" data-bill><span class="bill__a" data-bill-month>Billed monthly, cancel anytime</span><span class="bill__b" data-bill-year>Billed $144 a year per seat</span></p>
<p class="sr" aria-live="polite" data-live></p>
<ul class="feats">
<li><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8.4l2.9 2.8 6.1-6.4"/></svg>Unlimited docs and shared spaces</li>
<li><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8.4l2.9 2.8 6.1-6.4"/></svg>A full year of version history</li>
<li><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8.4l2.9 2.8 6.1-6.4"/></svg>Comments, review and approvals</li>
</ul>
<button class="cta" type="button" data-cta><span class="cta__face">Start 14-day trial</span></button>
</article>
</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.
33 values to change
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 “Yearly plan sticker card” from Animorio and fit it into my siteThe card is an ivory box with feTurbulence grain from an SVG background, in multiply, and a stack of shadows: a white inner line at the top for the lit edge, two solid shadows one and two pixels down for the sheet’s thickness, and two wide soft ones for the air.
A blurred band in soft-light moves with a CSS variable that a requestAnimationFrame drives along a smoothstep curve, with a pause off the card on every round. With a mouse the variable chases the pointer on a spring. The same variable moves the sticker’s gloss.
Each digit is a column one em tall holding a strip from 0 to 9 plus a blank: GSAP takes the strip with yPercent to the new digit with back.out, the right-hand digit first. The blank closes the column to zero width, so 10 and 9 line up. Meanwhile the font’s wdth axis narrows and comes back on an elastic.
The old price is struck by two SVG paths with pathLength 1: a slightly crooked line and a short hook at its end, drawn one after the other with stroke-dashoffset, as the digits are nearly done rolling.
The sticker’s face has a clip-path cutting the corner by --s pixels; the backing is a triangle --s wide, the cut corner mirrored along the fold. A timeline curls the corner, lifts the sticker tipping it while its shadow stays on the card and softens, then sticks it back at TILT degrees with back.out, a squash to 0.985 and the card going down half a pixel.
| Name | File | Default | What it changes |
|---|---|---|---|
PRICE | script.js | 15 | The monthly price per seat, in dollars. |
DISCOUNT | script.js | 20 | The yearly discount, in percent: the sticker and the new price follow it. |
ROLL | script.js | 0.75 | The seconds the price takes to roll to the new figure. |
PEEL | script.js | 20 | How far the sticker’s corner curls up, in pixels. |
LIFT | script.js | 7 | How high the sticker rises off the card, in pixels. |
TILT | script.js | 2 | The angle it sticks back at on Yearly, in degrees. |
SHEEN | script.js | 1 | The speed of the light sliding across the paper. |
HOLD | script.js | 3.4 | The seconds on each period when the card switches by itself. |
LOOP | script.js | true | Keeps switching by itself until someone touches it. |
On the pricing page of an app or a subscription service, when the yearly plan has a discount to show: the sticker peeling and sticking back crooked draws the eye to the saving without shouting. The thick paper suits a warm, editorial or crafty brand.
The same animation with adapted sizes: the card is at most 84% of the screen wide, the gaps between its parts shrink with the height and the price is sized in vh too, so it fits the box. A tap picks the period; the light slides by itself.
Nothing moves: the light stays still, the pad jumps to the choice, the digits change with a fade, the old price appears already struck and the sticker fades out and back in already at its angle, without peeling.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.0 KB; the libraries: GSAP 28 KB.
Tested on 11 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.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
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.