Nav
Base Nav
Bootstrap 4's Navigations share general markup and styles from the base.navclass, therefore the components Nav Pills, Nav Tabs, Nav Underline, Menubar, Navbar, Application Bar, Management Bar, and Navigation Bar all use.navas its base.
.nav-linkand.active.nav-linkin the Base Nav doesn't have any special styling to make it easier to overwrite via color modifiers used in Clay's components above. If you would like to use a custom color scheme for the Base Nav, create a custom color modifier class and use theclay-nav-variant($map)mixin.
Nav Nested
Add class
nav-nestedto the outermost nav to use padding to indent each nested nav.Also collapsible when used with Bootstrap Collapse Plugin.
How to use nav helper classes
Dropdown toggle with anchor:
dropdown-toggle nav-linkDropdown toggle with button:
btn btn-unstyled dropdown-toggle nav-linkAn anchor in Nav Item styled like btn:
btn btn-primary nav-btn nav-btn-monospacedA button in Nav Item styled like nav-link:
btn btn-unstyled nav-linkA button in Nav Item:
btn btn-primary nav-btnA monospaced anchor in Nav Item:
nav-link nav-link-monospacedA monospaced button in Nav Item:
btn btn-primary nav-btn nav-btn-monospaced