-
Notifications
You must be signed in to change notification settings - Fork 12.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide SVG icon to be used in SVG element as an alternative of Font Icon #10352
Comments
Take a look at this repo: https://github.com/encharm/Font-Awesome-SVG-PNG |
This project is a good start but it seem to generate individual SVG files only... and I prefer my page does not download multiple files for icons. |
It’s quite trivial to convert |
there should be an .svg sprite on that repo: https://github.com/encharm/Font-Awesome-SVG-PNG/blob/master/sprites.svg Unfortunately the repo is out of date, and I cannot submit a PR there at the moment @dominykas @Rush could you please help us? |
@Crissov thanks for the heads up |
Hi,
I found two interesting blog posts:
https://cloudfour.com/thinks/seriously-dont-use-icon-fonts/
https://css-tricks.com/icon-fonts-vs-svg/
It may be wonderful if fontawesome has ability to provide SVG icons to be used in SVG element as an alternative of the classic Font Icon.
Example:
<svg class="icon"><use xlink:href="path/to/icons.svg#search"/></svg>
The text was updated successfully, but these errors were encountered: