reference: https://material.angular.io/ While in your project folder npm install –save @angular/material @angular/cdk Some Material components depend on the Angular animations module in order to be able to do more advanced transitions. If you want these animations to work in your app, you have to install the @angular/animations module and include the BrowserAnimationsModule in your app. […]