angular material icon working code example
Example 1: properly import mat icon angular 10
// In Angular in style.css
@import 'https://fonts.googleapis.com/icon?family=Material+Icons';
Example 2: material icons angular
<mat-icon class="mat-icon-rtl-mirror" svgIcon="thumb-up"></mat-icon>