Skip to content

10+ Free Bootstrap & Tailwind Navbar Templates

Top navigation bars with logos, links and responsive toggles.

15 components

Sticky Header that Shrinks on Scroll – free Pure CSS navbar template

Sticky Header that Shrinks on Scroll

Sticky website header that shrinks its height, logo and wordmark after a short scroll, with a blurred backdrop and an accessible mobile menu.

Navbar with Offcanvas Drawer on Mobile – free Bootstrap 6 navbar template

Navbar with Offcanvas Drawer on Mobile

Responsive Bootstrap 6 navbar that shows inline links on desktop and moves them into a slide-in Drawer with icons, studio hours and social links on small screens.

Sticky Navbar with Scrollspy Links – free Bootstrap 6 navbar template

Sticky Navbar with Scrollspy Links

Bootstrap 6 sticky navbar whose pill links highlight the section in view with ScrollSpy, with smooth scrolling, a reading progress line and a swipeable link row on mobile.

Dark Navbar with Mega Dropdown – free Bootstrap 6 navbar template

Dark Navbar with Mega Dropdown

Dark Bootstrap 6 navbar whose Products item opens a wide three-column mega menu with icons, descriptions and a featured card, collapsing into a Drawer on mobile.

Navbar with Overflow Menu (NavOverflow) – free Bootstrap 6 navbar template

Navbar with Overflow Menu (NavOverflow)

Bootstrap 6 news navbar built on the new NavOverflow component: links that do not fit move into a More menu automatically as the width shrinks.

Centered Logo Navbar – free Bootstrap 6 navbar template

Centered Logo Navbar

Elegant Bootstrap 6 navbar with links split around a centered logo, a pill call-to-action button and a Drawer menu on mobile.

Transparent Navbar over Hero Image – free Bootstrap 6 navbar template

Transparent Navbar over Hero Image

Bootstrap 6 transparent navbar over a full-height photo hero that turns into a solid, translucent white bar when the page scrolls.

Navbar with Search and User Menu – free Bootstrap 6 navbar template

Navbar with Search and User Menu

Dark Bootstrap 6 app navbar with a search field, notification bell with unread badge and an avatar user Menu, collapsing into a Drawer on mobile.

Responsive Navbar with Dropdown Menu – free Bootstrap 6 navbar template

Responsive Navbar with Dropdown Menu

Bootstrap 6 responsive navbar with logo, Menu dropdowns with icons and descriptions, CTA buttons and a Drawer for mobile navigation.

Navbar with Sliding Active Indicator – free Pure CSS navbar template

Navbar with Sliding Active Indicator

Dark responsive navbar with a glowing underline that slides between links on hover, focus and click, built with CSS custom properties and vanilla JS.

Navbar with Centered Logo – free Tailwind CSS navbar template

Navbar with Centered Logo

Dark Tailwind CSS navbar with links split around a centered logo, animated underlines and an accessible slide-down mobile menu.

What is a navbar?

A navbar, or navigation bar, is the horizontal bar at the top of a website that holds the logo, main links and often a search field, language switcher or call-to-action button. It is usually the first thing visitors use to explore a site, so it needs to be clear on desktop and collapse gracefully on phones and tablets.

When to use a navbar

Use a top navbar for marketing sites, blogs, documentation and most web apps with a small number of main sections, typically five to seven links. For large sites, combine it with a mega menu; for dashboards with many sections, a sidebar is often a better fit. Sticky navbars help on long pages but take up vertical space, so keep them slim on mobile.

Navbar best practices

  • Wrap the links in a <nav> element with an aria-label such as "Main".
  • Mark the active link with aria-current="page" and a visible style, not colour alone.
  • The hamburger toggle should be a <button> with aria-expanded and aria-controls, plus an accessible label.
  • Dropdowns must open with the keyboard and close with Escape.
  • Keep the logo linked to the homepage and include descriptive alt text.
  • Test the breakpoint where links collapse; long labels can wrap awkwardly just above it.
  • Ensure sufficient contrast, especially on transparent navbars placed over hero images.

Bootstrap navbar examples and other frameworks

These responsive navbar examples are available in Bootstrap 6, Bootstrap 5, Tailwind CSS and pure CSS. Bootstrap 5 navbars use the familiar navbar, navbar-expand-* and collapse plugin; the Bootstrap 6 alpha versions use its ES module JavaScript, <dialog>-based off-canvas menus and theme-* colour roles for light, dark and brand variations. Tailwind and pure CSS navbars give you a lightweight HTML and CSS navigation bar with a small toggle script. Filter by framework, check the live preview at narrow widths, then copy the code or download it and swap in your own logo and links.