use angular material in html code example
Example 1: angular npm angular material
npm i @angular/material
Example 2: ng add @angular/material
npm install --save @angular/material @angular/cdk @angular/animations
npm i @angular/material
npm install --save @angular/material @angular/cdk @angular/animations