How to make a responsive nav-bar using Angular material 2?
I'm trying to create a navigation bar using Angular material 2 that collapses in small screens like mobile devices and tablets. I was only able to find md-button but not md-menu-bar as was in Angular material. user2662006 Here is what I used to build my responsive nav-bar using Angular2+ Material 2 and flex-layout in angular-cli app. (Please visit Install Angular Material and Angular CDK ) 1) Install flex-layout npm install @angular/flex-layout -save 2) Include flex-layout in your app.module.ts import {FlexLayoutModule} from "@angular/flex-layout"; 3) Import imports: [ BrowserModule,