Depending on the type of website or app you’re building, there will always be some key areas that you have to give more attention to than others. One area that is critical to all types of websites, and requires more thought than others, is navigation.
Menu items generally lead to the most important pages or areas of a site and help visitors navigate easier. And, as you have to consider multiple screen sizes when designing a menu, making the navigation responsive can often make things much more complicated, especially on larger sites.
As there is no universal solution, the type or style of menu you use will depend on the type of site you are creating. If it is a small site like a personal portfolio, a
<select> drop-down menu or a simple hamburger toggle menu will probably be suffice. But if it is a larger site like an eCommerce store that relies upon a mega-menu for navigation, then a drawer-style navigation or an animated side panel menu will most likely help you.
If you don’t find the responsive navigation solution you need on this page, you may find it on one of these code snippets collections we have also published recently:
Sidr is an easy-to-use plugin that will create a responsive Facebook-like side menu. It allows you to create multiple ‘sidr’ menus on either side of your layout.
Navgoco is a simple jQuery plugin that can turn a nested unordered list of navigation items into a beautiful vertical multi-level slide navigation.
FlexNav is a mobile-first example of using media queries and jQuery to make a robust dropdown menu. From the developer: It is a ‘device-agnostic approach to complex site navigation with support for touch and keyboard accessibility.’
scrollNav is a lightweight jQuery plugin that grabs your page’s existing content, divides it into logical sections and builds a customizable scrolling sidebar navigation.
Flaunt.js allows you to create a stylish responsive navigation with nested click to reveal.
jVanilla Menu is a simple jQuery menu plugin that takes an existing CSS drop-down menu and adds enhancements such as animations, submenu levels, and timeout delays.
Slidebars is a lightweight jQuery plugin that will allow you to add an app-style push menu to your website or application easily.
scotchPanels.js is a jQuery plugin for creating an off-canvas menu and other panel types such as images, videos, and iframes.
SmartMenus is a feature-rich plugin for creating both horizontal or vertical menus. Responsive and accessible. There are also Bootstrap addons available.
Menu Aim is a dropdown (both horizontal or vertical) plugin that can differentiate between a user hovering over a dropdown item versus trying to navigate into a submenu content.
slimMenu is a lightweight jQuery plugin that makes it easy to create responsive and multi-level navigation menus on the fly.
jPanelMenu is a jQuery plugin for creating a smooth animated paneled-style menu. The animation is handled by CSS transitions.
Naver is a simple plugin that will automatically turn a basic navigation system into a mobile-friendly system.
The HorizontalNav plugin will span a horizontal navigation to fit the full width of its container and comes with an option to either make it responsive or not.
TinyNav.js is a lightweight plugin (452 bytes) that converts
<ol> menus into a select dropdown. It also automatically selects the current page and adds
selected="selected" to that item.
Responsive-Menu is tiny jQuery plugin that will turn your site’s navigation into a dropdown (
<select>) when your browser is at the preset mobile width.
MeanMenu is a media query independent plugin for converting a standard menu into a mobile responsive menu. It is not a menu system replacement but simply some lightweight jQuery to convert a standard menu into a mobile version.
The Side Toggle Menu plugin allows you to add a sidebar menu to your website that slides in from either the left or right edge of the browser window.
Responsive Navigation CSS & JS Tutorials
Planning and creating a menu that works as intended on mobile devices is the trickiest area of building any responsive layout. To help you out, we have a selection of responsive navigation tutorials that will take you through each step.
- Responsive Off-Screen Menus (CSS)
Learn how to create a slide and push menu using CSS transitions.
- Full Width Responsive Tiled Menu (CSS)
- Basic Responsive “Three Line” Menu (CSS & jQuery)
Learn how to progressively enhance a responsive site and build a “three line” (hamburger menu) responsive menu without adding additional markup to the page.
- Responsive Multi-Level Navigation (CSS & jQuery)
Create a horizontal drop-down menu, with up to two levels of sub-menus that appear when the parent element is hovered over. On smaller screens, a menu button that will display the menu vertically.
- Responsive CSS Navigation Menu (CSS-only)
- Top Drawer – Smooth Responsive Dropdown Menu (CSS & jQuery)
- Simple Responsive Navigation (CSS & jQuery)
Learn how to build a responsive menu from the ground up using CSS media queries and a little jQuery to display the menu on a smaller mobile screen.
- Simple & Responsive Mobile First Navigation (CSS-only)
Learn how to build a simple mobile layout and navigation, then using media queries, progressively enhance the design for larger screens.
- Responsive Navigation Menu Tutorial
With this tutorial you will learn how to code a simple responsive navigation menu that you will be able to easily modify and reuse in your own projects.
Responsive Navigation Patterns
A selection of resources that discuss the pros and cons of the many different responsive menu options. Learn how you should handle responsive navigations and discover which solution best suits the project you are currently working on.
- Responsive Navigation Patterns by Brad Frost
- Scalable Navigation Patterns in Responsive Web Design by Michael Mesker
- A Brief Overview on Responsive Navigation Patterns by Chris Poteet
- 7 Responsive Navigation Patterns by Steven Bradley