It's not clear in the documentation that all icons of http://google.github.io/material-design-icons/ are availabled as SVG react component.
I believe we should improve the doc.
I'd rather use the icon font. :wink: But it's my opinion.
Yep, it depends on the use case.
For me, SVG is supported, and I don't want to load a massive font, when I'm only using 10% of the available icons.
It's maybe worth noting that using SVG for icons will cause Chrome not to use Ganesh (Chrome's GPU accelerated compositing), so using an icon font containing only the icons you need is best for perf.
@owencm Good to know! We have a better computation speed with font with Chrome.
What about the network and memory impact.
Let's say I want to minimize the first rendering time of a page. I have 3 icons to render on my screen.
What's best between, using a font with those 3 icons or or using 3 svg react icon components?
also linked to #1459
The SVG documentation is now far better thanks to https://github.com/callemall/material-ui/pull/2695 @Zadielerick.
For convenience, the full set of google Material icons are available in Material-UI as pre-built SVG Icon components.
Thanks @mbrookes for the new wordings too :rocket:!