Skip to content
animorio
IT
All components

Account verification steps

Steppers, TransitionsGSAP, CSS onlyMediumCompressed weight: Demo 9.1 KBGSAP 28 KBFreeDownload the zip

The account verification card of a business payments app, Ledgerline: four steps on a thin rail, Business email, Company details, Identity document and Payout account. The step being checked opens on a spring with a line and a small meter, a light runs around its tile and Checking lights up with a glint through the letters; when it passes the tile turns mint, a check draws itself, the row closes tighter than before and the rail fills down to the next step. At the end the card says You're verified, a light runs once around the edge and the Open dashboard button wakes up.

The code

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>
<!--
  "Account verification steps" 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 account verification steps with the rail that fills</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">
    <!-- the verification card of a business payments app (Ledgerline): four steps on a thin rail. The step being
         checked opens on a spring, a beam of light runs around its tile and a small bar fills; when it passes the
         tile turns mint, a check draws itself, the row closes tighter and the rail fills down to the next step.
         At the end the card says you are verified, a light runs once around its edge and the button wakes up -->
    <section class="verify" data-card aria-labelledby="verify-title">
      <span class="verify__beam" data-beam aria-hidden="true"></span>
      <header class="verify__head">
        <span class="mark" data-mark aria-hidden="true">
          <svg class="mark__logo" data-logo viewBox="0 0 24 24"><path d="M8.2 5.5 5.4 18.5M13.6 5.5l-2.8 13M19 5.5l-2.8 13"/></svg>
          <svg class="mark__seal" viewBox="0 0 24 24"><path class="mark__check" data-seal pathLength="1" d="M6.6 12.4l3.6 3.6 7.4-8"/></svg>
        </span>
        <div class="verify__titles">
          <h2 class="verify__title" id="verify-title"><span data-title>Verify your account</span></h2>
          <p class="verify__sub"><span data-sub>Ledgerline Business · 2 min</span></p>
        </div>
        <p class="verify__pct" aria-hidden="true"><span data-pct>0</span><span class="verify__pct-sign">%</span></p>
      </header>

      <div class="steps" data-steps>
        <span class="rail" data-rail aria-hidden="true"><span class="rail__fill" data-fill></span></span>
        <ol class="steps__list" role="list">
          <li class="step" data-step>
            <span class="tile" data-tile aria-hidden="true">
              <svg class="tile__frame" viewBox="0 0 28 28"><rect class="tile__track" x="0.75" y="0.75" width="26.5" height="26.5" rx="8.25"/><rect class="tile__ray" data-ray x="0.75" y="0.75" width="26.5" height="26.5" rx="8.25" pathLength="1"/></svg>
              <svg class="tile__icon" data-icon viewBox="0 0 16 16"><rect x="2" y="3.5" width="12" height="9" rx="2"/><path d="M2.6 4.6 8 8.6l5.4-4"/></svg>
              <svg class="tile__ok" viewBox="0 0 16 16"><path data-ok pathLength="1" d="M3.6 8.4l2.9 2.9 5.9-6.4"/></svg>
            </span>
            <div class="step__body">
              <p class="step__name">Business email</p>
              <div class="step__more" data-more>
                <p class="step__note">hello@northbeam.studio confirmed</p>
                <span class="meter" aria-hidden="true"><i data-meter></i></span>
              </div>
            </div>
            <span class="state" data-state>Pending</span>
          </li>
          <li class="step" data-step>
            <span class="tile" data-tile aria-hidden="true">
              <svg class="tile__frame" viewBox="0 0 28 28"><rect class="tile__track" x="0.75" y="0.75" width="26.5" height="26.5" rx="8.25"/><rect class="tile__ray" data-ray x="0.75" y="0.75" width="26.5" height="26.5" rx="8.25" pathLength="1"/></svg>
              <svg class="tile__icon" data-icon viewBox="0 0 16 16"><path d="M2.5 13.5h11M3.8 13.5V6.2L8 3l4.2 3.2v7.3M6.4 13.5v-3h3.2v3"/></svg>
              <svg class="tile__ok" viewBox="0 0 16 16"><path data-ok pathLength="1" d="M3.6 8.4l2.9 2.9 5.9-6.4"/></svg>
            </span>
            <div class="step__body">
              <p class="step__name">Company details</p>
              <div class="step__more" data-more>
                <p class="step__note">Registry match for Northbeam Ltd</p>
                <span class="meter" aria-hidden="true"><i data-meter></i></span>
              </div>
            </div>
            <span class="state" data-state>Pending</span>
          </li>
          <li class="step" data-step>
            <span class="tile" data-tile aria-hidden="true">
              <svg class="tile__frame" viewBox="0 0 28 28"><rect class="tile__track" x="0.75" y="0.75" width="26.5" height="26.5" rx="8.25"/><rect class="tile__ray" data-ray x="0.75" y="0.75" width="26.5" height="26.5" rx="8.25" pathLength="1"/></svg>
              <svg class="tile__icon" data-icon viewBox="0 0 16 16"><rect x="1.8" y="3.4" width="12.4" height="9.2" rx="2"/><circle cx="5.9" cy="7.4" r="1.5"/><path d="M3.9 10.6c.5-1 1.2-1.4 2-1.4s1.5.4 2 1.4M9.6 6.6h2.6M9.6 9h2"/></svg>
              <svg class="tile__ok" viewBox="0 0 16 16"><path data-ok pathLength="1" d="M3.6 8.4l2.9 2.9 5.9-6.4"/></svg>
            </span>
            <div class="step__body">
              <p class="step__name">Identity document</p>
              <div class="step__more" data-more>
                <p class="step__note">Passport read, face match 99%</p>
                <span class="meter" aria-hidden="true"><i data-meter></i></span>
              </div>
            </div>
            <span class="state" data-state>Pending</span>
          </li>
          <li class="step" data-step>
            <span class="tile" data-tile aria-hidden="true">
              <svg class="tile__frame" viewBox="0 0 28 28"><rect class="tile__track" x="0.75" y="0.75" width="26.5" height="26.5" rx="8.25"/><rect class="tile__ray" data-ray x="0.75" y="0.75" width="26.5" height="26.5" rx="8.25" pathLength="1"/></svg>
              <svg class="tile__icon" data-icon viewBox="0 0 16 16"><path d="M2.4 6.2 8 3l5.6 3.2zM3.6 7.6v4.4M6.4 7.6v4.4M9.6 7.6v4.4M12.4 7.6v4.4M2.4 13.4h11.2"/></svg>
              <svg class="tile__ok" viewBox="0 0 16 16"><path data-ok pathLength="1" d="M3.6 8.4l2.9 2.9 5.9-6.4"/></svg>
            </span>
            <div class="step__body">
              <p class="step__name">Payout account</p>
              <div class="step__more" data-more>
                <p class="step__note">Test deposit of $0.32 received</p>
                <span class="meter" aria-hidden="true"><i data-meter></i></span>
              </div>
            </div>
            <span class="state" data-state>Pending</span>
          </li>
        </ol>
      </div>

      <button class="go" type="button" data-go disabled>
        <span class="go__face" data-face>
          <span class="go__words" data-words>Open dashboard</span>
          <svg class="go__icon" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9.2M8.6 4.3 12.3 8l-3.7 3.7"/></svg>
        </span>
      </button>
    </section>
    <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>

