ngx-bootstrap 0,11,0,7,3,0,14,7 editorconfig travis-ci gulp karma npm webpack

Native Angular directives for Bootstrap

ngx-bootstrap npm version npm downloadsslack

Native Angular directives for Bootstrap 3 and Bootstrap 4

Angular Style Guide Build Status codecov Dependency Status

NPM NPM Sauce Test Status

Table of contents

  1. Getting Started
  2. Installation instructions
  3. Usage & Demo
  4. API
  5. Troubleshooting
  6. Contributing
  7. License

Getting Started

ngx-bootstrap contains all core (and not only) Bootstrap components powered by Angular. So you don't need to include original JS components, but we are using markup and css provided by Bootstrap.

Additionally to allow reach experience while working with Dates we are using moment.js, de facto base date manipulation library at the moment.

Installation instructions

Install ngx-bootstrap from npm

npm install ngx-bootstrap --save

You will need bootstrap styles (Bootstrap 3)

<!-- index.html -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

Or Bootstrap 4

<!--- index.html -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" rel="stylesheet">

To enable bootstrap 4 theme templates in ngx-bootstrap, please read here

<!-- index.html -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

How to use it with:

Usage & Demo

Main source of API documentation and usage scenarios available here: http://valor-software.github.io/ngx-bootstrap/

API

Check demo page for API reference

Troubleshooting

So you are in trouble, where to get help:

  • you can search and ask for help at StackOverflow
  • you can join gitter or slack and ask a question ( response in slack will be faster )
  • if none of this helped please search and only then open new issue

Contribution

Are 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!

If you need more modules check here

Please read central ngx modules readme for details, plans and approach

Credits

Crossbrowser testing sponsored by Browser Stack Browser Stack

Related Repositories

angular2-education

angular2-education

A list of helpful material to develop using Angular ...

awesome-angular

awesome-angular

:page_facing_up: A curated list of awesome Angular 2 and Angular 4 resources by ...

awesome-angular

awesome-angular

:page_facing_up: A curated list of awesome Angular 2 and Angular 4 resources by ...

angular-seed-advanced

angular-seed-advanced

Advanced Angular seed project with support for ngrx/store, ngrx/effects, ngx-tra ...

angular-seed-advanced

angular-seed-advanced

Advanced Angular seed project with support for ngrx/store, ngrx/effects, ngx-tra ...


Top Contributors

valorkin greenkeeperio-bot otelnov marcalj adrianfaciu edinfazlic buchslava miqmago Hongbo-Miao Igonato Betrozov erashu212 devoto13 NathanWalker rluba Dinistro adrienverge BojanKogoj ciriarte mik-laj slintes ryzy olivierceulemans peterblazejewicz rkintzi nhydock andreialecu AntonShuvaev blacksails Confusedfish

Dependencies

package version
moment 2.18.1
dev @angular/cli ^1.0.6
@angular/common ^2.4.4
@angular/compiler ^2.4.4
@angular/compiler-cli ^2.4.4
@angular/core ^2.4.4
@angular/forms ^2.4.4
@angular/http ^2.4.4
@angular/language-service ^2.4.4
@angular/platform-browser ^2.4.4
@angular/platform-browser-dynamic ^2.4.4
@angular/router ^3.4.4
@angular/tsc-wrapped 0.5.1
@types/jasmine 2.5.41
@types/marked 0.0.28
@types/node 7.0.15
@types/webpack ^2.2.2
bootstrap 3.3.7
classlist-polyfill 1.0.3
codecov 2.1.0
codelyzer 3.0.1
conventional-changelog-cli 1.3.1
conventional-github-releaser 1.1.3
core-js ^2.4.1
cpy 5.0.0
cpy-cli 1.0.1
del-cli 0.2.1
gh-pages 0.12.0
gitignore-to-glob 0.3.0
google-code-prettify 1.0.5
html-loader 0.4.5
intl ^1.2.5
jasmine 2.6.0
jasmine-core 2.6.1
jasmine-data-provider 2.2.0
jasmine-spec-reporter 3.2.0
karma 1.7.0
karma-chrome-launcher ^2.0.0
karma-cli ^1.0.1
karma-coverage-istanbul-reporter ^1.2.1
karma-jasmine ^1.0.2
karma-jasmine-html-reporter ^0.2.2
karma-remap-istanbul 0.6.0
karma-sauce-launcher 1.1.0
lite-server 2.3.0
lodash 4.17.4
markdown-loader github:valorkin/markdown-loader
marked 0.3.6
ng2-page-scroll 4.0.0-beta.7
ngm-cli 0.5.2
npm-run-all 4.0.2
protractor 5.1.1
reflect-metadata 0.1.10
require-dir 0.3.1
rxjs 5.3.0
ts-helpers ^1.1.1
tslint 4.5.1
tslint-config-valorsoft 1.2.0
typedoc 0.5.9
typescript 2.0.10
wallaby-webpack 0.0.37
webdriver-manager 12.0.4
webpack-bundle-analyzer 2.8.2
zone.js 0.8.14
peer @angular/common ^2.3.1 || >=4.0.0
@angular/compiler ^2.3.1 || >=4.0.0
@angular/core ^2.3.1 || >=4.0.0
@angular/forms ^2.3.1 || >=4.0.0

Releases

-   v1.1.5 zip tar
-   v1.1.4 zip tar
-   v1.1.3 zip tar
-   v1.1.2 zip tar
-   v1.1.1 zip tar
-   v1.1.0 zip tar
-   v1.0.24 zip tar
-   v1.0.23 zip tar
-   v1.0.22 zip tar
-   v1.0.21 zip tar
-   v1.0.20 zip tar
-   v1.0.19 zip tar
-   v1.0.18 zip tar
-   v1.0.17 zip tar
-   v1.0.16 zip tar
-   v1.0.15 zip tar
-   v1.0.14 zip tar
-   v1.0.13 zip tar
-   v1.0.12 zip tar
-   v1.0.11 zip tar
-   v1.0.10 zip tar
-   v1.0.9 zip tar
-   v1.0.8 zip tar
-   v1.0.7 zip tar
-   v1.0.6 zip tar
-   v1.0.5 zip tar
-   1.0.4 zip tar
-   1.0.1-beta.2 zip tar