Build a hamburger menu animation for a fictional bouldering gym called Pallet. The page behind is chalk white (#f2efe9) with ink text (#16211f): a coral dot label "Reset this Thursday", the headline "Thirty new problems on the overhang" at up to 92px with the last word in teal (#0f5c5a), a short line about day passes and two pill buttons, and beside it an SVG climbing wall of plywood panels, bolt holes and 34 seeded holds. Top right, a dark 48px pill button reads "Menu" with a yellow (#ffd23f) circle holding three lines. On click the label rolls up to "Close", the lines turn into a cross and three full height panels sweep in from the right, yellow, then coral (#ff6b4a), then teal, 80ms apart over 700ms on cubic-bezier(.76,0,.24,1). Then six links rise out of masks one after another, 60ms apart: Climb, Classes, Kids' club, Memberships, The café, Find us, each 50px heavy type with a small yellow index number. Hovering a link slides it 30px right and pops a yellow hold shape in. A footer with address and hours fades in last. The drawer is 520px wide and full width on phones. Use aria-expanded, move focus to the first link, keep Tab inside, close on Escape or a scrim click and return focus. Reduced motion skips the stagger.
Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.
Use it in three steps
- Copy the prompt with the button above.
- Paste it into your AI site builder, or any AI chat that writes code.
- Make it yours by swapping the three panel colours and links for your own brand.
About this hamburger menu animation
This hamburger menu animation treats opening the menu as a small event. Three coloured panels sweep in from the right a beat apart, so for a moment you see yellow and coral edges racing the teal one, and then the links rise out of hidden masks one after another. The button itself changes too: its label rolls from Menu to Close and the three lines fold into a cross, so you always know how to get back.
Behind it sits a real page for a bouldering gym, with an illustrated wall of holds, so the menu is shown where it would actually live. Hovering a link slides it across and drops a little hold shape beside it, a detail that ties the menu back to the brand.
Why the prompt works
- It gives the stagger as numbers, 80ms between panels and 60ms between links, which is where the rhythm comes from.
- It names the easing curve, so the panels accelerate and settle rather than slide.
- It spells out the accessibility, aria-expanded, focus in, Tab kept inside, Escape and focus back.
- It covers phones, where the drawer fills the screen.
Where to use it
Gyms, studios, venues and any brand site with five to seven top pages. Pick three colours from your palette for the panels and keep the last one dark enough for white text.
The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.