Adding Material Icons Via CDN to our Angular Material Project | Task

Ole Ersoy
Jun - 26  -  1 min

Scenario

We created a new Angular Stackblitz project and added @angular/material, and we wish to use the MatIconModule to render the Material Design Icons.

Approach

In src/index.html at the top add the CDN link to the Material Design Google Icon Font:

<link
  href="https://fonts.googleapis.com/icon?family=Material+Icons"
  rel="stylesheet"
/>