Template > UI Elements > Navbar
Documentation and examples for powerful, responsive navigation header, the navbar.
Navbar Example
Here’s what you need to know before getting started with the navbar:
.navbar
with .navbar-expand{-sm|-md|-lg|-xl}
for
responsive collapsing and color scheme classes..d-print
to the .navbar
. See the display utility class.<nav>
element or, if using a more generic element such as a <div>
,
add a role="navigation"
to every navbar to explicitly identify it as a landmark region for users of assistive technologies.Color schemes
Theming the navbar has never been easier thanks to the combination of theming classes and
background-color utilities. Choose from .navbar-light
for use with light background
colors, or .navbar-dark
for dark background colors. Then, customize with .bg-*
utilities.