Skip to content
animorio
IT
Back to the library

Reviews wall

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

Scroll inside the preview

The reviews section of Larkspur, a made-up journaling app, on warm white paper with a single amber. After the opening a stage stays pinned while you scroll: at the top the average rating climbs to 4.9, five drawn stars fill from the left and the review count rolls up to 2,184; below, a wall of short reviews in columns rises through the stage, each card arriving from a little lower and settling one pixel past its place, its small stars filling, and its key line getting a highlighter stroke that sweeps from the left, across line breaks, as the card crosses the middle. Scroll back up and it all plays backwards.

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>
<!--
  "Reviews wall" 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>Larkspur · Reviews wall on scroll</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/full.css">
  <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>
  <!-- The reviews section of a made-up journaling app, Larkspur. As you scroll, a stage stays pinned: at the top the
       average rating climbs to 4.9 while five drawn stars fill and the review count rolls up; below, a wall of short
       reviews rises through the stage, each card arriving staggered, and the key line of every review gets a marker
       stroke that sweeps from left to right as the card reaches the middle. Scroll back up and it all plays backwards. -->
  <svg width="0" height="0" style="position:absolute" aria-hidden="true">
    <defs>
      <symbol id="stella" viewBox="0 0 20 20"><path d="M10 1.8l2.47 5.2 5.66.7-4.16 3.9 1.07 5.6L10 14.43 4.96 17.2l1.07-5.6L1.87 7.7l5.66-.7z" /></symbol>
    </defs>
  </svg>

  <header class="testata">
    <span class="marchio"><svg viewBox="0 0 20 20" aria-hidden="true"><path d="M10 17V8" /><path d="M10 9c0-3 2-5 5-5 0 3-2 5-5 5Z" /><path d="M10 12c0-2.6-1.8-4.4-4.4-4.4 0 2.6 1.8 4.4 4.4 4.4Z" /></svg>Larkspur</span>
    <span class="testata__voce">Download</span>
  </header>

  <main>
    <section class="apertura">
      <p class="occhiello" data-entra>Reviews</p>
      <h1 class="titolo" data-entra>Loved by people who <em>write</em> every day.</h1>
      <p class="invito" data-entra><svg viewBox="0 0 12 16" aria-hidden="true"><path d="M6 2v11M2 9.5 6 13.5l4-4" /></svg>Scroll</p>
    </section>

    <section class="palco" data-palco aria-label="Larkspur reviews">
      <div class="palco__dentro" data-scena>
        <div class="voto" data-voto>
          <span class="voto__numero" data-numero>4.9</span>
          <div class="voto__destra">
            <div class="stelle" aria-label="4.9 out of 5 stars">
              <span class="stelle__vuote"><svg><use href="#stella"/></svg><svg><use href="#stella"/></svg><svg><use href="#stella"/></svg><svg><use href="#stella"/></svg><svg><use href="#stella"/></svg></span>
              <span class="stelle__piene" data-piene><svg><use href="#stella"/></svg><svg><use href="#stella"/></svg><svg><use href="#stella"/></svg><svg><use href="#stella"/></svg><svg><use href="#stella"/></svg></span>
            </div>
            <span class="voto__conto"><b data-conto>2,184</b> reviews</span>
          </div>
        </div>
        <div class="finestra" data-finestra>
          <div class="muro" data-muro>
        <article class="recensione" data-recensione>
          <div class="recensione__dentro" data-dentro>
            <div class="stelline" aria-label="5 out of 5 stars" style="--voto:1.00"><i data-stelline></i></div>
            <p class="recensione__testo">I’ve kept a journal for years. Larkspur is the first app that made me <mark class="evidenzia" data-evidenzia>want to open it every night</mark>.</p>
            <footer class="chi"><span class="chi__iniziale" aria-hidden="true"><b>M</b></span><span class="chi__nome">Maya Chen</span><span class="chi__ruolo">Teacher, Toronto</span></footer>
          </div>
        </article>
        <article class="recensione" data-recensione>
          <div class="recensione__dentro" data-dentro>
            <div class="stelline" aria-label="5 out of 5 stars" style="--voto:1.00"><i data-stelline></i></div>
            <p class="recensione__testo">The prompts are gentle. <mark class="evidenzia" data-evidenzia>Ten minutes feels like a reset,</mark> not homework.</p>
            <footer class="chi"><span class="chi__iniziale" aria-hidden="true"><b>O</b></span><span class="chi__nome">Omar Haddad</span><span class="chi__ruolo">Night nurse</span></footer>
          </div>
        </article>
        <article class="recensione" data-recensione>
          <div class="recensione__dentro" data-dentro>
            <div class="stelline" aria-label="5 out of 5 stars" style="--voto:1.00"><i data-stelline></i></div>
            <p class="recensione__testo"><mark class="evidenzia" data-evidenzia>It syncs before I even think about it.</mark> Phone at night, laptop in the morning.</p>
            <footer class="chi"><span class="chi__iniziale" aria-hidden="true"><b>L</b></span><span class="chi__nome">Lena Brandt</span><span class="chi__ruolo">Engineer</span></footer>
          </div>
        </article>
        <article class="recensione" data-recensione>
          <div class="recensione__dentro" data-dentro>
            <div class="stelline" aria-label="5 out of 5 stars" style="--voto:1.00"><i data-stelline></i></div>
            <p class="recensione__testo">Search by mood is genius. <mark class="evidenzia" data-evidenzia>I found a week from 2023 in two seconds.</mark></p>
            <footer class="chi"><span class="chi__iniziale" aria-hidden="true"><b>T</b></span><span class="chi__nome">Theo Martins</span><span class="chi__ruolo">Designer</span></footer>
          </div>
        </article>
        <article class="recensione" data-recensione>
          <div class="recensione__dentro" data-dentro>
            <div class="stelline" aria-label="5 out of 5 stars" style="--voto:1.00"><i data-stelline></i></div>
            <p class="recensione__testo"><mark class="evidenzia" data-evidenzia>No ads, no streaks, no guilt.</mark> Just a quiet page.</p>
            <footer class="chi"><span class="chi__iniziale" aria-hidden="true"><b>P</b></span><span class="chi__nome">Priya Nair</span><span class="chi__ruolo">Writer</span></footer>
          </div>
        </article>
        <article class="recensione" data-recensione>
          <div class="recensione__dentro" data-dentro>
            <div class="stelline" aria-label="4 out of 5 stars" style="--voto:0.80"><i data-stelline></i></div>
            <p class="recensione__testo">I set it up for my dad. <mark class="evidenzia" data-evidenzia>He writes more than I do now.</mark></p>
            <footer class="chi"><span class="chi__iniziale" aria-hidden="true"><b>S</b></span><span class="chi__nome">Sam Okoro</span><span class="chi__ruolo">Student</span></footer>
          </div>
        </article>
        <article class="recensione" data-recensione>
          <div class="recensione__dentro" data-dentro>
            <div class="stelline" aria-label="5 out of 5 stars" style="--voto:1.00"><i data-stelline></i></div>
            <p class="recensione__testo"><mark class="evidenzia" data-evidenzia>The calmest app on my phone,</mark> and I have far too many.</p>
            <footer class="chi"><span class="chi__iniziale" aria-hidden="true"><b>I</b></span><span class="chi__nome">Inês Duarte</span><span class="chi__ruolo">Photographer</span></footer>
          </div>
        </article>
        <article class="recensione" data-recensione>
          <div class="recensione__dentro" data-dentro>
            <div class="stelline" aria-label="5 out of 5 stars" style="--voto:1.00"><i data-stelline></i></div>
            <p class="recensione__testo">Export to PDF turned my notes into <mark class="evidenzia" data-evidenzia>a real book of my year.</mark></p>
            <footer class="chi"><span class="chi__iniziale" aria-hidden="true"><b>J</b></span><span class="chi__nome">Jonas Weber</span><span class="chi__ruolo">Architect</span></footer>
          </div>
        </article>
        <article class="recensione" data-recensione>
          <div class="recensione__dentro" data-dentro>
            <div class="stelline" aria-label="5 out of 5 stars" style="--voto:1.00"><i data-stelline></i></div>
            <p class="recensione__testo">Dark mode at 1 am is <mark class="evidenzia" data-evidenzia>soft on the eyes,</mark> and the type is lovely.</p>
            <footer class="chi"><span class="chi__iniziale" aria-hidden="true"><b>A</b></span><span class="chi__nome">Aiko Tanaka</span><span class="chi__ruolo">Illustrator</span></footer>
          </div>
        </article>
          </div>
        </div>
      </div>
    </section>

    <section class="chiusura">
      <p class="chiusura__frase" data-entra>Your first page is waiting.</p>
      <a class="pillola" href="#" data-entra><span>Start writing</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9.5M8.5 4l4 4-4 4" /></svg></a>
    </section>
  </main>

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

