angular mat-icon svgIcon 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';