import maticonmodule from '@angular/material/icon' 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: mat icon not working
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");