Add the .nav class to a <ul> element, then the .nav-item class for each <li>, and lastly the .nav-link class to their links if you want to make a straightforward horizontal menu:
To center the navigation, use the .justify-content-center class; to right-align the navigation, add the .justify-content-end class.
Example
Vertical Nav
Link
Link
Link
Disabled
To make a vertical navigation, add the .flex-column class:
Example
Tabs
Use the .nav-tabsclass to transform the nav menu into navigation tabs. To the active/current link, add the .active class. See the last example on this page if you would like the tabs to be able to be toggled.
Use the .nav-pillsclass to transform the nav menu into navigation pills. See the last example on this page if you want the pills to be able to be toggled.
Give each link the data-toggle=”tab” attribute to enable tab switching. Next, give each tab a distinct ID by adding a .tab-pane class, and enclose them in a <div> element with the class .tab-content.
Add the .fadeclass to the .tab-pane if you want the tabs to fade in and out when a user clicks on them: