
The colour columns
Hover, SVG
A greengrocer’s seasonal calendar: eight rows, one per fruit or vegetable, each with the bar of the months it is available. A vertical hairline follows the month under the pointer: what is in season turns green, its name steps forward and a knot ties onto the bar.
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>
<!--
"Seasonal produce calendar" 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>Seasonal calendar of fruit and vegetables with the month that lights up what is in season</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">
<!-- a greengrocer's seasonal calendar: every row is a fruit or a vegetable with the months it is in season;
the hairline follows the month under the pointer and lights up what you can buy now -->
<section class="sc" data-sc aria-label="Seasonal calendar">
<header class="sc__head">
<p class="sc__kicker">In season at Orto Nove</p>
<p class="sc__count"><b data-count></b> of <span data-total></span></p>
<p class="sc__month"><span data-month></span></p>
</header>
<div class="sc__chart" data-chart role="slider" tabindex="0" aria-label="Month" aria-valuemin="1" aria-valuemax="12">
<div class="sc__months" data-months aria-hidden="true"></div>
<div class="sc__rows" data-rows></div>
<div class="sc__track" aria-hidden="true"><div class="sc__hair" data-hair><span class="sc__cap"></span><div class="sc__knots" data-knots></div></div></div>
</div>
</section>
</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.
15 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 “Seasonal produce calendar” from Animorio and fit it into my siteThe hairline’s position is a number of months that GSAP animates with back.out and that is written as a percentage: it stays right when the card changes width, with nothing to recompute.
At each month, who was in season is compared with who is now: only the rows coming in do the step, the bar’s swell and the knot, 0.06 s apart; the ones that stay just nudge the knot.
Each row has a first and a last month: if the first comes after the last (December to March) the bars become two and the check uses “or” instead of “and”.
| Name | File | Default | What it changes |
|---|---|---|---|
START | script.js | 2 | The month lit at the start: 0 January, 11 December. |
ACCENT | script.js | #2f9259 | The colour of what is in season. |
GLIDE | script.js | 0.55 | How many seconds the hairline takes to reach the month. |
PAUSE | script.js | 1.5 | On its own: how many seconds it stays on each month. |
LOOP | script.js | true | Left alone, the hairline moves from month to month. |
On the site of a greengrocer, a farm shop, a veg box subscription or a food blog: to say what to buy now. It also suits a restaurant’s seasonal menus.
The same card, as wide as the screen: the month is chosen by tapping or dragging a finger across the chart, and the page below still scrolls vertically.
The hairline, the colours and the month’s name change at once, with no sliding or bouncing; on its own the tour of the months carries on, in steps.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 4.7 KB; the libraries: GSAP 28 KB.
Tested on 16 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.