Skip to content
animorio
IT
Back to the library

Ink-painted About page

Scroll, TextGSAP, CSS onlyMediumCompressed weight: Demo 8.3 KBGSAP + ScrollTrigger + CustomEase 49 KBLenis 5.3 KBFreeDownload the zip

Scroll inside the preview

The About page of a made-up archive, The Wrenhaven Letters, the letters a seaside town kept in its drawers: as you scroll, each big paragraph goes from 30% ink to full ink, line after line, with a soft edge of .8em, and the titles, margin notes and writers' names are uncovered behind a black bar that sweeps across. A side index follows the paragraph being painted. Minimal style. From the «Sobre el proyecto» page and the reveal bars of the 197 Historias Ilustradas site, Awwwards Site of the Day on 20/11/2026.

Rebuilt from scratch studying 197historiasilustradas.com by ++hellohello: the idea is theirs; code, copy and images are ours. Read how it’s made

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>
<!--
  "Ink-painted About page" 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 Wrenhaven Letters, about the archive</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/geist-mono@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- the About page of a made-up archive of letters kept by a small seaside town. As you scroll, each long paragraph
       is painted from 30% ink to full ink, line after line, with a soft edge of .8em (one CSS variable, --paint, from 0
       to 100% with scrub); titles, notes and names are uncovered by a black bar that sweeps across them while the
       cover pulls away. The side index follows the paragraph being painted -->
  <header class="barra" data-barra>
    <a class="barra__marchio" href="#">The Wrenhaven Letters</a>
    <nav class="barra__voci" aria-label="Archive">
      <a href="#">[ Letters ]</a>
      <a href="#">[ Index ]</a>
      <a href="#">[ Reading room ]</a>
    </nav>
    <a class="barra__qui" href="#" aria-current="page">About</a>
  </header>

  <aside class="indice" data-indice aria-label="On this page">
    <p class="indice__titolo">On this page</p>
    <ol class="indice__voci">
      <li data-voce><a href="#perche"><span class="indice__nome">Why letters</span><span class="indice__riga"><span data-avanza></span></span></a></li>
      <li data-voce><a href="#cosa"><span class="indice__nome">What we keep</span><span class="indice__riga"><span data-avanza></span></span></a></li>
      <li data-voce><a href="#come"><span class="indice__nome">How it reads</span><span class="indice__riga"><span data-avanza></span></span></a></li>
      <li data-voce><a href="#chi"><span class="indice__nome">Who wrote</span><span class="indice__riga"><span data-avanza></span></span></a></li>
    </ol>
    <span class="indice__tacca" data-tacca aria-hidden="true"></span>
  </aside>

  <p class="segno" data-segno aria-hidden="true"><span data-segno-nome>Why letters</span><span class="segno__riga"><span data-segno-avanza></span></span></p>

  <main class="pagina">
    <section class="apertura">
      <p class="etichetta"><span class="svela" data-blocco>About the archive</span></p>
      <h1 class="titolo">
        <span class="svela riga" data-riga>Every letter</span>
        <span class="svela riga" data-riga>someone kept</span>
        <span class="svela riga" data-riga>in a drawer.</span>
      </h1>
      <p class="sotto">
        <span class="svela" data-blocco>1,140 letters</span>
        <span class="svela" data-blocco>212 writers</span>
        <span class="svela" data-blocco>one town</span>
      </p>
    </section>

    <section class="capitolo" id="perche" data-capitolo>
      <p class="capitolo__nome"><span class="svela" data-blocco>Why letters</span></p>
      <div class="capitolo__corpo">
        <p class="dipinto" data-dipinto>We began with one shoebox, found under the stairs of the old post office on Quay Street. Within a year the town had brought us eleven hundred more: notes to fishermen at sea, recipes sent to daughters who had moved away, apologies, invitations, and a postcard that only says the swallows are back.</p>
        <p class="nota" data-nota><span class="svela" data-blocco>The first shoebox</span><span class="svela" data-blocco>held 46 letters,</span><span class="svela" data-blocco>1962 to 1988.</span></p>
      </div>
    </section>

    <section class="capitolo" id="cosa" data-capitolo>
      <p class="capitolo__nome"><span class="svela" data-blocco>What we keep</span></p>
      <div class="capitolo__corpo">
        <p class="dipinto" data-dipinto>We keep every letter as it arrived. Folds stay folded, stamps stay crooked and the spelling stays the writer's own. Each one is photographed on both sides, read aloud by a neighbour and filed under the street it was written on, so the archive reads like a map of the town.</p>
        <p class="nota" data-nota><span class="svela" data-blocco>Nothing is</span><span class="svela" data-blocco>corrected, only</span><span class="svela" data-blocco>transcribed.</span></p>
      </div>
    </section>

    <section class="capitolo" id="come" data-capitolo>
      <p class="capitolo__nome"><span class="svela" data-blocco>How it reads</span></p>
      <div class="capitolo__corpo">
        <p class="dipinto" data-dipinto>There is no search box on purpose. You start from a street, a year or a name, and one letter leads to the next: the reply, the reply to the reply, the cousin who kept both. Some threads stop after a page. One runs for forty years and ends with a wedding.</p>
      </div>
    </section>

    <section class="capitolo capitolo--nomi" id="chi" data-capitolo>
      <p class="capitolo__nome"><span class="svela" data-blocco>Who wrote</span></p>
      <div class="capitolo__corpo">
        <p class="dipinto dipinto--breve" data-dipinto>Every writer has a page. These are the ones who wrote the most.</p>
        <ul class="nomi" data-nomi>
          <li><a href="#" class="nome"><span class="svela" data-nome>Agnes Maybury</span><span class="nome__conto">64 letters</span></a></li>
          <li><a href="#" class="nome"><span class="svela" data-nome>Tobias Fenn</span><span class="nome__conto">51 letters</span></a></li>
          <li><a href="#" class="nome"><span class="svela" data-nome>Rosa Calloway</span><span class="nome__conto">47 letters</span></a></li>
          <li><a href="#" class="nome"><span class="svela" data-nome>Ewan Holt</span><span class="nome__conto">39 letters</span></a></li>
          <li><a href="#" class="nome"><span class="svela" data-nome>Marguerite Lisle</span><span class="nome__conto">36 letters</span></a></li>
          <li><a href="#" class="nome"><span class="svela" data-nome>Samuel Drewe</span><span class="nome__conto">31 letters</span></a></li>
          <li><a href="#" class="nome"><span class="svela" data-nome>Ida Penrose</span><span class="nome__conto">28 letters</span></a></li>
          <li><a href="#" class="nome"><span class="svela" data-nome>Walter Crane-Abbot</span><span class="nome__conto">24 letters</span></a></li>
        </ul>
      </div>
    </section>

    <footer class="piede">
      <p class="piede__frase"><span class="svela riga" data-riga>Bring us a letter.</span><span class="svela riga" data-riga>We will read it back.</span></p>
      <p class="piede__info"><span class="svela" data-blocco>Reading room, Quay Street</span><span class="svela" data-blocco>Thursdays, 10 to 4</span></p>
    </footer>
  </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/gsap@3.15.0/dist/CustomEase.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.

