Skip to content
S

svg4everybody

Use external SVG spritemaps in any browser

by jonathantnealFree

#409in UI Libraries
0In stores

Description

SVG for Everybody is a small script that lets browsers use external SVG spritemaps, adding external content support where a browser lacks it…

Highlights

  • Use external SVG spritemaps in any browser
  • Polyfill for Safari 6, IE 6 and later, and Edge 12
  • Legacy script for IE 6 to 8
  • PNG fallback for browsers without SVG
  • Manual svg4everybody() call since v2.0.0

Ratings & Reviews

No ratings yet

Be the first to rate svg4everybody.

People also visit

S

svg-sprite

SVG sprites & stacks galore

UI Libraries
Launch
S

@svgmoji/noto

The svgmoji sprites

UI Libraries
Launch
S

svg2sprite

A very simple module to generate SVG sprites

UI Libraries
Launch
S

SVG To PNG

Convert SVGs to PNGs right in your browser, reliably and correctly

Utilities
Launch
A

@amazon-devices/react-native-svg

SVG library for react-native

UI Libraries
Launch
R

react-native-svg

SVG library for react-native

UI Libraries
Launch

svg4everybody FAQ

What does SVG for Everybody do?

It lets browsers use external SVG spritemaps, adding external content support where it is missing.

Which browsers already support it natively?

The README lists Chrome, Safari 7.1 and later, Firefox, Edge 13 and later, and Opera.

Do I have to call anything in code?

Yes. As of version 2.0.0 you must call svg4everybody() manually.

What about old Internet Explorer?

For IE 6 to 8 include the legacy script instead, and set X-UA-Compatible to ie=edge for the best results.

Is it open source?

Yes. The source is public on GitHub.

What are the best svg4everybody alternatives?

Popular alternatives to svg4everybody include svg-sprite, @svgmoji/noto and svg2sprite. See all svg4everybody alternatives

Developer Stuff

Badges