Skip to content
animorio
IT
Back to the library

Stepped letter menu

Text, Hover, TransitionsGSAP, CSS onlyMediumCompressed weight: Demo 9.1 KBGSAP + CustomEase 31 KBFreeDownload the zip

The full screen menu of Marlow Bespoke, a made-up luxury coachbuilder: the white panel comes up from below while the page with the vintage car lifts by 30vh under a black veil, the big links rise by 80 pixels and light up letter by letter, each letter switching on at once, like a teleprinter. On hover the other links drop to 15%, the photo beside them swaps at once and a small square slides onto the link; when the pointer leaves it goes back to the page you are on. Minimal style, in black and white. From the menu of the ESR Bespoke site, Awwwards Site of the Day on 23/10/2026.

Rebuilt from scratch studying esrbespoke.au by Nightjar: 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>
<!--
  "Stepped letter menu" 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>Marlow Bespoke, the stepped letter menu</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/geist-mono@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- the studio page of Marlow Bespoke, a made-up coachbuilder, with its full screen menu. Menu brings a white panel up
       from below while the page lifts by 30vh under a black veil; the big links rise by 80 px and light up letter by
       letter, each letter switching on at once (steps(1)). Hovering a link dims the others to 15%, swaps the photo
       beside them and slides a small square onto it; when the pointer leaves, the square goes back to the page you
       are on. Close (or Esc) sends the panel on upward and the page comes back up from below -->
  <div class="page" data-page>
    <figure class="hero-photo">
      <span class="hero-photo__move" data-photo>
        <img src="officina.webp" alt="A silver gullwing sports car with its doors open, in black and white, in a dark showroom" width="1024" height="683" draggable="false">
      </span>
    </figure>
    <span class="page__shade" aria-hidden="true"></span>

    <section class="hero" aria-labelledby="hero-title">
      <p class="mono hero__kicker" data-type data-kicker>Studio</p>
      <h1 class="hero__title" id="hero-title" data-type>Bodywork, shaped by hand.</h1>
      <p class="mono hero__note" data-type>Panels, paint and trim since 1987</p>
    </section>
    <p class="mono caption" data-type>Bay three, before the paint booth</p>
    <span class="page__veil" data-veil aria-hidden="true"></span>
  </div>

  <nav class="menu" id="menu" data-menu aria-label="Main" inert>
    <div class="menu__edge" data-panel>
      <div class="menu__body">
        <div class="menu__list">
          <span class="dot" data-dot aria-hidden="true"><span class="dot__in" data-dot-in></span></span>
          <ul class="items">
            <li><a class="item" href="#" data-item data-img="0" data-note="Restoration, panels, paint"><span class="item__rise" data-rise>Services</span></a></li>
            <li><a class="item" href="#" data-item data-img="1" data-note="The marques we look after"><span class="item__rise" data-rise>Brands</span></a></li>
            <li><a class="item is-here" href="#" data-item data-img="2" data-note="Trim shop and the paint booth" aria-current="page"><span class="item__rise" data-rise>Studio</span></a></li>
            <li><a class="item" href="#" data-item data-img="3" data-note="Three generations of coachwork"><span class="item__rise" data-rise>Our story</span></a></li>
            <li><a class="item" href="#" data-item data-img="4" data-note="Book a visit to the workshop"><span class="item__rise" data-rise>Contact</span></a></li>
          </ul>
        </div>

        <figure class="still" aria-hidden="true">
          <span class="still__frame" data-still>
            <img class="still__img" src="parafango.webp" alt="" draggable="false" style="--pos: 50% 55%">
            <img class="still__img" src="fanale.webp" alt="" draggable="false" style="--pos: 40% 50%">
            <img class="still__img" src="sedile.webp" alt="" draggable="false" style="--pos: 50% 40%">
            <img class="still__img" src="abitacolo.webp" alt="" draggable="false" style="--pos: 30% 50%">
            <img class="still__img" src="luci.webp" alt="" draggable="false" style="--pos: 50% 50%">
            <span class="still__veil" data-still-veil></span>
            <span class="still__sheen"></span>
          </span>
          <figcaption class="mono still__cap" data-cap>Trim shop and the paint booth</figcaption>
        </figure>
      </div>

      <div class="menu__foot">
        <div class="mark" data-mark aria-hidden="true"></div>
        <dl class="info">
          <div class="info__block">
            <dt class="mono info__label" data-foot>Workshop</dt>
            <dd class="mono" data-foot>Unit 4, Wharf Lane</dd>
            <dd class="mono" data-foot>8am to 5pm, Monday to Friday</dd>
          </div>
          <div class="info__block">
            <dt class="mono info__label" data-foot>Enquiries</dt>
            <dd class="mono" data-foot>studio@marlowbespoke.co</dd>
            <dd class="mono info__social" data-foot>@marlowbespoke</dd>
          </div>
        </dl>
      </div>
    </div>
  </nav>

  <header class="bar" data-bar>
    <a class="logo" href="#" aria-label="Marlow Bespoke, home">
      <span class="logo__word" data-type>Marlow</span>
      <span class="mono logo__sub" data-type>Bespoke coachworks</span>
    </a>
    <button class="toggle" type="button" data-toggle data-autoclic aria-expanded="false" aria-controls="menu">
      <span class="toggle__lines" data-lines aria-hidden="true"><span class="toggle__line"></span><span class="toggle__line"></span></span>
      <span class="mono toggle__words" aria-hidden="true">
        <span class="toggle__w" data-w-open>Menu</span>
        <span class="toggle__w toggle__w--b" data-w-close>Close</span>
      </span>
      <span class="sr" data-sr>Open menu</span>
    </button>
  </header>

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

