
The inchworm menu
Menus, Hover, Transitions
The signup of Ridgeline Climbing, a made-up climbing gym, in four steps inside a white premium card: about you, the plan, the start day, the review. The idea: every finished step leaves its answer in the step bar on top, rolling up in place of the step’s name with a small green tick, so the bar becomes the summary as you go, and tapping a finished step takes you back to it. Steps change on a fine spring while the card takes the new height, a wrong email shakes its field and says why, the right one draws its tick. Confirmed, the bar fills, a light runs round the edge and the welcome draws its tick.
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>
<!--
"Gym signup wizard" 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 gym signup form wizard with the answers that stay in the stepper</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 membership signup of Ridgeline, an invented climbing gym: four steps in one card. Every step you finish
leaves its answer in the step bar on top, so the bar becomes the summary as you go -->
<form class="wz" data-card aria-labelledby="wz-title" novalidate>
<span class="wz__glow" aria-hidden="true"></span>
<header class="wz__head">
<span class="wz__logo" aria-hidden="true">
<svg viewBox="0 0 24 24"><path d="M3.5 18.5 9.2 8.6l3.1 5.2 2.4-3.9 5.8 8.6z"/><path class="wz__logo-snow" d="M7.7 11.2 9.2 8.6l1.5 2.5"/></svg>
</span>
<span class="wz__meta">
<span class="wz__brand">Ridgeline Climbing</span>
<span class="wz__title" id="wz-title">Become a member</span>
</span>
<span class="wz__time"><svg viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="5.6"/><path d="M8 5v3.2l2 1.3"/></svg><span>About 1 min</span></span>
</header>
<!-- the step bar: each segment shows the name of the step, then the answer you gave -->
<ol class="bar" data-bar aria-label="Steps">
<li class="seg" data-seg><button type="button" class="seg__btn" tabindex="-1" data-seg-btn>
<span class="seg__line"><span class="seg__fill" data-fill></span><span class="seg__sheen"></span></span>
<span class="seg__text"><span class="seg__name">You</span><span class="seg__ans"><svg viewBox="0 0 12 12" aria-hidden="true"><path d="M2.6 6.3 4.9 8.5 9.4 3.6"/></svg><span data-ans></span></span></span>
</button></li>
<li class="seg" data-seg><button type="button" class="seg__btn" tabindex="-1" data-seg-btn>
<span class="seg__line"><span class="seg__fill" data-fill></span><span class="seg__sheen"></span></span>
<span class="seg__text"><span class="seg__name">Plan</span><span class="seg__ans"><svg viewBox="0 0 12 12" aria-hidden="true"><path d="M2.6 6.3 4.9 8.5 9.4 3.6"/></svg><span data-ans></span></span></span>
</button></li>
<li class="seg" data-seg><button type="button" class="seg__btn" tabindex="-1" data-seg-btn>
<span class="seg__line"><span class="seg__fill" data-fill></span><span class="seg__sheen"></span></span>
<span class="seg__text"><span class="seg__name">Start</span><span class="seg__ans"><svg viewBox="0 0 12 12" aria-hidden="true"><path d="M2.6 6.3 4.9 8.5 9.4 3.6"/></svg><span data-ans></span></span></span>
</button></li>
<li class="seg" data-seg><button type="button" class="seg__btn" tabindex="-1" data-seg-btn>
<span class="seg__line"><span class="seg__fill" data-fill></span><span class="seg__sheen"></span></span>
<span class="seg__text"><span class="seg__name">Review</span><span class="seg__ans"><svg viewBox="0 0 12 12" aria-hidden="true"><path d="M2.6 6.3 4.9 8.5 9.4 3.6"/></svg><span data-ans>Joined</span></span></span>
</button></li>
</ol>
<div class="wz__body" data-body>
<!-- about you -->
<fieldset class="panel" data-panel>
<legend class="panel__q">Tell us about you</legend>
<label class="field" data-field="name">
<span class="field__label">Full name</span>
<span class="field__box">
<input class="field__input" type="text" autocomplete="name" placeholder="Ana Ruiz" data-input="name">
<svg class="field__ok" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.4"/><path d="M5.2 8.3 7.1 10.1 10.9 6"/></svg>
</span>
</label>
<label class="field" data-field="email">
<span class="field__label">Email</span>
<span class="field__box">
<input class="field__input" type="email" autocomplete="email" inputmode="email" placeholder="you@example.com" data-input="email" aria-describedby="wz-err">
<svg class="field__ok" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.4"/><path d="M5.2 8.3 7.1 10.1 10.9 6"/></svg>
</span>
<span class="field__err" id="wz-err" data-err><span class="field__err-in"><svg viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.2"/><path d="M8 4.8v3.6M8 10.9v.1"/></svg><span data-err-text>Enter a full email, like name@example.com</span></span></span>
</label>
</fieldset>
<!-- the plan -->
<fieldset class="panel" data-panel>
<legend class="panel__q"><span>Choose a plan</span><span class="panel__note">Cancel anytime</span></legend>
<div class="plans" role="radiogroup" aria-label="Plan">
<button class="plan" type="button" role="radio" aria-checked="false" data-plan="Off-peak" data-price="39" data-per="mo">
<span class="plan__radio" aria-hidden="true"><svg viewBox="0 0 14 14"><path d="M3.6 7.2 6 9.5 10.5 4.7"/></svg></span>
<span class="plan__txt"><span class="plan__name">Off-peak</span><span class="plan__sub">Weekdays before 4 pm</span></span>
<span class="plan__price">£39<small>/mo</small></span>
</button>
<button class="plan" type="button" role="radio" aria-checked="false" data-plan="Unlimited" data-price="59" data-per="mo">
<span class="plan__radio" aria-hidden="true"><svg viewBox="0 0 14 14"><path d="M3.6 7.2 6 9.5 10.5 4.7"/></svg></span>
<span class="plan__txt"><span class="plan__name">Unlimited <span class="plan__tag">Popular</span></span><span class="plan__sub">Any time, gear hire included</span></span>
<span class="plan__price">£59<small>/mo</small></span>
</button>
<button class="plan" type="button" role="radio" aria-checked="false" data-plan="Annual" data-price="590" data-per="yr">
<span class="plan__radio" aria-hidden="true"><svg viewBox="0 0 14 14"><path d="M3.6 7.2 6 9.5 10.5 4.7"/></svg></span>
<span class="plan__txt"><span class="plan__name">Annual</span><span class="plan__sub">Two months free</span></span>
<span class="plan__price">£590<small>/yr</small></span>
</button>
</div>
</fieldset>
<!-- the start -->
<fieldset class="panel" data-panel>
<legend class="panel__q"><span>When do you start?</span><span class="panel__note">November</span></legend>
<div class="days" role="radiogroup" aria-label="Start day" data-days></div>
<button class="check" type="button" role="checkbox" aria-checked="false" data-induct>
<span class="check__box" aria-hidden="true"><svg viewBox="0 0 14 14"><path d="M3.2 7.3 5.8 9.8 10.9 4.4"/></svg></span>
<span class="check__txt"><span class="check__name">Book a free induction</span><span class="check__sub">45 min with a coach on your first visit</span></span>
</button>
</fieldset>
<!-- the review -->
<section class="panel panel--review" data-panel aria-live="polite">
<p class="panel__q">Check and confirm</p>
<dl class="rows">
<div class="row" data-row="0"><dt>Member</dt><dd data-r-name>Ana Ruiz</dd><button type="button" class="row__edit" data-edit>Edit</button></div>
<div class="row" data-row="1"><dt>Plan</dt><dd data-r-plan>Unlimited · £59/mo</dd><button type="button" class="row__edit" data-edit>Edit</button></div>
<div class="row" data-row="2"><dt>Starts</dt><dd data-r-start>Mon 23 Nov</dd><button type="button" class="row__edit" data-edit>Edit</button></div>
</dl>
<div class="due"><span>Due today</span><strong>£<span data-due>59</span></strong></div>
</section>
<!-- welcome -->
<section class="panel panel--done" data-panel aria-live="polite">
<svg class="done__mark" viewBox="0 0 64 64" aria-hidden="true">
<circle class="done__halo" cx="32" cy="32" r="30"/>
<circle class="done__ring" cx="32" cy="32" r="22"/>
<path class="done__tick" d="M22.5 32.8 29 39.2 42 25.4"/>
</svg>
<h2 class="done__title">You're in, <span data-d-name>Ana</span></h2>
<p class="done__sub">Member <strong data-d-ref>RL-20841</strong> · show it at the desk</p>
</section>
</div>
<div class="acts">
<button class="back" type="button" data-back aria-label="Back">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M11.5 5.5 7 10l4.5 4.5"/></svg>
<span>Back</span>
</button>
<button class="cta" type="button" data-cta>
<span class="cta__bg" aria-hidden="true"></span>
<span class="cta__label" data-cta-label>Continue</span>
<svg class="cta__arrow" viewBox="0 0 20 20" aria-hidden="true"><path d="M5 10h9.5M10.5 5.5 15 10l-4.5 4.5"/></svg>
<svg class="cta__spin" viewBox="0 0 20 20" aria-hidden="true"><circle cx="10" cy="10" r="6.5"/></svg>
</button>
</div>
</form>
<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.
71 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 “Gym signup wizard” from Animorio and fit it into my siteThe four panels and the welcome are all absolutely placed in the same container; only the current one is visible, and GSAP gives the container the height of the incoming panel, so the card grows or shrinks along with the change.
The outgoing panel moves sideways and blurs by 3 pixels; the incoming one arrives from the other side with back.out, which takes it one pixel past and back, and its rows rise staggered. Back swaps the sides.
Each stroke has two lines in the same 16 pixel box: the step’s name and the answer. When the step is done the name rolls away and the answer rolls up from below with a small elastic, the tick draws by its stroke and a glint crosses the line. The current step’s stroke fills with how complete it is.
The field is checked as you type with a simple rule; Continue with a half email turns the border red, shakes the box with damped keyframes and opens the error line by animating its height to auto. As soon as the email is right the line closes and the green tick draws.
The button shows the spinner, the Review stroke fills almost all the way, then the welcome comes in: the halo and the green circle swell, the tick draws, and a masked conic-gradient on the edge runs round the card by animating a CSS variable.
| Name | File | Default | What it changes |
|---|---|---|---|
STEP_TIME | script.js | 0.5 | How many seconds a step takes to leave and the next to come in. |
SPRING | script.js | 1.4 | How far the incoming step overshoots before it settles (0 none). |
SLIDE | script.js | 34 | How many pixels the steps slide sideways when they change. |
SHAKE | script.js | 6 | How many pixels the field shakes with a wrong email (0 still). |
TYPE_SPEED | script.js | 14 | How many letters per second the pilot types. |
HOLD | script.js | 3 | How many seconds the pilot stays on the welcome. |
SPEED | script.js | 1 | The pilot’s speed (2 twice as fast, 0.5 half). |
LOOP | script.js | true | Left alone, the pilot signs up again from the start. |
In the signup of a gym, a course, a yoga or language school, a service or app subscription, the onboarding of a product: anywhere a long form is split into a few steps and whoever fills it in wants to see what they have already chosen.
The card narrows to 92 vw and the heights of fields, plans, days and buttons use clamp with vh, so it fits the phone box; answers too long for the bar end with an ellipsis, and below 470 pixels of height the secondary lines disappear.
No slides, blurs, shakes or springs: the steps change with a fade, the answers appear in place in the bar, the ticks appear already drawn and the total is already written. The drawn pointer is not shown, the demo still repeats.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 12 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.