Skip to content
animorio
IT
All components

Sprint board

Boards, Transitions, HoverGSAP, CSS onlyMediumCompressed weight: Demo 8.3 KBGSAP 28 KBFreeDownload the zip

The sprint kanban board of a product team, in dark glass on a near black page with grain: three columns, To do, In progress and Done, with their task cards. Every column folds into a deck: the cards gather into a pile with a slight fan, the pile slips into a thin strip where the column's name stands up over a small deck and its count, and the other columns take the room on a spring. Tapping the strip deals the cards out again one after the other, and a light runs along the board's edge.

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>
<!--
  "Sprint board" 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 sprint board with the column that folds into a deck</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 sprint board of a product team, dark glass on a near black page. Each column folds into a deck: its cards
         gather into a pile, the pile slips into a thin strip with the column's name standing up, and the other columns
         take the room on a spring. Tapping the strip deals the cards out again -->
    <section class="board" data-board aria-label="Checkout v2, sprint 24">
      <span class="board__rim" aria-hidden="true"></span>
      <span class="board__glow" aria-hidden="true"></span>

      <header class="board__head">
        <div class="board__title">
          <svg class="board__mark" viewBox="0 0 20 20" aria-hidden="true">
            <rect x="2" y="2" width="16" height="16" rx="5"/>
            <path d="M6.5 7.2h7M6.5 10h4.6M6.5 12.8h5.8"/>
          </svg>
          <span class="board__name">Checkout v2</span>
          <span class="board__chip">Sprint 24</span>
        </div>
        <div class="board__score" aria-label="16 of 32 points done">
          <span class="board__pts"><b>16</b> / 32 pts</span>
          <span class="board__bar" aria-hidden="true"><span class="board__fill"></span></span>
        </div>
      </header>

      <div class="board__cols" data-cols>

        <section class="col" data-col>
          <div class="col__open" data-open>
            <header class="col__head">
              <span class="col__name">To do</span>
              <span class="col__count">3</span>
              <button class="col__btn" type="button" data-fold data-autoclic aria-label="Fold To do into a deck">
                <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 4.5L7 8l-3.5 3.5M12.5 4.5L9 8l3.5 3.5"/></svg>
              </button>
            </header>
            <ul class="col__cards">
              <li class="card" data-card><div class="card__face">
                <span class="card__tag card__tag--a">Payments</span>
                <p class="card__title">Saved cards on file</p>
                <div class="card__foot"><span class="card__id">CHK-148</span><span class="card__pts">3</span><span class="card__who">AM</span></div>
              </div></li>
              <li class="card" data-card><div class="card__face">
                <span class="card__tag card__tag--b">Forms</span>
                <p class="card__title">Address autocomplete</p>
                <div class="card__foot"><span class="card__id">CHK-151</span><span class="card__pts">2</span><span class="card__who">JR</span></div>
              </div></li>
              <li class="card" data-card><div class="card__face">
                <span class="card__tag card__tag--c">Design</span>
                <p class="card__title">Empty cart state</p>
                <div class="card__foot"><span class="card__id">CHK-153</span><span class="card__pts">1</span><span class="card__who">LN</span></div>
              </div></li>
            </ul>
          </div>
          <button class="col__strip" type="button" data-strip aria-label="Open To do, 3 tasks" tabindex="-1">
            <svg class="col__open-icon" viewBox="0 0 16 16" aria-hidden="true"><path d="M6.5 4.5L3 8l3.5 3.5M9.5 4.5L13 8l-3.5 3.5"/></svg>
            <span class="col__vertical"><span class="col__word">To do</span></span>
            <span class="col__deck" aria-hidden="true"><i></i><i></i><i></i></span>
            <span class="col__num" data-num>3</span>
          </button>
        </section>

        <section class="col" data-col>
          <div class="col__open" data-open>
            <header class="col__head">
              <span class="col__name">In progress</span>
              <span class="col__count">3</span>
              <button class="col__btn" type="button" data-fold aria-label="Fold In progress into a deck">
                <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 4.5L7 8l-3.5 3.5M12.5 4.5L9 8l3.5 3.5"/></svg>
              </button>
            </header>
            <ul class="col__cards">
              <li class="card" data-card><div class="card__face">
                <span class="card__tag card__tag--a">Payments</span>
                <p class="card__title">Apple Pay sheet</p>
                <div class="card__foot"><span class="card__id">CHK-139</span><span class="card__pts">5</span><span class="card__who">SK</span></div>
              </div></li>
              <li class="card" data-card><div class="card__face">
                <span class="card__tag card__tag--b">Forms</span>
                <p class="card__title">Promo code field</p>
                <div class="card__foot"><span class="card__id">CHK-142</span><span class="card__pts">2</span><span class="card__who">AM</span></div>
              </div></li>
              <li class="card" data-card><div class="card__face">
                <span class="card__tag card__tag--c">Design</span>
                <p class="card__title">Order summary motion</p>
                <div class="card__foot"><span class="card__id">CHK-145</span><span class="card__pts">3</span><span class="card__who">LN</span></div>
              </div></li>
            </ul>
          </div>
          <button class="col__strip" type="button" data-strip aria-label="Open In progress, 3 tasks" tabindex="-1">
            <svg class="col__open-icon" viewBox="0 0 16 16" aria-hidden="true"><path d="M6.5 4.5L3 8l3.5 3.5M9.5 4.5L13 8l-3.5 3.5"/></svg>
            <span class="col__vertical"><span class="col__word">In progress</span></span>
            <span class="col__deck" aria-hidden="true"><i></i><i></i><i></i></span>
            <span class="col__num" data-num>3</span>
          </button>
        </section>

        <section class="col" data-col data-start-folded>
          <div class="col__open" data-open>
            <header class="col__head">
              <span class="col__name">Done</span>
              <span class="col__count">3</span>
              <button class="col__btn" type="button" data-fold aria-label="Fold Done into a deck">
                <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 4.5L7 8l-3.5 3.5M12.5 4.5L9 8l3.5 3.5"/></svg>
              </button>
            </header>
            <ul class="col__cards">
              <li class="card card--done" data-card><div class="card__face">
                <svg class="card__ok" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.4"/><path d="M5.4 8.2l1.8 1.8 3.4-3.7"/></svg>
                <span class="card__tag card__tag--a">Payments</span>
                <p class="card__title">Webhook retries</p>
                <div class="card__foot"><span class="card__id">CHK-121</span><span class="card__pts">5</span><span class="card__who">JR</span></div>
              </div></li>
              <li class="card card--done" data-card><div class="card__face">
                <svg class="card__ok" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.4"/><path d="M5.4 8.2l1.8 1.8 3.4-3.7"/></svg>
                <span class="card__tag card__tag--a">Payments</span>
                <p class="card__title">Tax by region</p>
                <div class="card__foot"><span class="card__id">CHK-127</span><span class="card__pts">3</span><span class="card__who">SK</span></div>
              </div></li>
              <li class="card card--done" data-card><div class="card__face">
                <svg class="card__ok" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.4"/><path d="M5.4 8.2l1.8 1.8 3.4-3.7"/></svg>
                <span class="card__tag card__tag--b">Forms</span>
                <p class="card__title">Guest checkout</p>
                <div class="card__foot"><span class="card__id">CHK-130</span><span class="card__pts">8</span><span class="card__who">AM</span></div>
              </div></li>
            </ul>
          </div>
          <button class="col__strip" type="button" data-strip aria-label="Open Done, 3 tasks">
            <svg class="col__open-icon" viewBox="0 0 16 16" aria-hidden="true"><path d="M6.5 4.5L3 8l3.5 3.5M9.5 4.5L13 8l-3.5 3.5"/></svg>
            <span class="col__vertical"><span class="col__word">Done</span></span>
            <span class="col__deck" aria-hidden="true"><i></i><i></i><i></i></span>
            <span class="col__num" data-num>3</span>
          </button>
        </section>

      </div>
    </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.

