Adaptive Navigation
Horizontal navigation where the visible items change according to the available space. A 'More' button is used to reveal hidden items.
Projects /
Horizontal navigation where the visible items change according to the available space. A 'More' button is used to reveal hidden items.
The Adaptive Navigation component can be used for horizontal navigations with a large (or unknown) number of items.
The number of visible items changes based on the horizontal available space. A dropdown button is used to reveal the additional items in the list.
To change the navigation alignment, edit the justify-content utility class applied to the .adapt-nav__list
element:
.justify-center
class to align the navigation content to the left;.justify-center
class with .justify-end
to align the navigation content to the right.