Materialdesign: I just want use some icon in MaterialDesign

Created on 28 Jan 2020  路  3Comments  路  Source: Templarian/MaterialDesign

Hello, my english is not good, so if i say something wrong, forgive me :)
Material too big with my website, I just want use some icon, so how i can do that? Somebody can tell me. Thanks so much

Question

All 3 comments

You can use individual SVG files for each icon directly or the easier way is to use @mdi/js which provides the SVG path for each icon. That will allow you to import each icon individually without including all of them.

http://dev.materialdesignicons.com/guide/webfont-alternatives

But you can use http://icomoon.io/ or similar to subset the font with the SVGs provided in this repo.

We do not currently offer a nice utility to subset the webfont. @mdi/font-build package is what we use internally to build the font, but requires one to manually create a meta.json to subset the font.

I'm closing this issue as answered. Feel free to reopen if you have follow-up questions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielhickman picture danielhickman  路  3Comments

bckp1993 picture bckp1993  路  3Comments

Templarian picture Templarian  路  3Comments

JackDrakkar picture JackDrakkar  路  3Comments

EdricChan03 picture EdricChan03  路  3Comments