Loading...

Themes

Select a demo

Classic

Dark Theme

Search Results

close
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sunt in culpa quifdaasd quis.

  • Duis non semper sapien. Morbi imperdiet velit in bibendum lobortis. Integer arcu urna, elementum in pellentesque nec, finibus at nisi.

Navs

Documentation and examples for how to use Bootstrap’s included navigation components.

Basic

Navigation available in Bootstrap share general markup and styles, from the base .nav class to the active and disabled states. Swap modifier classes to switch between each style.

The base .nav component is built with flexbox and provide a strong foundation for building all types of navigation components. It includes some style overrides (for working with lists), some link padding for larger hit areas, and basic disabled styling.

Horizontal Alignment

Change the horizontal alignment of your nav with flexbox utilities. By default, navs are left-aligned, but you can easily change them to center or right aligned.

Centered with .justify-content-center:

Right-aligned with .justify-content-end:

Vertical Alignment

Stack your navigation by changing the flex item direction with the .flex-column utility. Need to stack them on some viewports but not others? Use the responsive versions (e.g., .flex-sm-column).

Tabs

Takes the basic nav from above and adds the .nav-tabs class to generate a tabbed interface.

Pills

Take that same HTML, but use .nav-pills instead:

Fill and Justify

Force your .nav’s contents to extend the full available width one of two modifier classes. To proportionately fill all available space with your .nav-items, use .nav-fill. Notice that all horizontal space is occupied, but not every nav item has the same width.