As a frontend project, valor-software/ngx-bootstrap has picked up 5.5k stars on GitHub (TypeScript). Fast and reliable Bootstrap widgets in Angular (supports Ivy engine)
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
The best way to quickly integrate Bootstrap 5 Bootstrap 4 Components with Angular
Note: ngx-bootstrap for Bootstrap 3 is still available but is no longer maintained or updated.
development
⚠️ BREAKING CHANGES in v21.2.0 — This version completes the migration to zoneless change detection. zone.js is no longer required. All @Input()/@Output() decorators have been replaced with Angular's input()/output() signal APIs. See the Migration Guide and CHANGELOG for details.
Links
Documentation
Release Notes
Slack Community
Table of contents
Getting Started
Usage & Demo
Supporting
Installation
Compatibility
Troubleshooting
Contributing
Credits
License
Valor Can Help
Getting Started
ngx-bootstrap provides Bootstrap components powered by Angular, so you don't need to include original JS components.
Check our Getting started guide if it's your
first project with Angular Bootstrap.
Usage & Demo
Bootstrap components for Angular applications, dozens of demos and API documentation could be found here:
https://valor-software.com/ngx-bootstrap/.
Supporting ngx-bootstrap
ngx-bootstrap is an Open Source (MIT Licensed) project, it's an independent project with ongoing development made possible
thanks to the support of our awesome backers.
If you also would like to show support or simply give back to Open Source community, please consider becoming a backing
sponsor of ngx-bootstrap on OpenCollective.
All donated funds are managed transparently on OpenCollective and will be used solely for compensating work and expenses
for contributors. Valor Software employees and contractors are not eligible for use of these funds.
What's in it for you? Proper recognition and exposure of your name/logo/website on our page.
Our main sponsors will be presented under this section! Be the first!
Prerequisites
ngx-bootstrap v21.2.0+ requires:
Angular 21.2.0 or higher
Zoneless change detection (zone.js is no longer supported)
Your application must be bootstrapped with provideZonelessChangeDetection():
import { bootstrapApplication } from '@angular/platform-browser';
import { provideZonelessChangeDetection } from '@angular/core';
import { AppComponent } from './app/app.component';
bootstrapApplication(AppComponent, {
providers: [provideZonelessChangeDetection()]
});
Installation
You can see the below simple example working on StackBlitz
Angular CLI way
Use the Angular CLI ng add command for updating your Angular project.
ng add ngx-bootstrap
Manual way
Install ngx-bootstrap from npm:
npm install ngx-bootstrap --save
Import the module you need (standalone or NgModule):
<button type="button" class="btn btn-primary"
tooltip="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
Simple demo
</button>
You will need to add bootstrap css:
This can be done with the css file directly in the index.html, or alternatively through a styles import in the
angular.json file or via styles.scss import. However the latter two options require additionally installing bootstrap via npm.
As you may know ngx-bootstrap supports several bootstrap.css versions at the same time and has automatic tool
to guess current used version of library, but if this guess fails you can specify version of bootstrap.css manually.
Sometimes, your project might contain some library that could interfere with the bootstrap framework, or you might
have a customized version of bootstrap. The consequence is that the process of determining bootstrap version might
be failed, which can break the UI. In that case, we can still set the bootstrap version manually in the bootstrapping
component (i.e. AppComponent):
import { setTheme } from 'ngx-bootstrap/utils';
@Component({...})
export class AppComponent {
constructor() {
setTheme('bs5'); // or 'bs4'
...
}
}
How to build lib for development
First time:
git clone https://github.com/valor-software/ngx-bootstrap.git
cd ngx-bootstrap
npm ci
npm run build
npm start
Compatibility
The only two dependencies are Angular and Bootstrap CSS.
Here is the version compatibility list:
ngx-bootstrap
Angular
Bootstrap CSS
Zoneless
21.2.x
21.2.x
5.x.x or 4.x.x
Required
20.x.x
20.x.x
5.x.x or 4.x.x
Optional
19.x.x
19.x.x
5.x.x or 4.x.x
N/A
18.x.x
18.x.x
5.x.x or 4.x.x
12.x.x
17.x.x
5.x.x or 4.x.x
11.x.x
16.x.x
5.x.x or 4.x.x
10.x.x
15.x.x
5.x.x or 4.x.x
9.0.0
14.x.x
5.x.x or 4.x.x or 3.x.x
8.0.0
12.x.x - 13.x.x
5.x.x or 4.x.x or 3.x.x
7.1.0
11.x.x - 12.x.x
5.x.x or 4.x.x or 3.x.x
7.0.0
11.x.x - 12.x.x
3.x.x or 4.x.x
6.0.0
9.x.x - 10.x.x
3.x.x or 4.x.x
5.6.x
7.x.x - 9.1.0
3.x.x or 4.x.x
5.0.0 - 5.6.0
7.x.x - 8.x.x
3.x.x or 4.x.x
4.x.x
6.x.x - 7.x.x
3.x.x or 4.x.x
3.x.x
6.x.x - 7.x.x
3.x.x or 4.x.x
2.x.x
2.x.x - 4.x.x
3.x.x or 4.x.x
1.x.x
2.x.x
3.x.x or 4.x.x
N/A
Migration from Previous Versions
If you are upgrading from ngx-bootstrap v20 or earlier, be aware of the following breaking changes introduced by the zoneless migration:
Remove zone.js from your polyfills and package.json dependencies
Bootstrap with provideZonelessChangeDetection() (see Prerequisites)
Input signal syntax — All @Input() properties are now input() signals. Programmatic access changes from component.prop to component.prop() (signal read). Template bindings ([prop]="value") remain unchanged.
Output function syntax — All @Output() properties are now output() functions. (event)="handler()" template syntax remains unchanged.
OnPush everywhere — All components use ChangeDetectionStrategy.OnPush. Ensure async state changes call ChangeDetectorRef.markForCheck() or use signals.
For the full migration plan, see ZONELESS_MIGRATION_PLAN.md.
Troubleshooting
So if you are in trouble, here's where you can look for help.
The best place to ask questions is on StackOverflow (under the ngx-bootstrap tag)
where there is a strong community of individuals asking and answering questions.
You can also join our Slack channel and link your stackoverflow question there. But try to avoid asking generic help questions directly on Slack since they can easily get lost in the chat. You can also search among the existing GitHub issues.
If none of the above helped, please feel free to open a new issue.
Contribution
All contributions very welcome! And remember, contribution is not only PRs and code, but any help with docs or helping other developers to solve issues are very appreciated! Thanks in advance!
Please read our contribution guidelines.
Credits
Crossbrowser testing sponsored by Saucelabs
License
MIT
Valor Software Can Help
At Valor Software our people are not resources, our people are human beings, helping to create a better world through our efforts and knowledge.
We are here to assist you with your project. We have a wonderful, ever-growing team that is ready and able. If you're looking for someone to guide you and your team
please feel free to reach out to us on our site or at [email protected], we would love to chat.
How active is development on valor-software/ngx-bootstrap?
The most recent commit recorded on valor-software/ngx-bootstrap was 19 days ago, based on the GitHub push timestamp. The repository has 1.7k forks — one of the better signals of community interest.
How many stars does valor-software/ngx-bootstrap have?
valor-software/ngx-bootstrap has 5.5k GitHub stars — refresh the page for the live number, or check github.com/valor-software/ngx-bootstrap. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is valor-software/ngx-bootstrap open source?
Yes — valor-software/ngx-bootstrap ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/valor-software/ngx-bootstrap.
What else is in the Frontend space?
valor-software/ngx-bootstrap is tracked by TopGit under the Frontend category, alongside 12 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What topics is valor-software/ngx-bootstrap associated with?
Where can I see valor-software/ngx-bootstrap in action?
The project maintains a homepage at https://valor-software.com/ngx-bootstrap. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about valor-software/ngx-bootstrap?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/valor-software/ngx-bootstrap is the definitive source.
Read full README in the tab above.
Want a second opinion on ngx-bootstrap?
Ask an AI that can read this page — one click and you get its take on ngx-bootstrap.