How to correctly register font-awesome for md-icon?
In your AppModule add: import { MatIconModule, MatIconRegistry } from ‘@angular/material’; Then add MatIconModule to your imports e.g.: imports: [… MatIconModule …] Add MatIconRegistry to your providers: providers: [… MatIconRegistry ….] Then add the following to your AppModule class: export class AppModule { constructor( …public matIconRegistry: MatIconRegistry) { matIconRegistry.registerFontClassAlias(‘fontawesome’, ‘fa’); } Then you can use … Read more