iconfu/svg-inject
View on GitHub ↗ ★ 837 TypeScript
A tiny, intuitive, robust, caching solution for injecting SVG files inline into the DOM.
6 mentions on Hacker News by 1 person: 3 stories, 3 comments · first 2018-08-31 · latest 2021-02-12
20082026
-
…at SVG Injection. This may solve your problems, as the injector will add a unique id to your SVG: https://github.com/iconfu/svg-inject
comment by jansan · 2021-02-12 · in SVG: The Good, the Bad and the Ugly -
…pretty well and almost feels like working with normal images. Here is an open source SVG injector: https://github.com/iconfu/svg-inject
comment by jansan · 2020-02-11 · in Where are all the animated SVGs? -
…a request to implement this functionality for ParcelJS, but decided against it. Here is the issue: https://github.com/iconfu/svg-inject/issues/19 Basically we want to keep the project small and focused on the injection itself. Also there…
comment by jansan · 2018-10-23 · in Show HN: SVGInject – Make external SVG files fully CSS styleable with injection