
The colour columns
Hover, SVG
Choosing how often the refill of a subscription product arrives: a three-place selector (every two, four or six weeks) and below it a strip of twelve weeks with the parcels on their delivery weeks. Changing frequency the parcels slide to their new weeks, the ones too many close up and the missing ones drop into place, while deliveries and monthly cost are counted again.
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>
<!--
"Delivery frequency" 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>Subscription delivery frequency with the parcels that move along the weeks</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 refill plan of a shop: choosing how often it arrives, the parcels slide to their new weeks on the
twelve-week strip, the ones too many shrink away, and deliveries, monthly cost and next date are recounted -->
<section class="plan" data-plan aria-label="Refill plan">
<header class="plan__head">
<div><span>Refill plan</span><h1>Oat hand soap, 500 ml</h1></div>
<p class="plan__price"><strong><span data-cur>€</span><span data-month>15</span></strong><small>a month</small></p>
</header>
<div class="freq" role="radiogroup" aria-label="Delivery frequency" data-freq><span class="freq__thumb" data-thumb aria-hidden="true"></span></div>
<div class="weeks" aria-hidden="true">
<div class="weeks__lane" data-lane></div>
<div class="weeks__ticks" data-ticks></div>
<div class="weeks__months"><span>This month</span><span>Next</span><span>After</span></div>
</div>
<p class="plan__foot"><span class="roll"><span data-count>3 deliveries in 12 weeks</span></span><span class="roll plan__next"><span data-next>First in 4 weeks</span></span></p>
</section>
<p class="sr" data-live aria-live="polite"></p>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></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.
22 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 “Delivery frequency” from Animorio and fit it into my siteThere are always six parcels, as many as the most frequent plan needs. For each frequency parcel number k sits at week k times the frequency, if it falls within the twelve: the position is left in percent of the strip, so nothing to recalculate on resize.
A parcel that was there and stays slides to its new position with back.out; one that appears is put in place and drops from 12 pixels above while growing from zero; one too many scales to zero. The delay follows the direction of the change: from the first parcel when they spread out, from the last when they close up.
Deliveries, monthly cost (price times four divided by the weeks) and first delivery come from the chosen frequency; the cost counts with power2.out and the two lines roll one shortly after the other, so the card is never left without text.
| Name | File | Default | What it changes |
|---|---|---|---|
PRICE | script.js | 15 | The price of one delivery. |
PICK | script.js | 2 | The frequency chosen at the start: 1 every two weeks, 2 every four, 3 every six. |
MOVE | script.js | 0.7 | How many seconds the parcels take to move. |
STAGGER | script.js | 0.05 | The delay between one parcel and the next. |
CURRENCY | script.js | € | The currency symbol. |
ACCENT | script.js | #0e9f8e | The parcels’ colour. |
PAUSE | script.js | 2 | On its own: how many seconds it stays on a frequency. |
LOOP | script.js | true | Left alone, a pointer tries the three frequencies. |
For the product page or the subscriptions area of a shop selling refills: soap, coffee, pet food, contact lenses, razors, vitamins. The buyer sees on the calendar what changes, not just a number in a dropdown. It also suits a service’s frequency: cleaning, gardening, lessons.
The same card, as wide as the screen minus the margins, with selector and strip measured on the height too; the frequency is chosen with a tap.
No sliding or dropping parcels or stretching thumb: parcels, cells, cost and lines are at their state at once.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.4 KB; the libraries: GSAP 28 KB.
Tested on 15 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.