75 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 “Reviews wall” 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 Larkspur mark. The opening says «Loved by people who write every day.», with «write» in italic underlined in amber, and invites you to scroll. Then the stage stays pinned. At the top the rating: the big number climbs from 0.0 to 4.9 in steps of a tenth, beside it five grey stars fill with amber from the left up to 4.9 out of 5, and below «2,184 reviews» rolls up from zero. Underneath there is a wall of nine short reviews in three columns (two or one on phones): as you scroll the wall rises, and every card coming in arrives from 34 pixels lower, goes one pixel past and settles, while its five small stars fill. When a card gets a little past the middle of the window its key line, «want to open it every night», «Ten minutes feels like a reset», «No ads, no streaks, no guilt.», gets an amber highlighter stroke that sweeps from left to right and carries on to the next line. Under each review the initial in a circle, the name and the role. Scroll back up and the stroke runs backwards and the cards go down. At the foot «Your first page is waiting.» and the Start writing button.

How it works

One stage and one timeline

The section is pinned with ScrollTrigger for three and a half screens of scrolling, and a single timeline, tied to the scroll with scrub, climbs the rating, fills the stars and carries the wall up until the last card has passed the highlighter line. The wall’s travel is a function, measured again at every refresh.

Cards read their own position

At every update of the timeline the script looks at where each card sits in the window: how far it has come in from the bottom gives its arrival (34 pixels, one pixel past and the settle) and the fill of its small stars; how far it has passed the line at 62% of the height gives the highlighter stroke.