Playground

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.

34 values to change

Or ask your AI assistant for it

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 “Account verification steps” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

On a black page a dark card appears with a thin edge that catches the light at the top and a light grain: at the top the Ledgerline mark, ‘Verify your account’ and the percentage on the right; below four rows on a thin vertical rail, each with its rounded tile and its icon (an envelope, a building, a document, a bank), the name and the state ‘Pending’. The first row lights up and opens on a spring: under the name a grey line and a thin meter that fills appear, a mint light runs around the tile and the state turns to ‘Checking’, with a glint passing through the letters. When the meter is full the icon leaves upwards, the tile fills with mint on a small bounce and a check draws itself inside; the state turns to ‘Verified’ in mint, the percentage goes up, the row closes tighter than before and the rail fills towards the next step with a lighter tip. The same for the four steps. At the end the mark becomes a mint tile with a check, the title turns to ‘You're verified’, a light runs once around the edge of the card and the ‘Open dashboard’ button, off until now, lights up in mint with a glint crossing it. Tapped, it gives and comes back, says ‘Opening dashboard’, then the card goes back step by step and starts again.

How it works

The rail measured every frame

The rail is an absolute element running from the centre of the first tile to the centre of the last. Its fill is not a fixed height but a position between the steps (0 is the first, 1 the second...) tweened by GSAP: every frame the ticker reads the tiles' offsetTop again and turns that position into pixels. So the rail stays attached to the tiles while the rows open and close, and survives a change of window size.

