Skip to content
animorio
IT
Back to the library

Pinned repos scroll

Scroll, SVGGSAP, CSS onlyMediumCompressed weight: Demo 7.6 KBGSAP + ScrollTrigger 45 KBLenis 5.3 KBFreeDownload the zip

Scroll inside the preview

The «Selected work» section of a made-up developer’s portfolio, with the projects as pinned GitHub repositories: as you scroll, the title has already risen word by word and four cards arrive one at a time on two columns; when a card lands, its stars and forks roll digit by digit to their numbers, the star fills with green and pops, and the language bar fills from the left one language at a time. At the bottom the year’s contribution graph lights up in a diagonal wave. Everything follows the scroll and plays back as you scroll 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>
<!--
  "Pinned repos 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>Selected work · Ines Varga</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/jetbrains-mono@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- The "Selected work" section of a made-up developer portfolio. A sticky stage: the title rises word by word, then
       four pinned repositories arrive one at a time; as each lands its stars and forks roll to their numbers and its
       language bar fills from the left. At the end a small contribution graph lights up in a wave. -->
  <section class="corsa" data-corsa>
    <div class="palco" data-palco>
      <header class="testa">
        <p class="testa__chi" data-chi><span class="testa__sigla" aria-hidden="true">IV</span><span>Ines Varga</span><span class="testa__ruolo">Software engineer, Rotterdam</span></p>
        <h1 class="testa__titolo" data-titolo>Selected work</h1>
        <p class="testa__sotto" data-sotto>Open source I maintain, pinned from GitHub.</p>
      </header>

      <div class="griglia" data-griglia>

        <article class="repo" data-repo data-stelle="2413" data-fork="187" tabindex="0">
          <div class="repo__testa">
            <svg class="repo__libro" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 2.5h7.5a1.5 1.5 0 0 1 1.5 1.5v9.5H4.5A1.5 1.5 0 0 1 3 12V2.5Z"/><path d="M3 12a1.5 1.5 0 0 1 1.5-1.5H12"/><path d="M6 13.5v2l1-.7 1 .7v-2"/></svg>
            <span class="repo__nome">tidepool</span>
            <span class="repo__stato"><span>Public</span></span>
          </div>
          <p class="repo__frase">A tiny job queue for Postgres, with retries that back off politely.</p>
          <div class="repo__dati">
            <span class="repo__lingua"><i style="--c: var(--ts)"></i>TypeScript</span>
            <span class="repo__conto" aria-label="2,413 stars"><svg class="repo__stella" viewBox="0 0 16 16" aria-hidden="true"><path data-stella d="M8 1.6l1.9 4 4.3.5-3.2 2.9.9 4.3L8 11.1l-3.9 2.2.9-4.3L1.8 6.1l4.3-.5L8 1.6Z"/></svg><span class="rulli" data-rulli="stelle"></span></span>
            <span class="repo__conto" aria-label="187 forks"><svg class="repo__fork" viewBox="0 0 16 16" aria-hidden="true"><circle cx="4.5" cy="3.5" r="1.6"/><circle cx="11.5" cy="3.5" r="1.6"/><circle cx="8" cy="12.5" r="1.6"/><path d="M4.5 5.1v1.4c0 1 .8 1.8 1.8 1.8h3.4c1 0 1.8-.8 1.8-1.8V5.1M8 8.3v2.6"/></svg><span class="rulli" data-rulli="fork"></span></span>
          </div>
          <div class="barra" aria-hidden="true"><i data-pezzo style="--c: var(--ts); --w: 68"></i><i data-pezzo style="--c: var(--sh); --w: 20"></i><i data-pezzo style="--c: var(--dk); --w: 12"></i></div>
        </article>

        <article class="repo" data-repo data-stelle="961" data-fork="54" tabindex="0">
          <div class="repo__testa">
            <svg class="repo__libro" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 2.5h7.5a1.5 1.5 0 0 1 1.5 1.5v9.5H4.5A1.5 1.5 0 0 1 3 12V2.5Z"/><path d="M3 12a1.5 1.5 0 0 1 1.5-1.5H12"/><path d="M6 13.5v2l1-.7 1 .7v-2"/></svg>
            <span class="repo__nome">fernlog</span>
            <span class="repo__stato"><span>Public</span></span>
          </div>
          <p class="repo__frase">Structured logging for Rust that stays fast under load.</p>
          <div class="repo__dati">
            <span class="repo__lingua"><i style="--c: var(--rs)"></i>Rust</span>
            <span class="repo__conto" aria-label="961 stars"><svg class="repo__stella" viewBox="0 0 16 16" aria-hidden="true"><path data-stella d="M8 1.6l1.9 4 4.3.5-3.2 2.9.9 4.3L8 11.1l-3.9 2.2.9-4.3L1.8 6.1l4.3-.5L8 1.6Z"/></svg><span class="rulli" data-rulli="stelle"></span></span>
            <span class="repo__conto" aria-label="54 forks"><svg class="repo__fork" viewBox="0 0 16 16" aria-hidden="true"><circle cx="4.5" cy="3.5" r="1.6"/><circle cx="11.5" cy="3.5" r="1.6"/><circle cx="8" cy="12.5" r="1.6"/><path d="M4.5 5.1v1.4c0 1 .8 1.8 1.8 1.8h3.4c1 0 1.8-.8 1.8-1.8V5.1M8 8.3v2.6"/></svg><span class="rulli" data-rulli="fork"></span></span>
          </div>
          <div class="barra" aria-hidden="true"><i data-pezzo style="--c: var(--rs); --w: 91"></i><i data-pezzo style="--c: var(--sh); --w: 9"></i></div>
        </article>

        <article class="repo" data-repo data-stelle="1207" data-fork="88" tabindex="0">
          <div class="repo__testa">
            <svg class="repo__libro" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 2.5h7.5a1.5 1.5 0 0 1 1.5 1.5v9.5H4.5A1.5 1.5 0 0 1 3 12V2.5Z"/><path d="M3 12a1.5 1.5 0 0 1 1.5-1.5H12"/><path d="M6 13.5v2l1-.7 1 .7v-2"/></svg>
            <span class="repo__nome">palette-cli</span>
            <span class="repo__stato"><span>Public</span></span>
          </div>
          <p class="repo__frase">Pulls a colour palette out of any image, right in your terminal.</p>
          <div class="repo__dati">
            <span class="repo__lingua"><i style="--c: var(--py)"></i>Python</span>
            <span class="repo__conto" aria-label="1,207 stars"><svg class="repo__stella" viewBox="0 0 16 16" aria-hidden="true"><path data-stella d="M8 1.6l1.9 4 4.3.5-3.2 2.9.9 4.3L8 11.1l-3.9 2.2.9-4.3L1.8 6.1l4.3-.5L8 1.6Z"/></svg><span class="rulli" data-rulli="stelle"></span></span>
            <span class="repo__conto" aria-label="88 forks"><svg class="repo__fork" viewBox="0 0 16 16" aria-hidden="true"><circle cx="4.5" cy="3.5" r="1.6"/><circle cx="11.5" cy="3.5" r="1.6"/><circle cx="8" cy="12.5" r="1.6"/><path d="M4.5 5.1v1.4c0 1 .8 1.8 1.8 1.8h3.4c1 0 1.8-.8 1.8-1.8V5.1M8 8.3v2.6"/></svg><span class="rulli" data-rulli="fork"></span></span>
          </div>
          <div class="barra" aria-hidden="true"><i data-pezzo style="--c: var(--py); --w: 84"></i><i data-pezzo style="--c: var(--sh); --w: 16"></i></div>
        </article>

        <article class="repo" data-repo data-stelle="538" data-fork="31" tabindex="0">
          <div class="repo__testa">
            <svg class="repo__libro" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 2.5h7.5a1.5 1.5 0 0 1 1.5 1.5v9.5H4.5A1.5 1.5 0 0 1 3 12V2.5Z"/><path d="M3 12a1.5 1.5 0 0 1 1.5-1.5H12"/><path d="M6 13.5v2l1-.7 1 .7v-2"/></svg>
            <span class="repo__nome">quietcal</span>
            <span class="repo__stato"><span>Public</span></span>
          </div>
          <p class="repo__frase">Two-way calendar sync in Go that never double-books you.</p>
          <div class="repo__dati">
            <span class="repo__lingua"><i style="--c: var(--go)"></i>Go</span>
            <span class="repo__conto" aria-label="538 stars"><svg class="repo__stella" viewBox="0 0 16 16" aria-hidden="true"><path data-stella d="M8 1.6l1.9 4 4.3.5-3.2 2.9.9 4.3L8 11.1l-3.9 2.2.9-4.3L1.8 6.1l4.3-.5L8 1.6Z"/></svg><span class="rulli" data-rulli="stelle"></span></span>
            <span class="repo__conto" aria-label="31 forks"><svg class="repo__fork" viewBox="0 0 16 16" aria-hidden="true"><circle cx="4.5" cy="3.5" r="1.6"/><circle cx="11.5" cy="3.5" r="1.6"/><circle cx="8" cy="12.5" r="1.6"/><path d="M4.5 5.1v1.4c0 1 .8 1.8 1.8 1.8h3.4c1 0 1.8-.8 1.8-1.8V5.1M8 8.3v2.6"/></svg><span class="rulli" data-rulli="fork"></span></span>
          </div>
          <div class="barra" aria-hidden="true"><i data-pezzo style="--c: var(--go); --w: 77"></i><i data-pezzo style="--c: var(--ts); --w: 15"></i><i data-pezzo style="--c: var(--sh); --w: 8"></i></div>
        </article>

      </div>

      <div class="contributi" data-contributi>
        <p class="contributi__conto"><span data-contributi-numero>1,284</span> contributions in the last year</p>
        <svg class="contributi__griglia" data-celle aria-hidden="true"></svg>
      </div>
    </div>
  </section>

  <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>

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.

