Pills
Wrap a .nav in .nav-overflow with data-bs-toggle="nav-overflow".
Tabs
Works with .nav-tabs and keeps .active and .disabled in the menu.
Keep items visible
Add .nav-overflow-keep to items that must never move to the menu.
With dropdowns
A nav item with a dropdown becomes a nested dropdown in the menu.
Icon-only toggle
Set data-bs-more-text="false" to show only the icon.
In a navbar
Wrap the .navbar-nav of a navbar in .nav-overflow.
Colored navbar
The overflow menu follows the theme of the navbar, here data-bs-theme="dark".