DEV Community

SVG sprites vs CSS background image for multiple instances of icons

Eka on October 11, 2018

Hi friends! I am working on a website that requires many icons, and I am looking into using SVG sprite for the icons. Some large websites, such as...
Collapse
 
shanamaid profile image
Jingyi Zeng

You can use archer-svgs to load svg async and cache it in localStorage, when you reuse svg without http request!Remove svgs from your js-bunilde and Thin your js-bundle forever!(eg: Dont reload 100kb svg bundle only for 1kb svg update!)

Collapse
 
nikrunic profile image
KRUNAL R PRAJAPATI

This is also beautiful website for free svg icon — custicon.com
25000+ free icons for use in web, iOS, Android, and desktop apps. Support for SVG. License: MIT, Free for commercial or personal use.
This provide svg icon and svg code and also provide the icon image and it should be free

Image description

Collapse
 
ekafyi profile image
Eka