
The inchworm menu
Menus, Hover, Transitions
The schedule tabs of a made-up conference of ideas, Fernway Ideas: Morning, Afternoon and Evening in a light track, with the white pill travelling to the chosen tab on a real spring, stretching as it runs and settling with a pixel of bounce. Below, the talks (time, length, title, speaker, room) leave on one side and come in from the other, the way you went, one after the other; hover a talk and it opens with its summary and a Save bookmark, and the saved count on top rolls.
A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN.
<!doctype html>
<!--
"Conference schedule tabs" 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 conference schedule tabs with the talks that slide in</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" data-stage>
<!-- the schedule of Fernway Ideas, an invented one-day conference of ideas: three tabs (Morning, Afternoon,
Evening) with an indicator that travels on a spring, and the talks underneath that leave on one side and
come in from the other, the way you went. Hover or focus a talk and its row opens with the summary. -->
<section class="prog" data-prog aria-labelledby="prog-title">
<header class="prog__head">
<span class="prog__mark" aria-hidden="true">
<svg viewBox="0 0 24 24"><path class="prog__mark-a" d="M12 3.2c3.6 3 5.2 6.1 5.2 9.1a5.2 5.2 0 0 1-10.4 0c0-3 1.6-6.1 5.2-9.1z"/><path class="prog__mark-b" d="M12 9.4v10.4M12 14.2l2.6-2.4M12 16.8l-2.4-2.1"/></svg>
</span>
<span class="prog__meta">
<span class="prog__brand" id="prog-title">Fernway Ideas</span>
<span class="prog__sub">Sat 14 Mar · Harbour Hall</span>
</span>
<span class="prog__saved" aria-live="polite">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4.5 2.5h7v11L8 10.9l-3.5 2.6z"/></svg>
<span class="prog__roll" data-saved-roll><span data-saved>1</span></span>
<span class="prog__saved-word">saved</span>
</span>
</header>
<div class="tabs" role="tablist" aria-label="Schedule" data-tabs>
<span class="tabs__ind" data-ind aria-hidden="true"><span class="tabs__shine"></span></span>
<button class="tab" role="tab" type="button" id="tab-morning" aria-controls="talks" data-tab="morning" aria-selected="true">
<span class="tab__word">Morning</span><span class="tab__count" data-count>3</span>
</button>
<button class="tab" role="tab" type="button" id="tab-afternoon" aria-controls="talks" data-tab="afternoon" aria-selected="false" tabindex="-1" data-autoclic>
<span class="tab__word">Afternoon</span><span class="tab__count" data-count>3</span>
</button>
<button class="tab" role="tab" type="button" id="tab-evening" aria-controls="talks" data-tab="evening" aria-selected="false" tabindex="-1">
<span class="tab__word">Evening</span><span class="tab__count" data-count>3</span>
</button>
</div>
<div class="talks" id="talks" role="tabpanel" aria-labelledby="tab-morning" data-panel>
<ol class="talks__list" data-list></ol>
</div>
<footer class="prog__foot">
<span class="prog__span" data-span>09:30 to 11:45</span>
<span class="prog__rooms">Main stage · Glasshouse · Loft</span>
</footer>
</section>
<svg class="pointer" viewBox="0 0 24 24" aria-hidden="true" data-pointer><path d="M5 3.5 18.5 12 12.4 13.6 9.4 19.6z"/></svg>
<p class="sr" aria-live="polite" data-live></p>
</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.
30 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 “Conference schedule tabs” from Animorio and fit it into my siteThe pill is an absolutely positioned element in the track. A requestAnimationFrame loop integrates two springs, x and width, towards the chosen tab (measured with getBoundingClientRect): acceleration = STIFFNESS times the distance minus DAMPING times the speed, with the time step capped at 1/30 s. The drawn width grows with the speed (STRETCH), so the pill stretches as it runs; the loop stops when everything is still.
On a tab change the new index is compared with the old one: the previous list goes absolute and leaves towards -direction by SLIDE pixels, fading, while the new one comes in from +direction with back.out and a STAGGER seconds stagger. The time starts a little after the title, and the panel height goes from the old one to the new one in half a second.
Each talk has a hidden part at height 0: on mouse hover or keyboard focus GSAP takes it to height auto in OPEN_TIME seconds, the text fades in and the bookmark arrives with a bounce; behind, a white sheet with a shadow rises from 98.5% to 100%. On a phone the tap stands in for hover.
Save changes aria-pressed and the saved count: the old digit leaves upwards (or downwards when it drops) and the new one comes in from the other side with back.out, inside a window one line tall.
The tabs are a tablist: arrows, Home and End change session. A drawn pointer opens a talk, saves it, goes to the afternoon and the evening and back to the morning the other way, then unsaves it; at the first real move, tap or key it stops.
| Name | File | Default | What it changes |
|---|---|---|---|
STIFFNESS | script.js | 260 | How hard the spring pulls the pill to its tab. |
DAMPING | script.js | 22 | How fast the pill stops wobbling (lower means more bounce). |
STRETCH | script.js | 0.045 | How much the pill stretches with its speed. |
SLIDE | script.js | 26 | Pixels the talks travel when they leave and come in. |
STAGGER | script.js | 0.055 | Seconds between one talk and the next. |
OPEN_TIME | script.js | 0.42 | Seconds for a talk to open with its summary. |
SPEED | script.js | 1 | Pilot speed. |
LOOP | script.js | true | The pilot starts over. |
On the site of a conference, a festival, a series of talks or a course: the schedule split by part of the day (or by days, or rooms), with the details of each talk opening without leaving the page. It also works for a restaurant's hours, gym classes or the sessions of an online event.
The same animation with adapted sizes: the card is 92% of the screen wide, rows and tabs also follow the window height, so it all fits the phone box. A tap on a talk stands in for hover and opens it; under 360 pixels the list of rooms at the bottom is hidden.
Nothing moves: the pill jumps to the tab with a fade, the talks swap with a fade, rows open at once and the Live bars stay still; the pilot's pointer is hidden.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 11 KB; the libraries: GSAP 28 KB.
Tested on 9 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.