
The elastic button
Buttons, Hover, Text
The “Get started” card of a team app, in the style of product components: a progress ring and five tasks. Hover a task and it opens with a line of help and its button; once done, the box fills with a check, the label is struck through, the ring and the count move on with a rolling digit, the task slides to the bottom and the next one opens. At five of five the card folds into one green line.
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>
<!--
"Getting started checklist" 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 getting started checklist</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 product's getting started card: a progress ring, five tasks. Hover a task and it opens; finish it and the box
fills, the label is struck through, the ring and the count move on, the task slides to the bottom and the next
one opens by itself. At five of five the card folds into one green line -->
<section class="card" data-card aria-label="Getting started with Tessly">
<header class="head">
<span class="ring" aria-hidden="true">
<svg viewBox="0 0 44 44">
<circle class="ring__track" cx="22" cy="22" r="18"></circle>
<circle class="ring__bar" data-ring cx="22" cy="22" r="18"></circle>
</svg>
<svg class="ring__check" data-ring-check viewBox="0 0 24 24"><path d="M6.5 12.5l3.6 3.5 7.4-8"></path></svg>
</span>
<span class="head__text">
<span class="head__title" data-title>Get started</span>
<span class="head__sub" data-sub><span class="roll" data-done aria-hidden="true"></span><span class="sr-only" data-done-text>2</span> of <span data-total>5</span> done · Set up Tessly for your team</span>
</span>
<span class="head__all" data-all aria-hidden="true">You’re all set</span>
</header>
<ol class="tasks" data-tasks>
<li class="task" data-task data-hint="Name it and pick a colour. You can rename it later." data-cta="Create">
<button class="task__row" type="button" aria-expanded="false">
<span class="box" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M5 10.4l3.2 3.1 6.6-7"></path></svg></span>
<span class="task__label"><span class="task__text">Create your workspace</span><span class="strike" aria-hidden="true"></span></span>
<svg class="chev" viewBox="0 0 20 20" aria-hidden="true"><path d="M7.5 5.5 12 10l-4.5 4.5"></path></svg>
</button>
<div class="task__body"><div class="task__inner"><p class="task__hint"></p><span class="task__cta" role="button" tabindex="-1"></span></div></div>
</li>
<li class="task" data-task data-hint="Send a link to the people you plan with. They join in one click." data-cta="Invite">
<button class="task__row" type="button" aria-expanded="false">
<span class="box" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M5 10.4l3.2 3.1 6.6-7"></path></svg></span>
<span class="task__label"><span class="task__text">Invite your team</span><span class="strike" aria-hidden="true"></span></span>
<svg class="chev" viewBox="0 0 20 20" aria-hidden="true"><path d="M7.5 5.5 12 10l-4.5 4.5"></path></svg>
</button>
<div class="task__body"><div class="task__inner"><p class="task__hint"></p><span class="task__cta" role="button" tabindex="-1"></span></div></div>
</li>
<li class="task" data-task data-hint="Your meetings show up next to your tasks, so the week fits." data-cta="Connect">
<button class="task__row" type="button" aria-expanded="false">
<span class="box" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M5 10.4l3.2 3.1 6.6-7"></path></svg></span>
<span class="task__label"><span class="task__text">Connect a calendar</span><span class="strike" aria-hidden="true"></span></span>
<svg class="chev" viewBox="0 0 20 20" aria-hidden="true"><path d="M7.5 5.5 12 10l-4.5 4.5"></path></svg>
</button>
<div class="task__body"><div class="task__inner"><p class="task__hint"></p><span class="task__cta" role="button" tabindex="-1"></span></div></div>
</li>
<li class="task" data-task data-hint="Bring them in from a spreadsheet or another app. Nothing gets lost." data-cta="Import">
<button class="task__row" type="button" aria-expanded="false">
<span class="box" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M5 10.4l3.2 3.1 6.6-7"></path></svg></span>
<span class="task__label"><span class="task__text">Import your tasks</span><span class="strike" aria-hidden="true"></span></span>
<svg class="chev" viewBox="0 0 20 20" aria-hidden="true"><path d="M7.5 5.5 12 10l-4.5 4.5"></path></svg>
</button>
<div class="task__body"><div class="task__inner"><p class="task__hint"></p><span class="task__cta" role="button" tabindex="-1"></span></div></div>
</li>
<li class="task" data-task data-hint="Choose when Tessly may nudge you, and when it stays quiet." data-cta="Set up">
<button class="task__row" type="button" aria-expanded="false">
<span class="box" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M5 10.4l3.2 3.1 6.6-7"></path></svg></span>
<span class="task__label"><span class="task__text">Set up notifications</span><span class="strike" aria-hidden="true"></span></span>
<svg class="chev" viewBox="0 0 20 20" aria-hidden="true"><path d="M7.5 5.5 12 10l-4.5 4.5"></path></svg>
</button>
<div class="task__body"><div class="task__inner"><p class="task__hint"></p><span class="task__cta" role="button" tabindex="-1"></span></div></div>
</li>
</ol>
</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.
27 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 “Getting started checklist” from Animorio and fit it into my siteThe tasks are an ordered list with one button per row (aria-expanded says whether it is open) and a hidden body with the help line and the button. The box is a rounded square with an SVG check: no dots in front of the items.
A task’s body goes from height 0 to height auto with GSAP, in 0.42 seconds with power3.out; inside, the line and the button come in six hundredths later. One opens at a time: opening a task closes the open one.
The check is a stroke with its own length (getTotalLength) going from hidden to drawn; the line striking the text is as wide as the words and grows with scaleX from the left. The box squeezes to 0.82 and springs back with back.out.
The ring is an SVG circle with a stroke-dasharray as long as its circumference: the stroke-dashoffset goes down with every task. The digit of the count is a column of numbers from 0 to 5 inside a one-line window, moved with yPercent.
The done task moves to the end of the list in the DOM; first the positions of all rows are measured, then they are put back where they were with y and let go to zero on a short spring (FLIP), so the change of order reads as a movement.
| Name | File | Default | What it changes |
|---|---|---|---|
DONE_AT_START | script.js | 2 | How many tasks are already done when the card appears (0 to 4). |
ACCENT | script.js | "#4f46e5" | The colour of the ring and the checked boxes. |
SPRING | script.js | 0.5 | How long the done task takes to slide to the bottom, in seconds. |
OPEN_ON_HOVER | script.js | 1 | 1 = a task opens when the mouse passes over it, 0 = only on click. |
ALL_SET_HOLD | script.js | 2.4 | How many seconds the green line stays before the autopilot starts again. |
On the first screen of an app or a service after sign up: the steps to set up the account (create the space, invite the team, connect a calendar), with progress always in sight and one step open at a time.
The same card with adapted sizes: it takes almost the full width, the type drops a size and the margins tighten, so five tasks and the open one fit in the box. Tapping a row opens it, tapping the button completes it.
No movement or bounce: tasks open and close with a fade, the check and the strike appear already drawn, the digit changes without rolling and the done task moves to the bottom with a fade instead of sliding.
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 25 October 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.