48 values to change

Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI

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 “Pinned repos scroll” 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

At the top the initials IV, Ines Varga and «Software engineer, Rotterdam», then the title «Selected work» rising word by word from a mask, turning 5 degrees from its foot, and the line «Open source I maintain, pinned from GitHub.». As you scroll the stage holds still and four pinned repositories arrive: tidepool (TypeScript), fernlog (Rust), palette-cli (Python) and quietcal (Go), each from 46 pixels lower, slightly tilted and a little smaller, with a bounce. When a card lands, its stars and forks roll digit by digit like an odometer up to 2,413 and 187, 961 and 54, 1,207 and 88, 538 and 31; the leading digits only appear when needed. The star fills with green and pops, the language bar fills from the left, one piece per language. At the end «1,284 contributions in the last year» appears and the contribution graph, seven rows of small squares, lights up in a wave running down diagonally. On hover a card takes a deeper shadow and its name turns green; the cards can also be reached with Tab.

How it works

The pinned stage

The section is SCREENS screens tall and holds a sticky stage 100lvh tall. A single ScrollTrigger from the start to the end of the section drives a timeline with a 0.6 scrub: everything plays back as you scroll up.

The cards arriving

Each card starts transparent, 46 pixels lower, at scale 0.965 and tilted 0.6 degrees right or left, and lands over one timeline step with back.out(1.4). The cards are 1.6 steps apart.

