Skip to content
animorio
IT
Back to the library

Corner bloom menu

Transitions, HoverGSAP, CSS onlyMediumCompressed weight: Demo 8.8 KBGSAP 28 KBFreeDownload the zip

The home of Kestrel Plains, a made-up collection of three safari lodges, with a real photo of a savanna and a thin title. On a click on «Menu» a paper panel grows out of the top left corner until it covers half the screen, while the page behind gets darker; the lodge cards come out of a blur one after the other, then the big items rise out of the blur too and the small ones come up from below. «Menu» rolls into «Close» letter by letter and the two lines cross. On hover an item moves a few pixels, gains weight and a small olive trail draws itself after it; the lodge photo grows a touch. Minimal style. From the menu of the Tengile MalaMala Collection site, Awwwards Site of the Day on 3/10/2026.

Rebuilt from scratch studying tengilemalamala.com by DashDigital Studio, HKLM: 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.

<!doctype html>
<!--
  "Corner bloom 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>Kestrel Plains</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/opsz.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/inter@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- the home of Kestrel Plains, a made-up collection of three safari lodges. «Menu» in the top left corner grows a
       paper panel out of the corner while the page behind goes dark; the lodge cards come out of a blur, then the big
       items, then the small ones rise from below. Esc, the backdrop or «Close» play it all backwards, a little faster -->
  <div class="palco" data-palco>

    <main class="pagina" data-pagina>
      <figure class="eroe">
        <img class="eroe__foto" data-eroe src="pianura.webp" width="1024" height="683" alt="Dry orange grass and a few flat-topped trees on a savanna under a soft sky">
        <span class="eroe__velo" aria-hidden="true"></span>
      </figure>
      <div class="eroe__testo">
        <p class="occhiello">Kestrel Plains Reserve</p>
        <h1 class="titolo">Where the plains<br>keep their quiet</h1>
        <p class="sotto">Three lodges, sixty thousand acres, one slow morning at a time.</p>
      </div>
    </main>

    <header class="testa">
      <a class="marchio" href="#" aria-label="Kestrel Plains, home">
        <svg class="marchio__segno" viewBox="0 0 32 16" aria-hidden="true"><path d="M1 12.5c5.5-1.2 9.6-4.6 15-10.5 5.4 5.9 9.5 9.3 15 10.5M10.2 8.6c2.3.5 4 1.6 5.8 3.6 1.8-2 3.5-3.1 5.8-3.6" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round"/></svg>
        <span class="marchio__nome">Kestrel Plains</span>
      </a>
      <a class="chiedi" href="#">Enquire<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9.4M8.6 4.2 12.4 8l-3.8 3.8" fill="none" stroke="currentColor" stroke-width="1.3"/></svg></a>
    </header>

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

    <div class="pannello" id="menu-pannello" data-pannello role="dialog" aria-modal="true" aria-label="Menu" aria-hidden="true" inert>
      <div class="pannello__dentro" data-dentro>
        <nav class="principali" aria-label="Main" data-principali>
          <a class="voce" href="#" data-voce><span class="voce__testo">About</span><svg class="voce__orma" viewBox="0 0 56 14" aria-hidden="true"><path pathLength="1" d="M1 10c6-1 8-7 14-7s7 8 14 8 8-6 14-6c4 0 6 2 10 2" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round"/><path pathLength="1" d="M49.5 4.2 53 7l-3.6 2.6" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
          <a class="voce" href="#" data-voce><span class="voce__testo">Accommodation</span><svg class="voce__orma" viewBox="0 0 56 14" aria-hidden="true"><path pathLength="1" d="M1 10c6-1 8-7 14-7s7 8 14 8 8-6 14-6c4 0 6 2 10 2" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round"/><path pathLength="1" d="M49.5 4.2 53 7l-3.6 2.6" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
          <a class="voce" href="#" data-voce><span class="voce__testo">Experiences</span><svg class="voce__orma" viewBox="0 0 56 14" aria-hidden="true"><path pathLength="1" d="M1 10c6-1 8-7 14-7s7 8 14 8 8-6 14-6c4 0 6 2 10 2" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round"/><path pathLength="1" d="M49.5 4.2 53 7l-3.6 2.6" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
          <a class="voce" href="#" data-voce><span class="voce__testo">Conservation</span><svg class="voce__orma" viewBox="0 0 56 14" aria-hidden="true"><path pathLength="1" d="M1 10c6-1 8-7 14-7s7 8 14 8 8-6 14-6c4 0 6 2 10 2" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round"/><path pathLength="1" d="M49.5 4.2 53 7l-3.6 2.6" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
          <a class="voce" href="#" data-voce><span class="voce__testo">Partner Hub</span><svg class="voce__orma" viewBox="0 0 56 14" aria-hidden="true"><path pathLength="1" d="M1 10c6-1 8-7 14-7s7 8 14 8 8-6 14-6c4 0 6 2 10 2" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round"/><path pathLength="1" d="M49.5 4.2 53 7l-3.6 2.6" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
        </nav>

        <div class="piede">
          <span class="piede__riga" data-riga aria-hidden="true"></span>
          <ul class="secondarie" aria-label="More">
            <li><span class="maschera"><a href="#" data-secondaria>Journal</a></span></li>
            <li><span class="maschera"><a href="#" data-secondaria>Contact</a></span></li>
            <li><span class="maschera"><a href="#" data-secondaria>Careers</a></span></li>
            <li><span class="maschera"><a href="#" data-secondaria>Press</a></span></li>
          </ul>
        </div>

        <aside class="lodge" aria-label="Our lodges">
          <p class="lodge__titolo" data-lodge-titolo>Our lodges</p>
          <a class="scheda" href="#" data-lodge>
            <span class="scheda__foto"><img src="spini.webp" width="720" height="480" alt="A lioness resting in dry grass with acacia trees and far hills behind"></span>
            <span class="scheda__riga"><span class="scheda__nome">Thorn Camp</span><span class="scheda__nota">Eight tents</span></span>
          </a>
          <a class="scheda" href="#" data-lodge>
            <span class="scheda__foto"><img src="fiume.webp" width="720" height="477" alt="An elephant crossing a misty riverbed at dawn, trees on the far bank"></span>
            <span class="scheda__riga"><span class="scheda__nome">River Fig Lodge</span><span class="scheda__nota">Six suites</span></span>
          </a>
          <a class="scheda" href="#" data-lodge>
            <span class="scheda__foto"><img src="cresta.webp" width="720" height="540" alt="Two giraffes, a mother and a calf, on open grassland below a ridge"></span>
            <span class="scheda__riga"><span class="scheda__nome">Sable Ridge</span><span class="scheda__nota scheda__nota--presto">Opening 2027</span></span>
          </a>
        </aside>
      </div>
    </div>

    <button class="apri" type="button" data-apri aria-expanded="false" aria-controls="menu-pannello">
      <svg class="apri__segno" viewBox="0 0 20 20" aria-hidden="true">
        <path data-linea="su" d="M3 7.5h14" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
        <path data-linea="giu" d="M3 12.5h14" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
      </svg>
      <span class="apri__parole" aria-hidden="true">
        <span class="apri__parola" data-parola="menu">Menu</span>
        <span class="apri__parola apri__parola--sotto" data-parola="close">Close</span>
      </span>
      <span class="solo-lettore" data-letto-apri>Open the menu</span>
    </button>
  </div>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.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.