A highlighter across lines

The key line is a mark with a gradient background and no box-decoration-break: so the background width, driven by a CSS variable, sweeps through all the lines one after the other, like a real marker.

The stars

The five big stars are one SVG symbol used twice, grey below and amber above; the top one is revealed with a clip-path. The small stars on the cards are a gradient inside a mask with the star repeated.

Values to change

NameFileDefaultWhat it changes
RATINGscript.js4.9The average rating the big number climbs to.
REVIEWSscript.js2184How many reviews the count under the stars rolls up to.
PIN_SCREENSscript.js3.5How many screen heights of scrolling the pinned stage lasts.
SCRUBscript.js0.8Seconds the animation takes to catch up with the scroll.
MARKER_LINEscript.js0.62Where the highlighter starts, as a fraction of the window height from the top.
ARRIVEscript.js34How many pixels lower each card starts.
OVERSHOOTscript.js1How many pixels a card goes past its place before settling.

Try them in the Playground

When to use it

For the reviews section of a landing page, an app or a shop: whoever scrolls sees the rating first and then reads the opinions one at a time, with the line that matters already marked.

On phones

Sizes follow the height too (min of vw and vh, clamp): under 900 pixels the wall goes to two columns, under 560 to one, and the stage stays as tall as the screen. The finger’s scroll does everything.

With reduced motion

No pinned stage, no smooth scroll and no movement: the rating is already 4.9 with the stars filled, the cards sit in their wall with the lines already highlighted and fade in as they arrive.

Pitfalls

  • Never once: true on the timeline with ScrollTrigger: once only goes on the closing tweens.
  • A highlighter across lines needs box-decoration-break left as it is (slice): with clone every line would fill together.
  • Arrival and settle live on the card’s child, not the card: the column wall measures the cards and GSAP’s transform on the wall must not add up with the cards’ own.
  • The wall’s travel depends on the columns: it has to be measured again on resize (a function with invalidateOnRefresh).

Libraries

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

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

Testing

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