your header voluptatem veniam, est atque cumque eum delectus sint! First generate the stubs for the components. Add the following code in app.component.html file. Versatile Make sure you add it after BrowserModule because Material components depend upon BrowserModule. footer usage. grid system. Hello friends, welcome back to my blog. : For reference please follow the below the line of code which is necessary to have in the project either inside the root module or any of the child modules in which we want to use it see below; import {MatSidenavModule} from '@angular/material/sidenav'; 2) In this we are also making use of mat-toolbar by this we can add actions, headers and other components to the UI. I use 360px and 576px breakpoints for mobile and medium-sized displays. }); let snackBarRef = snackBar.open('Message archived');