43 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 “Corner bloom 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 Kestrel Plains: full screen, a real photo of a savanna with orange grass and wind-bent trees, at the bottom the title in very thin Fraunces «Where the plains keep their quiet», in the top left «Menu» with two lines, in the middle the mark (a wing drawn in a fine line and the name), on the right «Enquire» with its arrow. On a click on «Menu» a rosy paper panel grows out of the top left corner, wide and tall together, until it covers about half the screen with a soft shadow on its edge; the page behind gets darker and the photo grows a touch. When the panel has nearly arrived, on the right «Our lodges» and the cards of Thorn Camp, River Fig Lodge and Sable Ridge (with «Opening 2027» in an outlined pill) come out of the blur one after the other; then the big items, About, Accommodation, Experiences, Conservation and Partner Hub, rise 20 px out of the same blur; then a hairline draws itself from the left and the small items Journal, Contact, Careers and Press come up from below. Meanwhile «Menu» slides up and away letter by letter and «Close» comes in from below, the two lines of the icon cross into an X with a small bounce, and past 20% the button turns dark green. On hover over a big item, the word moves 6 px to the right, the weight goes from 280 to 430, the other items fade and a small wavy olive trail with its tip draws itself after the word; on a lodge the photo grows a touch, the shadow deepens and the other names fade. «Close», Esc or a click on the dark backdrop close it all backwards, a quarter faster. On a phone the panel covers the whole box and the lodges are a row of three at the bottom. Left alone, the page opens the menu, hovers Experiences and River Fig Lodge, and closes it again.

