Skip to content
animorio
IT
Back to the library

Three-wave curtain menu

Transitions, HoverGSAP, CSS onlyMediumCompressed weight: Demo 9.6 KBGSAP + CustomEase 31 KBFreeDownload the zip

The full screen menu of Tessaro Pictures, a made-up production company: «[ Menu ]» drops a paper curtain over the page in three overlapping waves, the curtain, then the big uppercase links rising from their little windows, then the controls and the «Contact us» bar. On hover each link rolls to its italic twin and a small strip of film advances to the link's frame. From the phone menu of the PSP Production site, Awwwards Site of the Day on 18/11/2026.

Rebuilt from scratch studying productionportugal.com by Lynksen, Ross Burylo: 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>
<!--
  "Three-wave curtain 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>Tessaro Pictures, the curtain menu</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/archivo@5.3.0/wdth.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/newsreader@5.3.0/opsz-italic.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- the home of Tessaro Pictures, a made-up film and commercials production company, with its full screen menu.
       [ Menu ] drops a paper curtain over the page in three overlapping waves: the curtain, then the links rising
       from their masks, then the controls and the contact bar. Hovering a link rolls it to its italic twin and
       advances a small strip of film to its frame; Close (or Esc) sends the links up and lifts the curtain -->
  <div class="page" data-page>
    <figure class="still" data-still>
      <img src="set.webp" alt="An old black and white photo of a film crew shooting a western, with a camera on a tripod, riders and a parasol" width="994" height="600" draggable="false">
      <span class="still__shade" data-shade aria-hidden="true"></span>
      <span class="still__grain" aria-hidden="true"></span>
    </figure>

    <header class="bar bar--page">
      <a class="logo" href="#" data-logo aria-label="Tessaro Pictures, home">
        <span class="logo__word" aria-hidden="true"><span class="logo__l">T</span><span class="logo__l">E</span><span class="logo__l">S</span><span class="logo__l">S</span><span class="logo__l">A</span><span class="logo__l">R</span><span class="logo__l">O</span></span>
        <span class="logo__sub" aria-hidden="true">Pictures</span>
      </a>
      <button class="tog" type="button" data-open data-tog data-autoclic aria-expanded="false" aria-controls="menu">
        <span class="tog__face">
          <span class="tog__br tog__br--l" aria-hidden="true">[</span>
          <span class="tog__words" data-words>
            <span class="tog__w tog__w--a" data-wa>Menu</span>
            <span class="tog__w tog__w--b" data-wb aria-hidden="true">Close</span>
          </span>
          <span class="tog__br tog__br--r" aria-hidden="true">]</span>
        </span>
      </button>
    </header>

    <section class="hero" aria-labelledby="hero-title">
      <p class="hero__kicker" data-rise>Film, TV and commercials</p>
      <h1 class="hero__title" id="hero-title">
        <span class="line"><span class="line__in" data-rise>Calm crews,</span></span>
        <span class="line"><span class="line__in" data-rise><em>clever</em> shoots.</span></span>
      </h1>
      <p class="hero__note" data-rise>Service production in Lisbon and Seville since 2009</p>
    </section>
    <p class="caption" data-rise>Archive still, on location</p>
  </div>

  <span class="edge" data-edge aria-hidden="true"><span class="edge__line"></span></span>

  <nav class="menu" id="menu" data-menu aria-label="Main" inert>
    <div class="menu__inner" data-inner>
      <div class="bar bar--menu">
        <a class="logo" href="#" data-logo aria-label="Tessaro Pictures, home">
          <span class="logo__word" aria-hidden="true"><span class="logo__l">T</span><span class="logo__l">E</span><span class="logo__l">S</span><span class="logo__l">S</span><span class="logo__l">A</span><span class="logo__l">R</span><span class="logo__l">O</span></span>
          <span class="logo__sub" aria-hidden="true">Pictures</span>
        </a>
        <div class="menu__right">
          <div class="lang" data-ctrl>
            <a class="lang__on" href="#" aria-current="true"><span class="lang__br" aria-hidden="true">[</span>EN<span class="lang__br" aria-hidden="true">]</span></a>
            <a class="lang__off" href="#" lang="pt">PT</a>
          </div>
          <button class="tog" type="button" data-close data-tog data-autoclic aria-label="Close menu">
            <span class="tog__face">
              <span class="tog__br tog__br--l" aria-hidden="true">[</span>
              <span class="tog__words" data-words>
                <span class="tog__w tog__w--a" data-wa aria-hidden="true">Menu</span>
                <span class="tog__w tog__w--b" data-wb aria-hidden="true">Close</span>
              </span>
              <span class="tog__br tog__br--r" aria-hidden="true">]</span>
            </span>
          </button>
        </div>
      </div>

      <div class="menu__body">
        <ul class="links" data-links>
          <li><a class="link is-here" href="#" data-link aria-current="page"><span class="link__in" data-in><span class="link__roll"><span class="link__w">Home</span><span class="link__w link__w--twin" aria-hidden="true">Home</span></span></span></a></li>
          <li><a class="link" href="#" data-link><span class="link__in" data-in><span class="link__roll"><span class="link__w">Work</span><span class="link__w link__w--twin" aria-hidden="true">Work</span></span></span></a></li>
          <li><a class="link" href="#" data-link><span class="link__in" data-in><span class="link__roll"><span class="link__w">Long format</span><span class="link__w link__w--twin" aria-hidden="true">Long format</span></span></span></a></li>
          <li><a class="link" href="#" data-link><span class="link__in" data-in><span class="link__roll"><span class="link__w">Directors</span><span class="link__w link__w--twin" aria-hidden="true">Directors</span></span></span></a></li>
          <li><a class="link" href="#" data-link><span class="link__in" data-in><span class="link__roll"><span class="link__w">Locations</span><span class="link__w link__w--twin" aria-hidden="true">Locations</span></span></span></a></li>
          <li><a class="link" href="#" data-link><span class="link__in" data-in><span class="link__roll"><span class="link__w">About</span><span class="link__w link__w--twin" aria-hidden="true">About</span></span></span></a></li>
        </ul>

        <figure class="peek" data-peek aria-hidden="true">
          <span class="peek__film">
          <span class="peek__gate">
            <span class="peek__strip" data-strip>
              <span class="peek__frame" style="--img: url(set.webp); --pos: 50% 40%; --z: 100%"></span>
              <span class="peek__frame" style="--img: url(ciak.webp); --pos: 70% 30%; --z: 140%"></span>
              <span class="peek__frame" style="--img: url(set.webp); --pos: 92% 70%; --z: 240%"></span>
              <span class="peek__frame" style="--img: url(ciak.webp); --pos: 34% 36%; --z: 210%"></span>
              <span class="peek__frame" style="--img: url(set.webp); --pos: 40% 6%; --z: 180%"></span>
              <span class="peek__frame" style="--img: url(ciak.webp); --pos: 10% 50%; --z: 120%"></span>
            </span>
          </span>
          <span class="peek__holes peek__holes--l"></span>
          <span class="peek__holes peek__holes--r"></span>
          </span>
          <figcaption class="peek__cap"><span class="peek__caps" data-caps>
            <span>The front page</span>
            <span>Spots and campaigns</span>
            <span>Series and features</span>
            <span>The people behind the lens</span>
            <span>Coasts, towns and studios</span>
            <span>Who we are</span>
          </span></figcaption>
        </figure>
      </div>

      <div class="menu__foot" data-foot>
        <a class="contact" href="#">
          <span class="contact__fill" aria-hidden="true"></span>
          <span class="contact__label">Contact us</span>
          <svg class="contact__arrow" viewBox="0 0 20 20" aria-hidden="true"><path d="M4 16 L16 4 M7 4 H16 V13" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="square"/></svg>
        </a>
        <p class="small">
          <span class="small__addr">Rua do Sal 12, Lisbon</span>
          <span class="small__social"><a href="#">Instagram</a><a href="#">Vimeo</a><a href="#">LinkedIn</a></span>
        </p>
      </div>
    </div>
  </nav>

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

