How To Create A Hamburger Menu For Your Website
Introducing The New Overlay & Animation Features
Anima allows designers to create high-fidelity prototypes inside Sketch, Adobe XD, and Figma and exports them as HTML & CSS with a single click or publish them to a custom domain in just minutes.
đŞ Letâs start by showing:
Before:
After:
đą Mobile screens have limited screen space. Thatâs why sometimes our designs include menus that only present themselves when users explicitly tapped a button. A common use-case for that is hiding the navigation menu of a website in a âHamburger menuâ. The popular frontend framework Bootstrap made it a convention and from there we can see it all over (granted not everyone likes it.. đ)
âď¸ Overlay
Today we are announcing a groundbreaking feature called: âOverlayâ.
The Overlay feature can be used not just in mobile navigation menu, but it many other cases in Desktop or Mobile. For example:
- Menus
- Popups
- Floating Videos
- Modal Dialogs
đĄ Did you know? When you use an overlay the page doesnât reload and instead gives an instant feedback, giving a slick and snappy user experience.
đ¤ How To Create An Overlay
âą It only takes a few seconds to mark an artboard as Overlay and select an animation for the transition. Here are the steps:
- Create an Artboard that will act as the Overlay. In this case itâs the dark menu on the right.
- On the presenting Artboard select the button that triggers showing the Overlay. In this case itâs the Hamburger menu on the top left corner.
- Click the â˘â˘â˘ button in the Launchpad panel on the bottom right corner.
- Click âShow Overlayâ
- Select the animation you would like for presenting the Overlay artboard.
- Youâre done!
⨠Animations
If youâd like to make your website look awesome, you can now add some animations that occur when the page loads.
đŠ How to Create Animations
- Select the layer / group youâd like to animate
- Click the â˘â˘â˘ button in the Launchpad panel on the bottom right corner.
- Click âAnimationâ
- Select the animation you would like for this layer to enter with.
- Fine tuning:
Play with duration, delay & even the CSS to make it exactly as you want it. - Youâre done!
đ Conclusion
The Overlay feature was one that was missing to enable us to create complete responsive websites that fit both Desktop and Mobile screens. With the feature now live and released, designers can publish fully functional websites without having to code or to be dependent on developers. This is a giant step towards complete freedom of creativity.
We hope you enjoy creating awesome websites with Launchpad, Overlays and Animations. If you want to share what youâve created join us at https://www.facebook.com/groups/animaapp/