made with react.js

React SVG

Inject SVGs into the DOM

Visit Site

Description

Inject SVGs into the DOM

"Let's say you have an SVG available at some URL, and you'd like to inject it into the DOM for various reasons. This module does the heavy lifting for you by delegating the process to @tanem/svg-injector, which makes an AJAX request for the SVG and then swaps in the SVG markup inline.

The async loaded SVG is also cached, so multiple uses of an SVG only require a single server request."


Social Media Links

Paper Kit Pro React Premium Bootstrap 4 and Reactstrap UI Kit
icon-eye-dark Created with Sketch. 570
Maily Open-source Email Editor
icon-eye-dark Created with Sketch. 1.215
Sentry for React React Application Monitoring
💙 Sponsored by Friends
Interior Micro-Interaction Components
icon-eye-dark Created with Sketch. 24
React Simple Maps SVG Map Charts
icon-eye-dark Created with Sketch. 3.210
React ApexCharts Open-source SVG Charts
icon-eye-dark Created with Sketch. 3.701