From our sponsor: Ready to show your plugin skills? Enter the Penpot Plugins Contest (Nov 15-Dec 15) to win cash prizes!
Today we’d like to share a couple of styles and effects for off-canvas menus. The off-canvas sidebar is widely used and we have already created some effect inspiration before. Like with everything, style evolves and today we want to show a new set of modern effects for your inspiration. Different layouts and synced transitions of the menu and the page can make everything look more interesting and we can make use of the available space for side-menus and controls. SVG allows us to play with organic shapes and add some unexpected and stylish moves to a design.
We use CSS transitions, CSS animations created with bounce.js and animated SVGs with the help of Snap.svg. We also use Font Awesome and the profile picture is from the Random User Generator.
Please note that the effects serve as inspiration and will work (best) in modern browsers.
Let’s take a look at some of the styles.
This first demo is inspired by the Dribbble shot Old Designspiration Menu Concept One by Michael Martinho.
The idea behind the corner box effect is to translate an off-canvas box into the viewport while moving the content to the opposite corner, too, creating a window-like effect.
Following the simple corner box, we can think of another “layer” that will move on top of the previous box and that will make the content translate another “step”.
Tiny break: 📬 Want to stay up to date with frontend and trends in web design? Subscribe and get our Collective newsletter twice a tweek.
This menu expands from the menu button itself, taking up a space that was revealed by pushing down the content of the page. You might have seen this effect on a sidebar in one of our Morphing Buttons demos.
This menu is not an off-canvas one, but more like an expanding box with a content overlay. Here we use a jelly-like animation created with bounce.js.
This demo is using Snap.svg for animating SVG paths. Using a combination of a morphing wave with delayed menu item appearances, an organic feel is created.
We hope you enjoyed the effects and get inspired!
Any chance of pointing me at the installation instructions…I have searched high and low. Site reports a missing template when I load it into the themes dir
Muy bueno, gracias!
Your stuff is just fantastic. I am so glad I came across your site. Thank you!
Is it possible to make this a multi level menu?
exceptional work !, can somebody help me with the bubble effect , i want to move the button and transition to the right side. The button should be on the right top and when i click on it the panel should open from right to left on the right side of the screen.
Thank you
First thank you for this great work.
I am using side slide and i want to show menu first 3 second on page load and then hide it.How can i do it?
Thank you
hi
You’re the best!
can please me out how regular navigation with multiple nested LIST items for the slider canvas off menu
thanks
These menu effects look great! Can anyone help me in how to use one of these in WordPress? Thanks!
I feel like I am missing something… I love the menu but how am I missing the tutorial : /
No one reading this could give advice on how to use these with WordPress?
Hi,
I would instal on my wordpress website a menu of this codrop tutorial, but I don’t succeed in find the explication of installation.
hi, did you succed install this menu on wordpress? can you tell me how to do it?
I asked a request for a contribution to improve stability on other browsers like IE and Mozilla Firefox – https://github.com/codrops/OffCanvasMenuEffects
There is a problem in Side Slide and Wave Page. (Problem is when u try to scroll down the page using your keyboard up, down arrows it shows one another background coming from bottom.)
Can you please fix this or let me what I should do for this to remove?
Hi Mary!
I’m a nob at svg … can you please let me know if there is such thing as a svg path morphing tool? How do you guys do it?
I really need to make the bubble menu open from the right hand side rather then the left hand side, and looking at the path on the svg I really don’t understand much… it looks to me as it’s generated.
Can you please let me know if there is a demo for the bubble menu opening from the other side or how exacly does one change the morphing paths?
Thank you kindly!
Hello.
This menu is great. I have it working nice on my site, but it’s making the other absolute elements on the site fixed for some reason. It’s something in the menu_sideslide.css file. Have you encountered this? Is it an easy fix?
on the top side scrolling does not run well on the browser chrome, please help me
Hi, thanks for the great job!
One question – how can I do the Elastic effect from the right to the left?
Thanks!
Hello Mary Lou,
Please help.
How do I make the menu and its trigger button appear at the right side instead of the at the left, as well as the menu contents sliding from right to left?
Thank you so much.
Hello Mary Lou, I have downloaded this Off-canvas-menu-effects but the “hamburger” icon (button-menu) is not visible at all. The square where it’s supposed to be is there and active, I can even change the color but the three lines are not there.
I’ve tried several times with same result. Thanks in advance
Hi,Hello Mary Lou, I have downloaded this Off-canvas-menu-effects
thanks for the great job!
plse send other types of navigation bar.
Just a heads up. I implemented the menu on charleshaggas.com but I’m having issues with scrolling animations and one page smooth navigation scrolling. I’ll keep playing around with it but it seems like the menu may create bugs with plugins that are oriented around scrolling.
Love what you’re doing here though.
Hi!
I liked so much these effects!
I’ll try to use the side slide example, but I need with two levels.
Can You help me, please???
Tank´s a lot.
Fernando
Hello everyone.
I already checked the web but could not really find a solution, yet.
I am having a certain problem which is about to drive me mad:
I built an off-canvas menu which contains some references that are anchor-linked to content on the very same site.
Unfortunately after having clicked on those references, the menu does not disappear.
What is the right way, to close the off-canvas menu by clicking on a link in order to show the set anchor?
I’d appreciate your assistance very much!
Best Regards
Kay
Please any idea to open this from right side, can handle svg than much.
How did you achieved the bubble effect.Did you made it yourself using some sodrt of software or you did it using some jQuery….please tell me 🙂
In wave menu there are a bug
if you tried to press space Button on the keyboard , there is an error and the menu is uncompleted
also if you pressed Ctrl+end to get the end of the page
Thanks for this creative article.
I have one question though. Is it possible for the contents to move while the scrolling on the menu when the menu is open? Currently body scroll is only possible when the mouse is outside the menu-wrap.
/ASZ
Hi Mary,
I really like this menu styles. Very Good Work.
I want to set http://tympanus.net/Development/OffCanvasMenuEffects/sideslide.html to right side instead of Left side. How can I do this?
Thank you.
Thanks you!Nice sample menu!
Great article I love this menu, however I am trying to get the top expand menu to have the menu come from the right rather than left, I’ve tried all sorts but I’m stuck as to how to achieve this any ideas?
Thanks in advance.
There’s a bug on iOS devices. The smooth scroll is disabled, because you get stuck on the page if you try to scroll with smooth scroll enabled.
Implementation of bubble effect to 2 menus in same page ,
Elastic effect on right
.menu-wrap {
position: absolute;
z-index: 100;
width: 67%;
right: -40%;
top: 0;
bottom: 0;
height: 100%;
font-size: 1.15em;
overflow: hidden;
-webkit-transform: translate3d(67%,0,0);
transform: translate3d(67%,0,0) ;
-webkit-transition: -webkit-transform 0.3s;
transition: transform 0.3s;
}
.menu {
background: #373a47;
width: 100%;
height: 100%;
padding: 1em 1em;
margin-left: 120px;
z-index: 101;
}
.morph-shape {
position: absolute;
width: 120px;
height: 100%;
top: 0;
left: 0;
right: 0;
fill: #373a47;
z-index: -1;
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
.show-menu .content-wrap {
-webkit-transition-delay: 0.1s;
transition-delay: 0.1s;
-webkit-transform: translate3d(-100px,0,0);
transform: translate3d(-100px,0,0);
}
I love you effects. It’s free and works awesome – Thank you very much!
How can i use two different menus, one on the left and one on the right?
Is there a way to get this in a sass format?