73 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 “Three-wave curtain 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 home of Tessaro Pictures, a made-up production company of films, series and commercials: full screen, an old black and white photo of a crew shooting a western, with the camera on its tripod, the horses and a parasol, a narrow uppercase title with one italic word («Calm crews, clever shoots.»), at the top the TESSARO wordmark and the «[ Menu ]» button. On click a warm white paper curtain falls from the top with clip-path: its hem is a thin line casting a soft shadow on the photo, and the photo below sinks by a few pixels and darkens. From .25 s the links (Home, Work, Long format, Directors, Locations, About), big and uppercase, rise one after the other from their little windows with a coasting curve; with them the «[ EN ] PT» language switch rises by 12 pixels, and from .55 s the black «Contact us» bar arrives with the address and the socials. When the curtain lands the menu settles by a pixel and the wordmark letters hop from left to right. Meanwhile the letters of «Menu» roll away upward and those of «Close» roll in, while the brackets close in on the new word. On hover a link rolls to its red italic twin, the others dim, and on the right a small strip of film with its perforations opens and advances frame by frame to that link's shot, with an italic caption. Close, a link or Esc close it: the controls go in .2 s, the links leave upward, the curtain lifts and the photo comes back up, one pixel too far, and settles.

How it works

Three overlapping waves

