
Column shutter
Transitions
The transition between the three onboarding screens of a focus app, inside a phone on a dark page, like a Dribbble shot. One element alone travels from screen to screen: the ring of light. On the first it is the 25 minute timer with a comet turning along its edge, on the second it flies into the week card and becomes the small ring beside today's total while the bars grow, on the third it comes down to the bottom and opens into the Start button, a light pill with the same light running around it. At every step the light of the screen changes colour and the page around the phone glows with it.
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>
<!--
"Onboarding ring transition" 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 onboarding transition with the ring that crosses the screens</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 onboarding of Stillwork, an invented focus timer: three screens inside a phone. One element is shared by
all three: the ring of light. On the first screen it is the timer, on the second it flies into the week card
as a small ring, on the third it lands at the bottom and opens into the Start button -->
<span class="glow glow--a" aria-hidden="true"></span>
<span class="glow glow--b" aria-hidden="true"></span>
<div class="phone" data-phone>
<div class="screen" data-screen>
<div class="aurora" aria-hidden="true">
<span class="aurora__blob aurora__blob--a" data-blob-a></span>
<span class="aurora__blob aurora__blob--b" data-blob-b></span>
</div>
<span class="grain" aria-hidden="true"></span>
<div class="status" aria-hidden="true">
<span class="status__time">9:41</span>
<span class="status__island"></span>
<svg class="status__icons" viewBox="0 0 40 12">
<path d="M2 10V8.6M5.4 10V7M8.8 10V5.2M12.2 10V3.4" />
<rect x="21" y="2" width="15" height="8" rx="2.4" />
<rect class="status__charge" x="22.6" y="3.6" width="10.4" height="4.8" rx="1.2" />
<path d="M37.6 5v2" />
</svg>
</div>
<header class="top">
<span class="top__brand">
<svg class="top__mark" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="5.6" /><path d="M8 4.6V8l2.2 1.4" /></svg>
Stillwork
</span>
<button class="top__skip" type="button" data-skip>Skip</button>
</header>
<div class="steps" aria-hidden="true">
<span class="steps__seg"><i data-seg></i></span>
<span class="steps__seg"><i data-seg></i></span>
<span class="steps__seg"><i data-seg></i></span>
</div>
<!-- where the ring sits on each screen -->
<span class="slot slot--hero" data-slot aria-hidden="true"></span>
<span class="slot slot--mini" data-slot aria-hidden="true"></span>
<span class="slot slot--cta" data-slot aria-hidden="true"></span>
<!-- the second screen: the week -->
<section class="panel panel--week" data-panel="1" aria-hidden="true">
<div class="week__head" data-in>
<span class="week__ringspace"></span>
<span class="week__nums">
<span class="week__label">Today</span>
<span class="week__total" data-total>3h 40m</span>
</span>
<span class="week__chip">+18%</span>
</div>
<div class="week__chart" data-in>
<span class="week__grid"></span>
<span class="week__bar" data-bar style="--v:.46"><b>M</b></span>
<span class="week__bar" data-bar style="--v:.74"><b>T</b></span>
<span class="week__bar" data-bar style="--v:.6"><b>W</b></span>
<span class="week__bar" data-bar style="--v:.92"><b>T</b></span>
<span class="week__bar" data-bar style="--v:.68"><b>F</b></span>
<span class="week__bar" data-bar style="--v:.22"><b>S</b></span>
<span class="week__bar week__bar--today" data-bar style="--v:.81"><b>S</b></span>
</div>
</section>
<!-- the third screen: the first block -->
<section class="panel panel--block" data-panel="2" aria-hidden="true">
<p class="block__title" data-in>Your first block</p>
<div class="block__row" data-in><span>Task</span><strong>Draft the Q3 plan</strong></div>
<div class="block__row" data-in><span>Length</span><strong>25 min</strong></div>
<div class="block__row" data-in>
<span>Silence the phone</span>
<span class="toggle" data-toggle><span class="toggle__knob" data-knob></span></span>
</div>
</section>
<div class="copy">
<div class="copy__item" data-copy>
<h2>Focus in calm, short blocks.</h2>
<p>One timer, one task, and nothing else on the screen.</p>
</div>
<div class="copy__item" data-copy>
<h2>See where your hours went.</h2>
<p>A quiet weekly view, without streaks or noise.</p>
</div>
<div class="copy__item" data-copy>
<h2>Your first block is ready.</h2>
<p>Twenty-five minutes of deep work. Your phone goes quiet.</p>
</div>
</div>
<button class="next" type="button" data-next>
<span class="next__face">
Continue
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9.4M8.8 4.2L12.6 8l-3.8 3.8" /></svg>
</span>
</button>
<!-- the shared element: the ring of light -->
<button class="orb" type="button" data-orb aria-label="Start focusing" tabindex="-1">
<span class="orb__aura" data-aura></span>
<span class="orb__halo"></span>
<span class="orb__face" data-face></span>
<span class="orb__fill" data-fill></span>
<span class="orb__beam"></span>
<span class="orb__timer" data-timer>
<span class="orb__time" data-time>25:00</span>
<span class="orb__sub">Deep work</span>
</span>
<span class="orb__label" data-label>
<span class="orb__words" data-start>Start focusing
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9.4M8.8 4.2L12.6 8l-3.8 3.8" /></svg>
</span>
<span class="orb__words orb__words--done" data-done>Block started
<svg viewBox="0 0 16 16" aria-hidden="true"><path data-check pathLength="1" d="M3.4 8.4l3 3 6.2-6.6" /></svg>
</span>
</span>
</button>
<span class="home-bar" aria-hidden="true"></span>
</div>
<span class="sheen" data-sheen aria-hidden="true"></span>
</div>
<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.
49 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 “Onboarding ring transition” from Animorio and fit it into my siteThe phone's screen is a container with container-type: size, and everything inside is in cqw and cqh: the phone shrinks to fit a short box and the content follows it without a single media query.
Three invisible placeholders say where the ring sits on each screen: big in the middle, small in the card, wide at the bottom like the button. The script reads offsetLeft, offsetTop and the sizes (which ignore transforms) and takes the ring there with left, top, width and height.
The position travels on expo.inOut, the size on a slightly longer back.inOut: the ring leaves firmly and, arriving, passes its size by a breath and settles. The content (the time, the button's label) fades out and back in at the right moments of the flight.
The light is a conic-gradient whose angle is a CSS variable GSAP turns forever, clipped to the edge alone with a content-box mask in exclusion. A thicker, blurred copy makes the glow. It works the same on the circle and on the pill.
The accent colour is a variable on the stage: GSAP takes it from violet to sea green to amber at every step, and with it change the screen's two patches of light (which drift), the ring's aura, the comet and the glow on the page around the phone.
| Name | File | Default | What it changes |
|---|---|---|---|
HOLD | script.js | 3.2 | How many seconds each screen stays before it moves on by itself. |
MOVE | script.js | 0.95 | How many seconds the ring takes to fly from one screen to the next. |
BOUNCE | script.js | 0.9 | How far the ring passes its size when it lands; 0 = not at all. |
SPIN | script.js | 3.2 | The seconds of one turn of the light along the ring. |
GLOW | script.js | 1 | How strong the light of the ring and of the screen is. |
AUTOPLAY | script.js | true | Moves through the screens by itself. |
LOOP | script.js | true | Starts again once the first block has begun. |
For the onboarding or first run of a mobile app (productivity, wellbeing, finance, a dashboard with stats), or for an app's landing page that wants to show its three main screens telling them as a single passage.
The same animation with adapted sizes: the phone is as tall as the box allows and never wider than it, and everything inside is measured on the phone's screen, so it shrinks with it. A finger can tap Continue, Skip and Start.
No flights and no springs: at every step the ring fades out and reappears already in its place, the texts and cards change with a fade, the comet stays still on the edge and the timer does not count down. The light of the screen still changes colour, slowly.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.7 KB; the libraries: GSAP 28 KB.
Tested on 1 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.