5 ms·
Here's my advice from building a couple websites with tons of icons (almost overuse, because I really like using icons on everything). Just use img tags with N
by vortico 8y ago
Here's my advice from building a couple websites with tons of icons (almost overuse, because I really like using icons on everything).
Just use img tags with Noun Project icons. Use a scripting language of your choice to change the fills and extract the Creative Commons attribution from the XML, and you'll have full customization of the color and size of your icons. There's probably a service out there that does this for you, but a quick search returns no results. (Idea for a project!) But regardless, Noun Project SVG is extremely simple for parsing with a 20-line script.
Don't bother with rotating 180 degrees to generate forward buttons, etc. That's just preoptimization. Just use two different icons. Your company/project/organization will not see the tiniest financial effect of loading tons of unnecessary SVG files vs. optimizing them.