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.
Top navigation bars with logos, links and responsive toggles.
15 components
Sticky website header that shrinks its height, logo and wordmark after a short scroll, with a blurred backdrop and an accessible mobile menu.
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.
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 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.
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.
Elegant Bootstrap 6 navbar with links split around a centered logo, a pill call-to-action button and a Drawer menu on mobile.
Bootstrap 6 transparent navbar over a full-height photo hero that turns into a solid, translucent white bar when the page scrolls.
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.
Bootstrap 6 responsive navbar with logo, Menu dropdowns with icons and descriptions, CTA buttons and a Drawer for mobile navigation.
Dark responsive navbar with a glowing underline that slides between links on hover, focus and click, built with CSS custom properties and vanilla JS.
Bootstrap 5 navbar that sits transparently over a gradient hero and becomes a solid, blurred bar with a shadow when the page scrolls.
Dark Tailwind CSS navbar with links split around a centered logo, animated underlines and an accessible slide-down mobile menu.
Tailwind CSS navbar with an accessible dropdown, call-to-action buttons and a collapsible mobile menu.
Responsive Bootstrap 5 navbar with brand, dropdown menu, search form and user actions.
Accessible pure CSS navbar that collapses into a hamburger menu on small screens.
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.
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.
<nav> element with an aria-label such as "Main".aria-current="page" and a visible style, not colour alone.<button> with aria-expanded and aria-controls, plus an accessible label.alt text.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.