use mat-icon in angular code example
Example: properly import mat icon angular 10
// In Angular in style.css
@import 'https://fonts.googleapis.com/icon?family=Material+Icons';
// In Angular in style.css
@import 'https://fonts.googleapis.com/icon?family=Material+Icons';