How it works

One paused timeline

The whole menu is one paused timeline with a «start» label. It opens with timeScale(1).play() and closes with timeScale(1.25).reverse(): closing is the same road backwards, a quarter faster, and a click halfway turns it back from wherever it is.

The panel that grows from the corner

The panel stays in the top left corner and grows in width and height from 0 to its final size in .7 s with power3.inOut, together with the dark backdrop going from 0 to 1. The content inside already has its size and is only uncovered, so the text never reflows while the panel grows. GSAP takes a number from 0 to 1 and on every frame the size is worked out from the window of that moment.

The cards, the items and the small ones

0.2 s before the end the cards come out of blur(10px) and opacity 0, one every .1 s, in .5 s. 0.2 s after the first card the big items rise 20 px out of the same blur, one every .05 s, in .3 s; 0.2 s later the small items rise from yPercent 100 inside a mask with overflow hidden, while the hairline above them draws itself.

The button that changes

«Menu» and «Close» share one grid cell, one span per letter: the letters of «Menu» leave upwards and those of «Close» come in from below, .03 s apart. The two lines of the icon move 2.5 px and turn 45 degrees with back.inOut. Past 20% of the progress the button takes the panel’s dark green.

Closed means closed

When closed the panel has inert and aria-hidden, and items, cards and links have tabIndex -1: the Tab key never lands inside. When open the page doesn’t scroll, Esc closes and gives the focus back to the button, and opening with the keyboard puts the focus on the first item.

Values to change

NameFileDefaultWhat it changes
GROWscript.js0.7Seconds the panel takes to grow out of the corner (the site uses .7).
WIDTHscript.js0.56Share of the screen width the panel covers on wide screens.
BACKDROPscript.js0.58How dark the page behind gets, from 0 to 1.
BLURscript.js10Pixels of blur the cards and items come out of (the site uses 10).
CARD_STAGGERscript.js0.1Seconds between one lodge card and the next (the site uses .1).
ITEM_STAGGERscript.js0.05Seconds between one item and the next (the site uses .05).
CLOSE_SPEEDscript.js1.25How much faster closing is than opening (the site uses 1.25).
THEME_ATscript.js0.2Point of the progress where the button turns dark (the site uses .2).
SHIFTscript.js6Pixels a big item moves right on hover.
WEIGHTscript.js430Weight a big item reaches on hover, from 280.
PAUSEscript.js1.3Seconds between one step and the next of the tour on its own.

Try them in the Playground

When to use it

For the menu of a hotel, a resort, a lodge, a collection of holiday homes or a travel brand: a menu that doesn’t cover everything, lets the page show through and puts the properties on show with their photos.

On phones

Same timeline and same timings. Under 700 px the panel grows to cover the whole box, the items are sized on the height too and the three lodges become a row under the small items; the brand leaves only its mark.

With reduced motion

No growing and no movement: the panel fades in already full size with the backdrop, «Menu» and «Close» swap with a fade, items and cards fade in without blur. On hover the item only gains weight and the trail draws, the photo doesn’t grow.

Pitfalls

  • If the panel’s content follows its width while it grows, the items wrap and jump on every frame. The content has its final size in pixels, pinned to the top left, and the panel with overflow hidden only uncovers it.
  • The final width and height depend on the window: worked out once, a resize halfway leaves them wrong. Here GSAP takes a number from 0 to 1 and the size is worked out again on every frame and on every resize.
  • The button must sit above the panel: if the header has a z-index it becomes a stacking context of its own and the button stays below. The header has no z-index, the button has one.
  • The timeline writes the items’ opacity, y and filter: the hover moves and fades the span inside the item, not the item, so they don’t wipe each other out.
  • An SVG stroke with pathLength 1 and a round cap leaves a dot even at dashoffset 1: the trail has a butt cap and dasharray 1 2.
  • One mask with overflow hidden for each small item, or yPercent 100 shows it below the line.

Libraries

GSAP 3.15.0, Fraunces (font variabile) 5.3.0, Inter (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 8.8 KB; the libraries: GSAP 28 KB.

Testing

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