Extracting SVG from Font Awesome

前端 未结 8 553
伪装坚强ぢ
伪装坚强ぢ 2020-11-28 22:37

I want to get the SVG path data from Font Awesome glyphs so that I can use them straight up as SVG in my HTML. I thought it would be as easy as copy-pasting the path data fr

相关标签:
8条回答
  • 2020-11-28 23:25

    You can simply download the latest version of fa here: https://fontawesome.com/

    And then go to the advanced-options/raw-svg folder. There you will find three folders brands, regular and solid containing all the latest icons available.

    0 讨论(0)
  • 2020-11-28 23:26

    There is also a node.js tool that will automate this for you, & create a before & after verify.html. https://github.com/eugene1g/font-blast

    I've used it on other fonts, only 1 bad icon conversion so far, but rest in the font SVG was fine.

    0 讨论(0)
提交回复
热议问题