Feedback
Nav
A collection of collapsible elements.
Elements
The component is composed of multiple elements:
nav
the wrappernav__group
wrappers to group lists of similar nav itemsnav__item
wrapper for a clickable link. This is necessary for styling and responsiveness. You can add thenav__item--dropdown
class to make it a submenu dropdownnav__trigger
a clickable link or trigger element in the case of a dropdownnav__target
the target element in the case of a dropdown, usually composed of a list ofnav__item
elements
Properties
Add classes to the wrapper class to change the style of the component.
Direction
Changes the direction of the nav.
class="nav"
Default
class="nav nav--portrait"
Dense
Make the nav__item
elements smaller.
class="nav nav--dense"