Skip to main content
100%

NavBar sample based on ng-bootstrap

✓ Published0🌍 Public
OOhtsu
Last edited Feb 18, 2018
Created on Feb 18, 2018

This example shows a responsive navigation bar built with Bootstrap 4 and Angular, using the `ngbDropdown` and `ngbDropdownToggle` directives from ng-bootstrap to handle the dropdown menu. The navbar collapses at the medium (`md`) breakpoint, displaying a toggle button for smaller screens. It includes a left-aligned list of links (Home, Link, Disabled, Dropdown) and a right-aligned search form, styled with Bootstrap’s `navbar-dark` and `bg-dark` classes. The markup relies on standard Bootstrap collapse behavior and Angular event binding for the dropdown, with no custom JavaScript or data manipulation.

AI-generated description

Similar vizzes