
The colour columns
Hover, SVG
Booking a padel match: three courts seen from above, four places each. Pick the hour and the places fill or empty in a cascade; tap a free one and your initials spring in, the net twangs once and the court counts one place less.
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>
<!--
"Padel court booking" 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>Padel court booking</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">
<!-- booking a padel match: three courts seen from above, four places each; pick the hour and the
places fill or empty, tap a free one and you are in, with the net twanging once -->
<section class="pc" data-pc aria-label="Padel court booking">
<header class="pc__head">
<span class="pc__club">
<b>Club Marea Padel</b>
<span>Thursday, open matches</span>
</span>
<b class="pc__hour" data-hour>19:00</b>
</header>
<div class="pc__hours" data-hours role="radiogroup" aria-label="Hour"></div>
<div class="pc__courts" data-courts></div>
<p class="pc__foot"><span class="pc__roll"><span data-foot>Tap a free place to join</span></span></p>
</section>
<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.
14 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 “Padel court booking” from Animorio and fit it into my siteThe court lines are an SVG with pathLength 1, drawn by animating stroke-dashoffset. The four places are HTML buttons laid over it in percent, so they can be tapped and reached by keyboard.
The net is a path with one control point in the middle: animate that point with elastic.out from one side to zero and the line twangs like a string, on the side of the place taken.
Each place closes, swaps its content while invisible and reopens with back.out; the delay depends on the court and the place, and the courts’ order follows the direction of the change.
| Name | File | Default | What it changes |
|---|---|---|---|
COURT | script.js | #2b63e3 | The courts’ colour. |
ACCENT | script.js | #d6f24a | The colour of your place. |
PRICE | script.js | 9 | What a match costs per player, in euros. |
START | script.js | 2 | The hour chosen at first (0 = 17:00, 4 = 21:00). |
STAGGER | script.js | 0.045 | The gap between one place and the next when the hour changes, in seconds. |
LOOP | script.js | true | Left alone, a pointer takes a place and changes the hour. |
In the app or site of a padel or tennis club, a sports centre, a hotel with courts; and wherever you book a place in a small group: a shared table, a boat, a car pool, a class for four.
The same scene: the three courts fit in one row and the places are tapped with a finger. The scene is also sized on the window’s height.
Courts and places are already there. Changing the hour or taking a place, initials and labels change without motion and the net stays still.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.6 KB; the libraries: GSAP 28 KB.
Tested on 19 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.