79 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 “Sprint board” 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 near black page, with a faint violet light behind and a fine grain, a dark glass board with round corners rises: at the top the project's mark, ‘Checkout v2’, the ‘Sprint 24’ label and on the right ‘16 / 32 pts’ with a small bar going from violet to mint green. Below, three columns: To do and In progress open with three cards each (the coloured Payments, Forms or Design label, the task's title, its code, its points and the initials of whoever does it), Done folded into a thin strip with its name standing up, a small deck of three cards seen from the edge and the number 3. Then To do folds into a deck: the small arrows in its header give under the finger, the cards from the bottom up gather under the first one, a little smaller and fanned, the pile slips away, the column narrows and In progress widens on a spring; into the strip come the name rising, the deck falling card by card and the count rolling up to 3. Then Done opens again: the strip empties, the column widens past its mark and settles, and the deck comes back and is dealt out, one card after the other, each passing its place by a breath and coming back. A light runs along the board's edge towards the column that moves. The loop folds Done, opens To do and starts again. It works by hand: the small arrows fold, the strip opens, the last open column will not fold and shakes its head; with a mouse the edge light follows the pointer and the cards lift by two pixels.

How it works

Widths from a single number

Every column has a number f between 0 (folded) and 1 (open). Each frame the row's room, minus the gaps and the 38 px strips, is shared between the columns in proportion to their f: so GSAP animates only f, even with an ease that passes the mark, and the columns always fill the row with no holes.

