SVG.js

Compatibility

Our build system transpiles the javasript into a form most of the browsers can understand. For a specific list head over to:
https://browserl.ist/?q=last+1+version+or+%3E+0.25%25+or+not+maintained+node+versions+or+not+dead

However, this settings can be changed if you need to transpile for even older browsers.

Transpiling JavaScript syntax does not add browser APIs that an older target is missing. If your own build targets Internet Explorer 11, load polyfillsIE.js from the SVG.js release archive before your transpiled SVG.js bundle:

<script src="polyfillsIE.js"></script>
<script src="svg.transpiled.js"></script>

The polyfill bundle supplies IE-specific SVG APIs; it does not transpile SVG.js or make the standard distribution IE-compatible by itself. Configure your build's syntax transforms and any additional polyfills for the browsers you target. Both the library and the IE polyfill bundle are available on the latest release page.

SVG itself is supported to a certain degree by the following browsers:

Desktop

  • Firefox 3+
  • Chrome 4+
  • Safari 3.2+
  • Opera 9+
  • IE9+

Mobile

  • iOS Safari 3.2+
  • Android Browser 3+
  • Opera Mobile 10+
  • Chrome for Android 18+
  • Firefox for Android 15+
Fork me on GitHub