The odometer

Each digit is a strip from 0 to 9 plus a trailing 0, in a window one line tall. The value runs from 0 to the real number with power3.out: the units always turn, the other digits only turn during the last unit before they change, like a real odometer. Leading digits and commas appear when the number reaches them.

The star and the bar

When the count is at 85% the star fills with the accent and grows to 1.28, coming back to 1 with back.out(3). The pieces of the language bar grow in scaleX from a left origin, one every 0.28 steps.

The contribution wave

The graph is an SVG of seven rows of small squares, rebuilt when the width changes. A front moves in from the left and each row lights WAVE_SLANT columns after the one above: the colour goes from grey to the green of its level, which comes from an always-identical sine.

Values to change

NameFileDefaultWhat it changes
SCREENSscript.js3.8How many screens of scroll the section lasts, with the stage pinned.
SCRUBscript.js0.6Seconds the animation takes to catch up with the scroll.
CARD_RISEscript.js46How many pixels lower each card arrives from.
CARD_TILTscript.js0.6Degrees the cards are tilted as they arrive, right and left.
COUNT_TIMEscript.js1.4How long the stars and forks take to roll, in card steps.
STAR_POPscript.js1.28How much the star grows when the count lands.
WAVE_COLUMNSscript.js52Columns of the contribution graph on a wide screen, a year of weeks (at most 22 on a phone).
WAVE_SLANTscript.js0.6How slanted the wave is: each row lights this many columns later.
ACTIVITYscript.js0.62How busy the contribution graph is, from 0 to 1.
ACCENTscript.js"#1f8f55"The accent: the star, the lit squares, the hovered name.

Try them in the Playground

When to use it

For the projects section of a developer’s portfolio, for the page of an open source library or for a dev team’s numbers.

On phones

The cards stay on two columns but keep only the name, stars, forks and bar (the sentence, Public and the language name go away); the contribution graph drops to 22 columns. Scrolling with a finger does everything.

With reduced motion

The cards are already in place with the real numbers, the star filled, the bars and the contribution graph lit; no smooth scroll and no arrivals.

Pitfalls

  • The star is an SVG path: to make it pop GSAP needs transformOrigin «50% 50%» in the tween, otherwise it grows from its top left corner.
  • The odometer digits need tabular figures (tnum), otherwise the line changes width while they roll.
  • Leading digits are hidden with opacity, not display: the space stays and the cards do not shake.
  • The contribution graph is rebuilt only when the width changes, because the phone’s address bar changes the height at every scroll.

Libraries

GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 7.6 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.

Testing

Tested on 29 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 animations