Collection of free Bootstrap navigation menu code examples: responsive, sidebar, dropdown, fixed, vertical, horizontal, hamburger, etc

Welcome to our collection of Bootstrap examples! In this carefully curated compilation, we have gathered a wide range of code snippets that demonstrate the versatility and power of the Bootstrap framework.

Bootstrap 5 Sidebar Menu with Toggle Button

Author:
BBBootstrap Team | April, 2021
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
boxicons.css
Bootstrap version:
5.0.0
Bootstrap Menu V14

Bootstrap Menu V14

Author:
rokr | March 9, 2021
Made with:
HTML / CSS / JS

About a code

Right align navbar menu template with social media icons and a completely responsive structure. You can easily embed it into your website and perform additional edits to tailor it to your needs.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js, popper.js
Bootstrap version:
4.3.1

Bootstrap Menu V18

Author:
rokr | March 9, 2021
Made with:
HTML / CSS / JS

About a code

Present even more content and make navigation more powerful with this free mega menu template design. You can preview it first, hit the download second and put it into action third. Enjoy the process.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js, popper.js
Bootstrap version:
4.3.1
Bootstrap Menu V19

Bootstrap Menu V19

Author:
rokr | March 9, 2021
Made with:
HTML / CSS / JS

About a code

Instead of sticking to the traditional navigation positioning on a website, this free left sidebar menu template goes slightly against the grain. It is also fully mobile-friendly, offering an off-canvas menu for a better user experience.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js, popper.js
Bootstrap version:
4.3.1

Bootstrap Menu V20

Author:
rokr | March 9, 2021
Made with:
HTML / CSS / JS

About a code

Keep things minimal while at the same time bold with this free full-screen menu overlay template. The navigation goes straight to the point, and you can also add a company logo or leave it out completely.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js, popper.js
Bootstrap version:
4.3.1

How to Convert Bootstrap Pills (Tabs) Into a Dropdown Menu

Author:
Envato Tuts+ | February 22, 2021
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
4.6.0

Bootstrap Menu V07

Author:
rokr | January 28, 2021
Made with:
HTML / CSS / JS

About a code

Create excellent website navigability with this beautiful, responsive and free transparent menu template. It also features a top bar with social media icons and multi-level drop-down menu layering.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
icomoon.css, owl.carousel.css, jquery.js, popper.js
Bootstrap version:
4.3.1

Bootstrap Menu V05

Author:
rokr | January 27, 2021
Made with:
HTML / CSS / JS

About a code

Create excellent website navigability with this beautiful, responsive and free transparent menu template. It also features a top bar with social media icons and multi-level drop-down menu layering.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
icomoon.css, owl.carousel.css, jquery.js, popper.js
Bootstrap version:
4.3.1

Side Menu Responsive Bootstrap

Author:
corbpie | October 3, 2020
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css
Bootstrap version:
4.5.2
Bootstrap 5 Colorful Navbar with Animation

Bootstrap 5 Colorful Navbar with Animation

Author:
BBBootstrap Team | September, 2020
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css
Bootstrap version:
5.0.0

Cool Bootstrap Navigation Bar

Author:
Santanu Patra | August 11, 2020
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
4.1.1

Menu Effect

Author:
Ivan Grozdic | June 7, 2020
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
4.5.0
Bootstrap 4 Navigation Bar

Bootstrap 4 Navigation Bar

Author:
Omkar Bailkeri | May, 2020
Made with:
HTML / CSS / JS

About a code

Bootstrap 4 navigation bar with brand logo and name.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
4.3.1
Bootstrap Sticky Navbar

Bootstrap Sticky Navbar

Author:
Bootstrapious | February 20, 2020
Made with:
HTML / CSS

About a code

Create a sticky top navbar using Bootstrap 4 utility classes.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
4.3.1

Bootstrap Dropdown Menu Style 96

Author:
bestjquery |
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
bootsnav.css, jquery.js, bootsnav.js
Bootstrap version:
3.3.0

Bootstrap Dropdown Menu Style 83

Author:
bestjquery |
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
bootsnav.css, jquery.js, bootsnav.js
Bootstrap version:
3.3.0

Bootstrap Dropdown Menu Style 75

Author:
bestjquery |
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
bootsnav.css, jquery.js, bootsnav.js
Bootstrap version:
3.3.0

Menu with Awesome Hover

Author:
Swarup Kumar Kuila | November 13, 2019
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
Bootstrap version:
4.1.3

Bootstrap 4 Mega

Author:
Omkar Bailkeri | November, 2019
Made with:
HTML / CSS / JS

About a code

Bootstrap 4 mega menu navigation bar with icons.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
4.3.1
Bootstrap Transparent Navbar

Bootstrap Transparent Navbar

Author:
Bootstrapious | October 22, 2019
Made with:
HTML / CSS / JS

About a code

The menu starts off as a transparent header bar. Then, as your website visitor scrolls down, it becomes opaque that will enhance your menu’s accessibility. Additionally, the menu bar is responsive, and the menu items are hidden in a minimal hamburger menu. Bootstrap transparent navbar looks good in both desktop computers and mobile devices.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
4.3.1

Bootstrap 4 Navbar

Author:
Piyush | September 9, 2019
Made with:
HTML / CSS / JS

About a code

With Bootstrap, a navigation bar can extend or collapse, depending on the screen size. A standard navigation bar is created with the .navbar class, followed by a responsive collapsing class: .navbar-expand-xl. ... sm (stacks the navbar vertically on extra large, large, medium or small screens).

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
4.3.1

Bootstrap 4 Dropdown Megamenu

Author:
BBBootstrap Team | July, 2019
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
4.3.1

Bootstrap Menu