40 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 “Stepped letter menu” 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 studio page of Marlow Bespoke, a made-up luxury coachbuilder: full screen, a black and white photo of a vintage gullwing sports car in a dark showroom, the title «Bodywork, shaped by hand.» and the uppercase monospace labels, all typed letter by letter on arrival. At the top the MARLOW wordmark and the button with the two hamburger lines and the word MENU. On click the white panel comes up from below in 1 s, with a soft shadow on its edge falling on the page, while the page lifts by 30vh under a black veil at 80%; the five links (Services, Brands, Studio, Our story, Contact) rise by 80 pixels one after the other and light up letter by letter, each letter switching on at once. The photo beside them opens from below, the big MARLOW at the bottom rolls up, the contacts type themselves last; MENU switches off from its last letter and CLOSE lights up in its place, while the two lines turn into an X. Hovering a link dims the others to 15%, the photo swaps at once under a passing veil and settles, and a small black square slides onto the link, stretching with the distance and landing with a pixel of bounce; leaving, it goes back to Studio, the page you are on. Close or Esc send the panel up and away, and the page comes back up from below. Choosing a link closes the menu and the page label retypes itself with its name.

How it works

The panel and the page

As on the site, one timeline: the panel from yPercent 105 to 0 in 1 s with the curve '.19,1,.22,1' and, with it, the page from y 0 to -30vh on the same curve; a black veil on the page goes to .8 opacity in .5 s. The shadow on the panel's edge is a soft box-shadow above and below, so it falls on the page both on opening and on closing. The photo inside the page drops a little while the page lifts, for depth.

Stepped letters

Every text is cut into letters (words stay whole for line breaks). Each letter goes from opacity 0 to 1 in .3 s with ease steps(1): it stays off and switches on at once at the end, one after the other .025 s apart. The links start .2 s apart and meanwhile rise from y 80 to 0 in 1 s expo.out, .15 s apart. The button switches MENU off from its last letter and lights CLOSE with the same snap.

The little square

A 0.4rem square beside the links: on hover gsap.to(square, { y: centre of the link minus half the square, scale: 1, opacity: 1, duration: .6, ease: 'expo.out', overwrite: true }), as on the site; when the pointer leaves the list it goes back to the link of the page you are on. Ours: inside there is a second element that stretches vertically with the distance and lands with a back.out, one pixel of bounce, without touching the square's tween (overwrite would kill everything else).

The photo that snaps

The five photos are stacked and only the lit one changes, with no fade, as on the site. Ours: a black veil goes from .42 to 0 in .45 s and the new photo settles from scale 1.07 to 1, so the snap is felt but not harsh; the monospace caption retypes itself letter by letter.

Closing

The panel carries on upward, yPercent -105 in 1.3 s expo.out, while the page, jumped to +30vh under the panel that still covers it, comes back up to 0; the veil goes to 0 in .7 s power2.inOut. The header changes colour exactly when the panel's edge passes under it (worked out from the curve). Esc closes, the menu is inert when closed, keyboard focus moves the square.

Values to change

NameFileDefaultWhat it changes
OPEN_TIMEscript.js1Seconds for the panel to come up (the site uses 1 s).
PAGE_LIFTscript.js30How many vh the page lifts under the panel (the site uses 30vh).
RISEscript.js80Pixels each link rises from (the site uses 80).
RISE_STAGGERscript.js0.15Seconds between one link and the next (the site uses .15 s).
LETTER_TIMEscript.js0.3Seconds before a letter switches on (the site uses .3 s with steps(1)).
LETTER_STAGGERscript.js0.025Seconds between one letter and the next (the site uses .025 s).
DIMscript.js0.15Opacity of the other links on hover (the site uses 15%).
DOT_TIMEscript.js0.6Seconds for the square to slide onto a link (the site uses .6 s expo.out).
CLOSE_TIMEscript.js1.3Seconds for the panel to leave upward (the site uses 1.3 s expo.out).
VEILscript.js0.8Opacity of the black veil on the page (the site uses .8).

Try them in the Playground

When to use it

For the menu of a luxury brand, a workshop, an atelier, a studio or a portfolio: a few important links, big, with a photo for each. The stepped letters give a precise, technical tone, like an instrument.

On phones

The same, with the same curves. The links are sized on the smaller of 10.5% of the width and 8.6% of the height, so five links fit even in a short box; the photo stays beside them, smaller, and the contacts shrink to the email address. There is no hover: a tap on a link moves the square, closes the menu and retypes the page label.

With reduced motion

No panel coming up and no page moving: the menu appears and disappears with a .3 s fade, already laid out, the letters all fade in together and the square jumps onto the link without sliding.

Pitfalls

  • overwrite: true on the square (as on the site) kills every other tween of the same element: the stretch and the bounce go on a child.
  • With steps(1) the letter stays off for the whole duration and switches on at the end: the .3 s duration is a delay, not a fade.
  • On closing the page jumps from -30vh to +30vh: it must happen while the panel still covers it all, on the first frame of the close.
  • A header colour changed at a fixed time makes it vanish, white on white, until the panel passes under it: the time is worked out from the curve and the window height.
  • Links sized only on the width overflow the bottom of a short box: the size is the smaller of vw and vh.

Libraries

GSAP 3.15.0, CustomEase 3.15.0, Mona Sans (font variabile) 5.3.0, Geist Mono (font variabile) 5.3.0.

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

Testing

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