The row that opens and tightens

The hidden part of each row goes from height 0 to auto on a spring, and back to 0 when the step is verified. The row's padding is a calc between two clamps (open and closed) weighted by a CSS variable --tight that GSAP takes from 0 to 1: the finished row closes tighter than before without tweening strings GSAP cannot interpolate.

The light around the tile

The tile has a second rounded rectangle in its SVG with pathLength 1 and a 0.24 dash: while it checks GSAP turns its stroke-dashoffset attribute from 0 to -1 in a repeating tween, paused and restarted for each step. When it passes, the mint fill is an ::after with its opacity in a variable, the scale goes to 0.9 and back on the spring, and the check draws itself with stroke-dashoffset.

Checking that glints

The running state is transparent text with a three stop gradient clipped to the letters (background-clip: text) and a keyframe that moves the gradient: a glint through the letters that never touches the layout. The states change with a small roll: they leave 5 pixels upwards, change their text and come back from below on the spring.

The light around the edge

At the end a conic-gradient, seen only through a 1 pixel ring (a content-box mask in exclude mode), turns with the variable --a from 0 to 360 degrees; the button goes from off to on with a fading ::before and a slanted glint that crosses it once.

Values to change

NameFileDefaultWhat it changes
CHECKscript.js1.6The seconds each step stays on Checking before it passes.
BOUNCEscript.js0.7The springs: lower bounces more (0.5), higher settles without passing the mark (1).
HOLDscript.js2.4The seconds the card stays on You're verified before the pilot taps the button.
BEAMscript.js1How bright the light that runs around the edge at the end is.
LOOPscript.jstrueAfter each account the card goes back and starts again.

Try them in the Playground

When to use it

For the sign up of a payments app, an online bank, a marketplace or a business service that has to check the email, the details, the document and the account before turning payouts on; for any procedure in several steps that check themselves (an import, a setup, a connection to a service). It also works on a landing page to show how fast the activation is.

On phones

The same animation with adapted sizes: the card is 92% of the screen wide, the spaces between and around the rows are sized on the height too and long lines end with an ellipsis; the open card stays under 360 pixels tall and the button is tapped with a finger.

With reduced motion

Nothing moves or bounces: the rows open and close at once, the light around the tile and the one on the edge are not there, Checking does not glint, the rail reaches the next step at once; tiles, checks, states and title change with a fade.

Pitfalls

  • A fromTo inside a timeline built ahead shows its starting state at once: the title and the Pending states vanished from the first frame. All the fromTo of the text swaps have immediateRender: false.
  • The rail measured only once lagged behind the tiles while the rows opened: the fill is a position between the steps and the pixels are read again every frame, skipping the drawing when nothing changed.
  • GSAP does not interpolate two clamps written as strings: the row's padding is a calc weighted by a numeric variable.
  • text-overflow does not work on an inline-block span moved by GSAP: the lines under the title were shortened so they fit whole at 341 pixels.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 9.1 KB; the libraries: GSAP 28 KB.

Testing

Tested on 6 November 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

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.

All components