mburger

A webcomponent for animated hamburgers. All set up to work out of the box with the mmenu.js and mmenu-light plugins. Click a hamburger to see the animation. More info here.

Note: If you want to run these examples locally, you need to run them through a local web server. Otherwise the <script type="module"> will be blocked by CORS policy.


Choose an animation for the examples:

collapse
spin
squeeze
tornado
<html>
    <head>
        <script type="module" src="dist/mburger.js"></script>
    </heady>
    <body>
        <mm-burger fx="spin"></mm-burger>
    </body>
</html>

For more examples and the full documentation, please visit: mmenujs.com/mburger