The deck

For every card the distance between its place and the first card's, plus 5 px per card, is worked out: the cards go there from the bottom up with a slight fan (alternating rotations) and a scale that drops 4.5% per card, the first on top of all thanks to its z-index.

Lines that never wrap

While the columns change width the text must not jump: the cards have a fixed height (in vh, inside a clamp), the titles stay on one line and fade on the right through a mask, so the deck's places do not change while the column narrows.

The strip

Open and folded sit on top of each other in the same column: in the strip the name rises (a wrapper for GSAP, inside it a span rotated by the CSS), the small deck falls card by card with back.out and the count rolls from 0 to the number of tasks.

The light on the edge

A layer as big as the board has a radial gradient placed where the light is, and a mask leaves only its 1px ring; a second faint gradient lights the inside. The light chases the pointer, or the moving column, with an exponential easing.

Values to change

NameFileDefaultWhat it changes
STRIPscript.js38How wide a folded column is, in pixels.
FANscript.js1.6How much the cards turn as they gather into the deck, in degrees.
DECK_STEPscript.js5How far apart the cards of the deck sit, in pixels.
DEALscript.js0.075The time between one card and the next when the deck is dealt, in seconds.
BOUNCEscript.js1.6How much each card passes its place when dealt.
SPEEDscript.js12 = everything twice as fast, 0.5 = half.
LOOPscript.jstrueFolds and opens the columns on its own, again and again.

Try them in the Playground

When to use it

For a project management app, a tool for product or development teams, an agency dashboard: a kanban board where the columns you do not need step aside without disappearing.

On phones

The same animation with adapted sizes: the board is as wide as the box, the cards get shorter with the screen's height, two open columns and a strip fit even at 340 pixels, and a finger folds with the small arrows and opens with the strip.

With reduced motion

No flying cards and no sliding columns: the column fades out, changes width at once and the strip fades in; opening again, the cards are already in place and fade in. The edge light goes straight to its place.

Pitfalls

  • Animating three column widths with three separate tweens leaves gaps, or pushes the row out of the board when the ease passes the mark: one number per column is animated and the widths all come from their sum.
  • The standing name in the strip is rotated by the CSS: if GSAP moves it, its transform wipes out the rotation. That is why GSAP moves a wrapper and the rotation sits on the span inside.
  • With titles that wrap, the narrowing column changes the cards' height and the deck forms in the wrong place: fixed height and one-line titles.
  • A timed loop has to start from the page's load event, not from the script: otherwise the poster and the video land on a different instant from the one chosen.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

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

Testing

Tested on 2 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