As on the site, one timeline with three waves that overlap: the curtain from inset(0% 0% 100% 0%) to inset(0%) in .7 s with the curve '0.45, 0, 0.15, 1'; from .25 s the links from yPercent 110 to 0 in .85 s, .05 s apart, with '0.165, 0.84, 0.44, 1', a curve that starts at once and coasts for long; from .25 s the controls at the top (opacity and y from 12 to 0 in .6 s) and from .55 s the contact bar. Each wave starts while the one before is still slowing down.

The hem of the curtain

The curtain is tweened on a plain object ({ v: 100 }) and every frame writes both the clip-path and the position of the hem, an element outside the menu: a one pixel line with a soft shadow below it falling on the photo. So the hem and the cut never part, and the hem is worked out again on resize. When the curtain lands, the menu content settles by a pixel with a back.out.

The links: one element for GSAP, the child for CSS

Every link is a little window with overflow: hidden; inside, GSAP moves the first span (the waves), CSS moves the second (the hover). On hover the second rises by 100% and shows the link's twin below, in red Newsreader italic: the link changes frame without ever touching GSAP's transform.

The film that advances

The strip beside the links is a column of six frames inside a 16:10 gate. On the first link it opens with a clip-path from the top; then, going from one link to another, the column slides to the right frame with a short power4.inOut, like a projector's pull-down, and the gate follows the link with gsap.quickTo. The perforations on the sides are a repeating-linear-gradient.

Closing in reverse

Controls away in .2 s with '0.55, 0.055, 0.675, 0.19', links to yPercent -110 (they leave upward, they do not drop back) in .45 s, .03 s apart, curtain up in .6 s from .2 s. The menu is inert when closed, Esc closes it and focus goes back to the Menu button. The letters of Menu and Close roll in both buttons, the page's and the curtain's, on the same timeline.

Values to change

NameFileDefaultWhat it changes
CURTAINscript.js0.7Seconds for the curtain to fall (the site uses .7 s).
LINKS_ATscript.js0.25When the links start rising, in seconds (the site uses .25 s).
LINKS_TIMEscript.js0.85Seconds each link takes to rise (the site uses .85 s).
LINKS_STAGGERscript.js0.05Seconds between one link and the next (the site uses .05 s).
FOOT_ATscript.js0.55When the contact bar comes in, in seconds (the site uses .55 s).
CLOSE_LINKSscript.js0.45Seconds for the links to leave upward on close (the site uses .45 s).
CLOSE_CURTAINscript.js0.6Seconds for the curtain to lift (the site uses .6 s, from .2 s).
SINKscript.js14Pixels the photo sinks under the curtain.
LOGO_HOPscript.js3.8Pixels each wordmark letter hops (the site uses 3.8 px).

Try them in the Playground

When to use it

For the menu of a portfolio site, a studio, a production company, an agency or an event: a few important links, big, that deserve the whole screen. It works both on the phone, where it replaces the hamburger, and on the computer.

On phones

The same, with the same waves. The links are sized on the smaller of 11.5% of the width and 9% of the height, so six links fit even in a short box; the film strip and the hover are not there (there is no pointer), a tap on a link closes the menu.

With reduced motion

As the site does, every duration goes to zero: no falling curtain, no rising links. The menu appears and disappears with a .3 s fade, already laid out; the button's letters change without rolling, the wordmark does not hop.

Pitfalls

  • clip-path cuts everything inside the menu, shadows too: the hem and its shadow must live outside the curtain and follow it on their own, written in the same onUpdate as the cut.
  • The Close button lives inside the curtain and the Menu button below it: so the letters roll even while the curtain passes over the button, the letters of both roll on the same timeline.
  • GSAP moves the links with an inline transform, which would wipe out the hover's: the waves go on the first span, the hover on its child.
  • Links sized only on the width overflow the bottom of a short box: the size is the smaller of vw and vh.
  • The site closes the links with the curtain curve and the controls with the exit curve '0.55, 0.055, 0.675, 0.19': swapping them makes the links leave late.

Libraries

GSAP 3.15.0, CustomEase 3.15.0, Archivo (font variabile) 5.3.0, Newsreader (font variabile) 5.3.0.

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

Testing

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