ng-bootstrap HomeBasicAlertFormsFloating labelsInput groupMulti-rangeRangePhone inputSelectRadioCheckboxDatepickerTimepickerDateTime pickerContainersGridCardTab controlRatingBadgeBreadcrumbButton groupButton typeCalendarMarqueeList groupTreeviewTree selectTableClosePaginationPlaceholderSpinnerColor pickerProgress barFor directiveIconOverlaysModalsOffcanvasTooltipToastPopoverDropdownTypeaheadContext menuShellDropdown menu (WC)AdvancedCopyCode snippetPipesTrust-htmlSplit-stringLinifySlugifyWord-countFont-colorHas-propertyToggle buttonsSticky footerAutofocusTrackByAsync HostBindingInstance ofIs interfaceResizableOrdinal numbersMarkdownParallaxPriority navigationScrollspyFile uploadSignature padLazy-loading componentsUser-agentNavigation lockNavigation lock (master/detail)EnterpriseCarouselSchedulerTimelineDockRibbonTile managerDatatablesFile managerQuery builderOTP inputNavbarSplitterAccordionChartsAnimationsSlide up/downFade in/outColor transitionAdditional samplesCollapseFocusTrapDrag-dropTree-select drag-dropQR-code viewerStepperThemingAnchor scrollingSection 1Section 2Section 3Section 4Section 522.28.0

Priority navigation

A horizontal navigation that keeps as many items visible as fit. Lower-priority items move into a "More" overlay when there isn't enough room. Works without JavaScript via a checkbox + media-query fallback.

Basic usage

Resize me

Drag the handle on the right to shrink the container and watch items move into the More menu.

collapseAt='sm'

At sm-and-below the entire strip collapses into the More menu.

Actions in the overflow

Activating a link or button in the More menu closes it and returns focus to More. A control that opens a menu of its own (aria-haspopup or aria-expanded), a form field, or a disabled item keeps it open. Narrow the window to below sm to try it.

Inside a flex header

A card header lays out a caption, the nav and a search box in a row. The nav takes only the room its items need, sits right after the me-auto caption, and collapses into More when the card gets narrow. Drag the handle on the right to try it.

Sites

In a plain block container the items stay at the start.

Noscript fallback

Open DevTools, disable JavaScript, and reload the page. The strip continues to work:

  • Items hide via CSS media queries based on each item's hideBelow input.
  • The "More" toggle is a <label> tied to a hidden <input type="checkbox">.
  • The overflow menu shows via the :checked sibling selector — purely CSS.