Built with Angular 8, Bootstrap 4 and TypeScript. CLI version available. Absolutely no jQuery.
400+ material UI elements, 600+ material icons, 74 CSS animations, TypeScript modules, SASS files and many more.
All fully responsive. All compatible with different browsers.
- Other Technologies
- Demo
- Version
- Quick start
- Available commands
- Modules list
- How to install MDB via npm
- Supported Browsers
- Contributing
- Getting started
- Additional tutorials
- PRO version
- Documentation
- Highlights
- Useful Links
- Social Media
- Angular 8
- Angular CLI 8
- Clone following repo:
git clone https://github.com/mdbootstrap/Angular-Bootstrap-with-Material-Design.git .
note "." at the end. It will clone files directly into current folder.
- Run
npm i
- Run
npm start
- Voilà! Open browser and visit http://localhost:4200
Now you can navigate to our documentation, pick any component and place within your project.
Feel free to check our live example components: Just type ng serve mdb-demo
in terminal!
Type one of the below commands to remove demo application from this project:
- npm
run remove-demo-unix
to remove demo application on UNIX based systems, - npm
run remove-demo-windows
to remove demo application on Windows systems.
- npm run build:lib - building library,
- npm run pack - copying assets and packaging /dist directory into .tgz archive
- npm run version - adjusting src/package.json version from main package.json file,
- npm run compile - Executing above commands with correct sequence.
- ButtonsModule,
- CarouselModule,
- ChartsModule,
- CollapseModule,
- InputsModule,
- ModalModule,
- NavbarModule,
- PopoverModule,
- TooltipModule,
- WavesModule,
- MDBBootstrapModule - contains every MDB modules.
- create new project
ng new project_name --style=scss
npm i angular-bootstrap-md --save
- to app.module.ts add
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
import { MDBBootstrapModule } from 'angular-bootstrap-md';
@NgModule({
imports: [
MDBBootstrapModule.forRoot()
],
schemas: [ NO_ERRORS_SCHEMA ]
});
- in angular.json change:
"styleExt": "css"
to "styleExt": "scss"
rename /src/styles.css to styles.scss
-
if you want to change styles in exisiting project you can use
ng config schematics.@schematics/angular:component.styleext scss
-
add below lines to angular.json:
"styles": [
"node_modules/font-awesome/scss/font-awesome.scss",
"node_modules/angular-bootstrap-md/assets/scss/bootstrap/bootstrap.scss",
"node_modules/angular-bootstrap-md/assets/scss/mdb.scss",
"src/styles.scss"
],
"scripts": [
"node_modules/chart.js/dist/Chart.js",
"node_modules/hammerjs/hammer.min.js"
],
- install external libs
npm install -–save chart.js@2.5.0 font-awesome hammerjs
ng serve --open
MDBootstrap supports the latest, stable releases of all major browsers and platforms.
Alternative browsers which use the latest version of WebKit, Blink, or Gecko, whether directly or via the platform’s web view API, are not explicitly supported. However, MDBootstrap should (in most cases) display and function correctly in these browsers as well.
Generally speaking, MDBootstrap supports the latest versions of each major platform’s default browsers. Note that proxy browsers (such as Opera Mini, Opera Mobile’s Turbo mode, UC Browser Mini, Amazon Silk) are not supported.
Similarly, the latest versions of most desktop browsers are supported.
Chrome |
Firefox |
Internet Explorer |
Edge |
Opera |
Safari |
|
---|---|---|---|---|---|---|
Mac | Supported | Supported | N/A | N/A | Supported | Supported |
Windows | Supported | Supported | N/A | Supported | Supported | Not supported |
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Angular Bootstrap with Material Design PRO
Huge, detailed documentation avilable online
Bootstrap 4 Up-to-date with the latest standards of Bootstrap 4 and all the best it has to offer.
Angular CLI A command line interface handling all the tedious tasks for you out of the box.
Detailed documentation Intuitive and user-friendly documentation, created with a copy-paste approach.
No jQuery Writing you code with pure Angular is now quicker, easier, and cleaner.
TypeScript Superset of JavaScript that compiles to clean JavaScript output.
Angular 8 Create smarter and faster Angular apps with the latest official Angular release.
Cross-browser compatibility Works perfectly with Chrome, Firefox, IE, Safari, Opera and Microsoft Edge.
Frequent updates Expect any bugs being fixed in a matter of days.
Active community MDB is broadly used by professionals on multiple levels, who are ready to aid you.
Modularity Use TypeScript modules to compile package adjusted yo your needs.
Useful helpers Reduce the frequency of highly repetitive declarations in your CSS.
Technical support Every day we help our users with their issues and problems.
SASS files Thought-out .scss files come in a compile-ready form.
Flexbox Full support of Flexbox layout system lets you forget about alignment issues.
- Star our GitHub repo
- Create pull requests, submit bugs, suggest new features or documentation updates
- Follow us on Twitter
- Like our page on Facebook
A big ❤️ thank you to all our users ❤️ who are working with us to improve the software. We wouldn't be where we are without you.
Material Design + Bootstrap Tutorial