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

BProgress for React Progress Bar Component
icon-eye-dark Created with Sketch. 113
React Minimal Pie Chart Pie / Donut Chart Component
icon-eye-dark Created with Sketch. 95
Sentry for React React Application Monitoring
πŸ’™ Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
React Diff Viz Diff & Render JSON Data
icon-eye-dark Created with Sketch. 198
Spinners React Lightweight SVG/CSS spinners for React
icon-eye-dark Created with Sketch. 2.710