68 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 “Ink-painted About page” 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

The About page of The Wrenhaven Letters, a made-up archive of letters from a seaside town. At the top, the bar with the name and the items in square brackets. The opening: «About the archive» and the headline «Every letter someone kept in a drawer.» on three lines, each uncovered by a black bar with a sealing-wax hair in front, one after another; below, three figures (1,140 letters, 212 writers, one town). Then four chapters: the paragraphs, big and in a mono typeface, are light grey and as you scroll the ink fills them from the top, line by line, with a soft edge; in the margin a sealing-wax hair rides the wet edge of the ink. When the ink reaches a third, the margin note is uncovered block by block. On the left the «On this page» index: the item of the paragraph being painted turns black, its hairline fills with the paragraph's ink and the wax mark slides next to it with a pixel of overshoot; a click brings the chapter in. In the last chapter the eight writers who wrote most are uncovered each with a random delay; hovering, the row fills with ink from the left and the letter count turns wax pink. At the bottom «Bring us a letter. We will read it back.» and the reading room hours.

How it works

One variable

The paragraph's background is a vertical gradient, from full ink at calc(var(--paint) - .4em) to 30% ink at calc(var(--paint) + .4em), clipped to the letters with background-clip: text and color: transparent. Moving --paint from 0% to 100% slides the soft edge down and fills the lines one after another.

