Base nav

Centered with .justify-content-center:

Centered with .justify-content-end:

Fill and justify

Force your .nav’s contents to extend the full available width one of two modifier classes. To proportionately fill all available space with your .nav-items, use .nav-fill. Notice that all horizontal space is occupied, but not every nav item has the same width.

Takes the basic nav from above and adds the .nav-tabs class to generate a tabbed interface.

Take that same HTML, but use .nav-pills instead:

Long contents don't fit in small screens? Use .nav-{breakpoint}-down-break modifier classes to break horizontal alignment and keep the same style in vertical order. Reduce browser size to see it in action.

Stack your navigation by changing the flex item direction with the .flex-column utility. Need to stack them on some viewports but not others? Use the responsive versions (e.g., .flex-sm-column).

Make arrows visible by setting a max-width size.

Or don't, then they will appear when the side of the content is smaller than the content size. Reduce the browser size to see in action.

Use "type": "vertical" for vertical alignment and the .hs-nav-scroller-vertical class for a scrollbar.

Parameters Description Default value
type Scrollbar type, vertical or horizontal. horizontal
target Element to which the scrollbar will move. .active
delay Animation delay. 20
offset Indent back for scrollbar. 0

Long contents don't fit in small screens? Plugin breaks tabs to collapse in vertical order. Reduce browser size to see it in action.

You can utilize "transformResolution": "sm|md|lg|xl" to change when they are vertically aligned.

Parameters Description Default value
transformResolution Trigger breakpoint null
btnClassNames Classes for tabs buttons after transform null