ng-bootstrap is a component library that provides Angular-powered Bootstrap widgets built from the ground up using only Bootstrap 5 CSS.
The library solves the problem of integrating Bootstrap's UI components into Angular applications by offering native Angular components with APIs designed for the Angular ecosystem. Rather than wrapping Bootstrap's JavaScript, ng-bootstrap builds widgets directly from Bootstrap's CSS, relying only on Angular, Bootstrap 5 CSS, and Popper as dependencies. This approach eliminates the need for jQuery and Bootstrap's JavaScript library, creating a cleaner integration with modern Angular projects.
Teams should choose ng-bootstrap when building Angular applications that need Bootstrap-styled UI components without the overhead of Bootstrap's JavaScript dependencies. It suits projects of any size that want to leverage Bootstrap's design system while maintaining Angular best practices. The library includes a comprehensive set of components covering accordions, alerts, buttons, carousels, collapses, datepickers, dropdowns, modals, pagination, popovers, progress bars, ratings, tabs, timepickers, tooltips, and typeahead functionality. Installation is straightforward through Angular CLI schematics, which automatically configure the library for your project.
The project maintains active alignment with Angular's release cycle, with versions tracking Angular's major releases and updating Bootstrap CSS support accordingly. The team provides a live demo site showcasing all components in action and maintains transparent communication about ongoing work through the issue tracker. Code is automatically tested across all supported browsers to ensure compatibility with both Angular and Bootstrap's browser support requirements.