Author:
Rajesh Kr. Das | June 5, 2019
Made with:
HTML / CSS / JS

About a code

Bootstrap menu with smooth border transition.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
popper.js
Bootstrap version:
4.3.1

Multi-level Bootstrap Menu

Author:
Vaibhav | May 30, 2019
Made with:
HTML / CSS / JS

About a code

Multi-level Bootstrap menu on hover Bootstrap3.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
Bootstrap version:
3.4.0
Bootstrap Navbar with Logo

Bootstrap Navbar with Logo

Author:
bootstrapious | May 10, 2019
Made with:
HTML / CSS

About a code

Build a Bootstrap 4 navbar with an image logo.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
4.3.1
Bootstrap Vertical Navbar

Bootstrap Vertical Navbar

Author:
Bootstrapious | May 8, 2019
Made with:
HTML / CSS / JS

About a code

Build a fixed sidebar using Bootstrap 4 vertical navigation and media objects.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
4.3.1

Responsive Bootstrap 4 Menu - Light/Dark

Author:
Ivan Grozdic | February 15, 2019
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
4.1.3

Bootstrap Responsive Hover Navbar

Author:
Tristan Cottam Meulemans | May 24, 2018
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
Bootstrap version:
3.3.7

Bootstrap Menu Underline Effect

Author:
Trish Recuero | April 16, 2018
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
4.0.0

Bootstrap 4 Navbar with Dropdown Animations

Author:
Dey Dey | March 1, 2018
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
4.0.0

Bootstrap Menu for One Page

Author:
Harun Kocaman | February 7, 2018
Made with:
HTML / CSS / JS

About a code

One page Bootstrap + jQuery smooth scroll effect menu, if clicked menu item change active status and scroll to the section.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
3.3.7

Bootstrap Menu + Submenu

Author:
Raian de Andrades | December 29, 2017
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
3.3.5

Bootstrap 4 Mega Dropdown Menu Navbar

Author:
Jacob Lett | November 17, 2017
Made with:
HTML / CSS / JS

About a code

Mega Dropdown Menu Navbar - Bootstrap 4 code snippet full width dropdown menu.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
4.1.3

Minimal Bootstrap Navbar

Author:
Zachary Kahl | June 14, 2017
Made with:
HTML / CSS (SCSS) / JS

About a code

A minimal Bootstrap navbar.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
3.3.7
Draggable Bootstrap Menu

Draggable Bootstrap Menu

Author:
Wade | February 24, 2017
Made with:
HTML / CSS / JS

About a code

This draggable bootstrap menu overflows the dropdown menus yet shows a background color the same size as the collapsed menu.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js, jquery-ui.js
Bootstrap version:
3.3.7

Fixed Navigation Sidebar

Author:
Boomer | June 5, 2016
Made with:
HTML / CSS (Sass) / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
linearicons.js, jquery.js
Bootstrap version:
3.3.6

Bootstrap Fullscreen Menu

Author:
Dan Stuart | April 7, 2016
Made with:
HTML (Haml) / CSS (SCSS) / JS

About a code

Here’s an example of using Bootstrap’s modal plugin for site navigation. This will animate your navigation in nicely and is great for portfolio and brochure style websites that don’t require second level links.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
3.3.6

Responsive Animated Nav

Author:
Scott Marshall | December 7, 2014
Made with:
HTML / CSS (SCSS) / JS

About a code

A fully responsive animated navigation menu for Bootstrap literally copy and paste and you're on your way.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
3.3.1

Bootstrap Navbar Toggle Show/Hide

Author:
Clint Bettiga | October 26, 2013
Made with:
HTML (Haml) / CSS (SCSS) / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
2.3.2

Header Blue

Author:
Epic Bootstrap |
Made with:
HTML / CSS / JS

About a code

Landing page header featuring a responsive navbar, beautiful intro text, and a phone mockup for showcasing your products.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
4.1.3

Style Header Menu Effect

Author:
Nemra1 |
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
4.1.1

Accordian Menu

Author:
Siddharth Panchal |
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
4.0.0

Responsive Side Navigation Menu Bar

Author:
aniketDev |
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css, jquery.js
Bootstrap version:
4.0.0

Side Menu Responsive

Author:
Siddharth Panchal |
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
4.0.0

Bootstrap Mega Menu

Author:
AtiqUrRehman |
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
3.3.0

Mega Menu

Author:
maridlcrmn |
Made with:
HTML / CSS / JS

About a code

Mega menu slide down on hover with carousel.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
3.3.0

Mega Menu

Author:
anil0495 |
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js
Bootstrap version:
3.3.0

Discover Our Extensive Snippet Library

This heading suggests that your website provides a wide variety of snippets across different technologies, encouraging users to explore and use these resources for their development projects.

HTML Snippets.

Explore a collection of HTML snippets designed to streamline your web development process. From basic structures to complex elements.

CSS Snippets.

Discover powerful CSS snippets that help you style your web pages with ease. Whether you need layout solutions, animations

JavaScript Snippets.

Enhance your website's interactivity with our JavaScript snippets. From DOM manipulation to advanced algorithms

Bootstrap Snippets.

Leverage the power of Bootstrap with our collection of snippets. Quickly integrate responsive design components

Tailwind Snippets.

Speed up your development process with Tailwind CSS snippets. These utility-first CSS snippets enable you to

jQuery Snippets.

Simplify your JavaScript development with jQuery snippets. Easily perform common tasks like event handling, animations

React Snippets.

Build robust, component-based user interfaces with our React snippets. From state management to lifecycle methods,

Vue Snippets.

Streamline Vue.js development with our collection of snippets for creating components, managing state, and handling events.

Ready to set your Brand ablaze?

Let's craft a visual identity that ignites passion and loyalty. ✨