The site's scrub

GSAP animates --paint with ease «none» and a ScrollTrigger with start «clamp(top 80%)», end «bottom 80%» and scrub: true, as on the site. The clamp makes a paragraph that already starts below 80% of the screen begin from zero.

The uncovering bar

Every word or line to uncover gets two spans: a cover the colour of the paper that pulls away to the right (scaleX 1 to 0) and an ink bar that travels from xPercent -140 to 140, both .2em wider on each side. The site's timings: 1.1 s for blocks 80 ms apart, 1.8 s for lines .15 s apart, names at random between 0 and 520 ms. The curve is cubic-bezier(.33,0,0,1), made with CustomEase.

The index and the wax hair

The paragraph's own ScrollTrigger, in onUpdate, fills the index hairline (scaleX = progress), moves the sealing-wax hair in the margin to the height of the wet edge (progress times the paragraph's height) and decides which item is active; the index mark slides there with back.out(1.6). Lenis runs on the GSAP ticker with lerp .1, as on the site.

Values to change

NameFileDefaultWhat it changes
PAINT_STARTscript.js80Where the paint starts, in % from the top of the screen (the site uses 80).
PAINT_ENDscript.js80Where the bottom of the paragraph must be when fully painted, in % (the site uses 80).
EDGEscript.js0.4Half the soft edge of the ink, in em (the site uses .4).
UNPAINTEDscript.js0.3How dark the text is before the ink (the site uses 30%).
BLOCK_TIMEscript.js1.1Seconds of the bar over a word or a label.
LINE_TIMEscript.js1.8Seconds of the bar over a line of the headline.
BLOCK_GAPscript.js0.08Seconds between two blocks.
LINE_GAPscript.js0.15Seconds between two lines.
NAME_SCATTERscript.js0.52The longest random delay of a name, in seconds.
SMOOTHscript.js0.1Lerp of the Lenis smooth scroll.

Try them in the Playground

When to use it

For pages meant to be read slowly: the About page of an archive, a museum, a foundation or a publisher, a studio's manifesto, a brand's story, a long essay on a blog. It works when the text is the star and you want the reader to actually read, one line at a time.

On phones

The same animations. The side index becomes a line under the top bar, with the chapter name changing and a hairline filling with the paragraph's ink; the margin notes move under the paragraph; the text is min(4.4vw, 3.9vh) and the headline min(10.4vw, 8.6vh).

With reduced motion

No Lenis, no bars: the paragraphs are already in full ink, titles, notes and names already uncovered; the index still follows the chapter in view, without sliding the mark.

Pitfalls

  • background-clip: text needs color: transparent and the gradient on the paragraph itself: a child with its own background (the wax hair) is not clipped, so it works for details but not for text.
  • The gradient is as long as the whole paragraph: the .8em edge stays the same in em, but the speed of the ink depends on the paragraph's height, since start and end are tied to its top and bottom.
  • The bar must sit above the cover and both must be wider than the text (.2em per side), otherwise descenders and the last letters stay uncovered for a moment.
  • When the bar is done the two spans are hidden (class svela-pronta): left at scaleX 0 they still get in the way of the names' hover.

Libraries

GSAP 3.15.0, ScrollTrigger 3.15.0, CustomEase 3.15.0, Lenis 1.3.26, Geist Mono (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 8.3 KB; the libraries: GSAP + ScrollTrigger + CustomEase 49 KB, Lenis 5.3 KB.

Testing

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