Due to Angular's continued adoption, our creation of the Angular version of this library, and the the project maintainers' moving on to other things, this project is considered feature-complete and is no longer being maintained.
We thank you for all your contributions over the years and hope you've enjoyed using this library as much as we've had developing and maintaining it. It would not have been successful without them.
Do you want to see directives in action? Visit https://angular-ui.github.io/bootstrap/!
Are you interested in Angular 2? We are on our way! Check out ng-bootstrap.
Installation is easy as UI Bootstrap has minimal dependencies - only the AngularJS and Twitter Bootstrap's CSS are required. Notes:
ngAnimatein the module dependencies for your app in order to enable animation.
ngTouchin the module dependencies for your app in order to enable swiping.
$ npm install angular-ui-bootstrap
This will install AngularJS and Bootstrap NPM packages.
$ bower install angular-bootstrap
To install AngularJS UI Bootstrap, run the following command in the Package Manager Console
PM> Install-Package Angular.UI.Bootstrap
Head over to https://angular-ui.github.io/bootstrap/ and hit the Custom build button to create your own custom UI Bootstrap build, just the way you like it.
After downloading dependencies (or better yet, referencing them from your favorite CDN) you need to download build version of this project. All the files and their purposes are described here:
Don't worry, if you are not sure which file to take, opt for
When you are done downloading all the dependencies and project files the only remaining part is to add dependencies on the
ui.bootstrap AngularJS module:
To use this project with webpack, follow the NPM instructions. Now, if you want to use only the accordion, you can do:
You can import all the pieces you need in the same way:
This will load all the dependencies (if any) and also the templates (if any).
Be sure to have a loader able to process
css files like
index-nocss.js file instead, which is available for the modules:
The other modules, such as
accordion in the example below, do not have CSS resources to load, so you should continue to import them as normal:
Take a moment to read our Code of Conduct
If you're updating your application to use prefixes, please check the migration guide.
Directives from this repository are automatically tested with the following browsers:
Modern mobile browsers should work without problems.
Need help using UI Bootstrap?
#angularjschannel at the
freenodenetwork). Use this webchat or your own IRC client.
Please do not create new issues in this repository to ask questions about using UI Bootstrap
We are always looking for the quality contributions! Please check the CONTRIBUTING.md for the contribution guidelines.
Head over to the Wiki for notes on development for UI Bootstrap, meeting minutes from the UI Bootstrap team, roadmap plans, project philosophy and more.