// add this to angular by running it in teriminal
ng add @angular/material
2) select the theme you want to include in your file you can select custom one and build one also
3) // add all this in module file imports
BrowserAnimationsModule,
ReactiveFormsModule,
MatButtonModule,
MatFormFieldModule,
MatCheckboxModule,
MatInputModule,
MatRippleModule,
MatIconModule,
4) you are ready to use the angular material.