question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Material Icons with Font Awesome SVG

See original GitHub issue

feature request:

Improve docs on integrating Material and Font Awesome SVG.

What is the use-case or motivation for changing an existing behavior?

Angular Material Icons set is lacking many icons found in Font Awesome but FA font is bulky, however, recent FA updates provide tree shakable angular implementations. see angular-fontawesome.

It would be incredibly beneficial to have some example documentation of how to register these SVG icons. I realize there is a lot of verbiage already I find it a bit confusing on how to use this; the current ‘example’ tab on icons section is lacking. Current documentation <mat-icon fontSet="fa" fontIcon="alarm"></mat-icon> assumes user is using the entire FA font, which defeats the purpose of tree shaking and SVG.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
jelbourncommented, Apr 24, 2018

This was actually added in #10757 and will be in the 6.0 release

1reaction
jelbourncommented, Apr 13, 2018

You should be able to use fontawesome svgs the same as any other svg (registering w/ MatIconRegistory and then referencing via the svgIcon property). Is there something about that that doesn’t work?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Material Design for Bootstrap Icon - Font Awesome
Material Design for Bootstrap icon in the Version 5 Solid style. Make a bold statement in small sizes.. Available now in Font Awesome...
Read more >
Material Symbols and Icons - Google Fonts
Introducing Material Symbols. Material Symbols are our newest icons consolidating over 2,500 glyphs in a single font file with a wide range of...
Read more >
Material Icons Guide | Google Fonts
The complete set of material icons are available on the material icon library. The icons are available for download in SVG or PNGs,...
Read more >
How to Use Google Font Icons, Material Symbols ... - YouTube
These are free to use flexible web font icons better than font awesome. These icons have two flavors. Material Symbols and Material Icons....
Read more >
React Icon Component - Material UI - MUI
Standardized Material Icons exported as React components (SVG icons). ... you can try passing the Font Awesome SVG data directly to SvgIcon.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found