Check out example codes for "properly import mat icon angular 10". It will help you in understanding the concepts better.

Code Example 1

@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

Code Example 2

// In Angular in style.css
@import 'https://fonts.googleapis.com/icon?family=Material+Icons';

Learn ReactJs, React Native from akashmittal.com