Home > Back-end >  Material UI Individual Icons
Material UI Individual Icons

Time:11-03

I was wondering whether it is possible to download individual icons from the MUI package to store as svgs in an app's folder. The reason behind this is to improve the performance and external packages.

CodePudding user response:

No it is not possible as long as each Icon from MUI icons package doesn't provide its own npm package.

You better use https://fonts.google.com/icons to download svgs then use them in SVGIcon component.

also you can see this MUI doc page about tree shaking this can be useful to reduce bundle size and improve performance in the same way.

  • Related