Navs

Documentation and examples for how to use Bootstrap’s included navigation components. Read the Official Bootstrap Documentation for a full list of instructions and other options.
Basic Example

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.

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.

Vertical Nav

Stack your navigation by changing the flex item direction with the .flex-column utility.

Pills

Take that same HTML, but add .nav-pills class to it. Same goes to vertical nav.

Fill & Justify

Force your nav’s contents to extend the full available width one of two modifier classes.

Using Dropdown

Add dropdown menu to any of the item of the nav.

Inside Dropdown

Add nav inside of dropdown menu.