
Speeding marquee
Scroll, Text, Hover
Scroll inside the preview
The card onboarding of Orrowe, a made-up bank, told in three steps as you scroll. The card arrives face down and turns over with a small lift while a light sweeps it; then it takes a finish, graphite, sand or cobalt, with the ring sliding under the swatches, and the holder’s name is engraved letter by letter; at last a drawn phone gathers around it, the card shrinks into the wallet, the two cards already there step down to make room and a note says it is ready to pay. Everything follows the scroll backwards too, and the card leans towards the pointer while it is out of the phone.
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>
<!--
"Card into wallet scroll" 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>Orrowe, set up your card</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>
<!-- a made-up bank, Orrowe, and the onboarding of its new card told on scroll: the card arrives face down and turns
over, takes a finish and the holder's name letter by letter, then a phone gathers around it and the card slots
into the wallet in front of the other two -->
<section class="corsa" data-corsa>
<div class="palco" data-palco>
<div class="alone" data-alone aria-hidden="true"></div>
<header class="testa">
<div class="marchio">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M10 2.5 17.5 10 10 17.5 2.5 10z"/><path d="M10 6.5 13.5 10 10 13.5 6.5 10z"/></svg>
<span>Orrowe</span>
</div>
<div class="barre" data-barre aria-hidden="true">
<span class="barra"><i></i></span><span class="barra"><i></i></span><span class="barra"><i></i></span>
</div>
</header>
<div class="passi" aria-live="polite">
<div class="passo" data-passo>
<p class="passo__titolo">Your card has landed</p>
<p class="passo__riga">Turn it over. It’s yours from today.</p>
</div>
<div class="passo" data-passo>
<p class="passo__titolo">Make it yours</p>
<p class="passo__riga">Pick a finish. We engrave the name.</p>
</div>
<div class="passo" data-passo>
<p class="passo__titolo">Ready to tap</p>
<p class="passo__riga">In your phone before the plastic arrives.</p>
</div>
</div>
<div class="scena" data-scena>
<!-- the phone that gathers around the card at the end -->
<div class="telefono" data-telefono aria-hidden="true">
<div class="telefono__schermo">
<div class="telefono__stato"><span>16:30</span><span class="telefono__isola"></span><span class="telefono__icone"><i></i><i></i><i></i></span></div>
<p class="telefono__titolo">Wallet</p>
<div class="altra altra--due" data-altra></div>
<div class="altra altra--una" data-altra></div>
<div class="avviso" data-avviso>
<svg viewBox="0 0 20 20" aria-hidden="true"><circle cx="10" cy="10" r="8"/><path class="avviso__spunta" data-spunta d="M6.2 10.3l2.6 2.6 5-5.4"/></svg>
<span><b>Added to wallet</b><em>Tap to pay is on</em></span>
</div>
</div>
</div>
<!-- the card, two faces -->
<div class="ombra" data-ombra aria-hidden="true"></div>
<div class="carta" data-carta role="img" aria-label="Orrowe debit card in the name of Elin Varga, ending in 4821">
<div class="faccia faccia--retro">
<div class="banda"></div>
<div class="firma"><span>Authorised signature</span><b>482</b></div>
<p class="retro__testo">Orrowe Bank. This card remains our property. If found, return it to any branch.</p>
</div>
<div class="faccia faccia--fronte">
<div class="grana"></div>
<div class="riflesso" data-riflesso></div>
<div class="fronte__alto">
<span class="fronte__marchio">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M10 2.5 17.5 10 10 17.5 2.5 10z"/><path d="M10 6.5 13.5 10 10 13.5 6.5 10z"/></svg>
Orrowe
</span>
<svg class="contactless" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 8.5c1.3 2.2 1.3 4.8 0 7"/><path d="M11.5 6.5c2.2 3.4 2.2 7.6 0 11"/><path d="M15 4.5c3 4.6 3 10.4 0 15"/></svg>
</div>
<svg class="chip" viewBox="0 0 44 34" aria-hidden="true">
<defs><linearGradient id="oro" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#f3dfa6"/><stop offset=".5" stop-color="#c9a65a"/><stop offset="1" stop-color="#e9cf8a"/></linearGradient></defs>
<rect x="1" y="1" width="42" height="32" rx="6" fill="url(#oro)"/>
<path d="M1 12h13M1 22h13M30 12h13M30 22h13M14 1v32M30 1v32M14 17h16" stroke="rgba(90,64,20,.45)" stroke-width="1" fill="none"/>
</svg>
<div class="fronte__basso">
<div>
<p class="nome" data-nome aria-hidden="true"></p>
<p class="numero">Ending in <b>4821</b></p>
</div>
<span class="tipo">Debit</span>
</div>
</div>
</div>
</div>
<div class="finiture" data-finiture aria-hidden="true">
<span class="finiture__anello" data-anello></span>
<span class="finitura" style="--c:var(--grafite-a)"></span>
<span class="finitura" style="--c:var(--sabbia-a)"></span>
<span class="finitura" style="--c:var(--cobalto-a)"></span>
<em class="finiture__nome" data-finitura-nome>Graphite</em>
</div>
<p class="invito" data-invito>Scroll to set up your card</p>
</div>
</section>
<footer class="piede">Orrowe is a made-up bank. The card and its numbers are illustrative.</footer>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/ScrollTrigger.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lenis@1.3.26/dist/lenis.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.
41 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 “Card into wallet scroll” from Animorio and fit it into my siteThe section is 460vh tall with a sticky stage one screen high. A single scrubbed ScrollTrigger takes a number from 0 to 1 and one function draws everything from it: the card, the phone, the bars and the step lines. So scrolling back replays it all in reverse.
The card has transform-style: preserve-3d and two faces with backface-visibility: hidden; the back is already turned by 180 degrees. GSAP takes rotationY from 180 to 0 and lifts it halfway with z and scale: the sine of the turn gives the lift.
The colours of the three finishes live in :root and the card gets them as CSS variables mixed with gsap.utils.interpolate: base, shade and ink move together, and the glow behind too.
The name is one span per letter: each letter has its own slice of scroll and arrives larger and lighter, then settles. The relief is a light text-shadow above and a dark one below.
Sizes are in pixels and are redone on resize: the final scale is the width of the phone screen divided by the card width, and the move brings the card centre into the wallet slot, with a back.out for the small overshoot.
| Name | File | Default | What it changes |
|---|---|---|---|
RIDE | script.js | 1 | How much scroll the three steps take: 2 is twice as long. |
NAME | script.js | 'ELIN VARGA' | The name engraved on the card. |
FLIP_LIFT | script.js | 1.05 | How much the card lifts while it turns over. |
TILT | script.js | 7 | How many degrees the card leans towards the pointer. |
SHINE | script.js | 0.8 | How bright the light that sweeps the card is (0 none). |
SCRUB | script.js | 0.6 | How far the stage lags behind the scroll, in seconds. |
For a banking or payments app onboarding, the page presenting a new card or the launch of a metal card: whoever scrolls sees it arrive, be chosen and end up in the phone, without a single click.
The same animation with adapted sizes: stage, card and phone are sized on the screen height and the card on the width too, so everything fits in the phone frame.
No motion: each third of the scroll shows a finished step, and the stage changes with a fade.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.9 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 8 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.