Kodza

Fullscreen Menu

A fullscreen menu: a curtain comes down with its edge bending as it moves, the page backs off under it, and each link rises as the edge passes. Closing plays it backwards.

Navigation No dependencies menufullscreenburgernavdialogoverlay Added Oct 2026
/anim/fullscreen-menu/ GitHub Fullscreen

With your AI

Just ask.

Say it to your AI. It gets the exact code below, not its best guess, and knows where it goes.

Add the Kodza Fullscreen Menu to my page.

Not plugged in yet?
claude mcp add -t http kodza https://kodza.dev/api/mcp
Also in Codex, Cursor and VS Code.
kodza-fullscreen-menu.html
<div class="kodza-fullscreen">
  <button class="kodza-fullscreen__toggle" type="button" aria-haspopup="dialog" aria-expanded="false"><span class="kodza-fullscreen__lines" aria-hidden="true"></span>Menu</button>
  <div class="kodza-fullscreen__panel" role="dialog" aria-modal="true" aria-label="Menu" tabindex="-1" hidden>
    <span class="kodza-fullscreen__shade" aria-hidden="true"></span>
    <span class="kodza-fullscreen__curtain" aria-hidden="true"><svg class="kodza-fullscreen__edge" viewBox="0 0 100 100" preserveAspectRatio="none" focusable="false"><path d="M0 0Q50 200 100 0Z"/></svg></span>
    <div class="kodza-fullscreen__body">
      <div class="kodza-fullscreen__bar">
        <p class="kodza-fullscreen__label">Five links. That's the site.</p>
        <button class="kodza-fullscreen__close" type="button"><span class="kodza-fullscreen__cross" aria-hidden="true"></span><span class="kodza-fullscreen__say"><span>Close</span></span></button>
      </div>
      <div class="kodza-fullscreen__stage">
        <nav class="kodza-fullscreen__nav" aria-label="Main">
          <a class="kodza-fullscreen__link" href="#"><span class="kodza-fullscreen__mask"><span class="kodza-fullscreen__word">Work</span></span><span class="kodza-fullscreen__index">01</span></a>
          <a class="kodza-fullscreen__link" href="#"><span class="kodza-fullscreen__mask"><span class="kodza-fullscreen__word">Studio</span></span><span class="kodza-fullscreen__index">02</span></a>
          <a class="kodza-fullscreen__link" href="#"><span class="kodza-fullscreen__mask"><span class="kodza-fullscreen__word">Process</span></span><span class="kodza-fullscreen__index">03</span></a>
          <a class="kodza-fullscreen__link" href="#"><span class="kodza-fullscreen__mask"><span class="kodza-fullscreen__word">Notes</span></span><span class="kodza-fullscreen__index">04</span></a>
          <a class="kodza-fullscreen__link" href="#"><span class="kodza-fullscreen__mask"><span class="kodza-fullscreen__word">Contact</span></span><span class="kodza-fullscreen__index">05</span></a>
        </nav>
        <div class="kodza-fullscreen__info">
          <div class="kodza-fullscreen__group">
            <p class="kodza-fullscreen__small">New project</p>
            <p><a href="#">studio@example.com</a></p>
          </div>
          <div class="kodza-fullscreen__group">
            <p class="kodza-fullscreen__small">Studio</p>
            <p><span class="kodza-fullscreen__row">Quai de Southampton</span><span class="kodza-fullscreen__row">Le Havre</span></p>
          </div>
          <div class="kodza-fullscreen__group">
            <p class="kodza-fullscreen__small">Elsewhere</p>
            <p class="kodza-fullscreen__socials"><a href="#">GitHub</a><a href="#">X</a><a href="#">Bluesky</a></p>
          </div>
          <p class="kodza-fullscreen__small">Esc closes it. So does Close.</p>
        </div>
      </div>
    </div>
  </div>
</div>

Checked

Checked before you paste.

Robots poked at it before you did. Every component goes through the same checks, and again each time it changes.

What ranLast run
Accessibilityaxe-core 4.10.2: the WCAG 2.1 A and AA rules, plus best practices. 0 issues
KeyboardThe Tab key gets there, and the focus ring shows when it does. Passed
Reduced motionTurn on reduced motion and what moved just appears. Nothing loops. Passed
Light and darkThe same checks on both themes, contrast included. Passed
WordPressPasted into Twenty Twenty-Five, Twenty Twenty-One, Astra, Blocksy, GeneratePress, Hello Elementor, Kadence and OceanWP. Nothing to flag. 8 / 8 themes
Robots checked this. A human with VoiceOver hasn't yet.
KeyboardPress them in the preview
On the button
  • Opens it on the current link, or the firstEnter/Space
In the menu
  • Next or previous link, round and round↓/↑
  • First or last linkHome/End
  • Stays inside the menu, round and roundTab/⇧Tab
  • Held back, the page behind stays putPage Up/Page Down
Anywhere, while it's open
  • Lifts the curtain, focus back on MenuEsc

More like this

More in Navigation