Making SVG icon libraries for React apps

Nicolas Gallagher:
At Twitter I used the approach described here to publish the company’s SVG icon library in several different formats: optimized SVGs, plain JavaScript modules, React DOM components, and React Native components.
There is no One True Way© to make an SVG icon system. The only thing that SVG icon systems have in common is that, somehow, some way, SVG is used to show that icon. I gotta find some time to write up a post that goes …
The post Making SVG icon libraries for React apps appeared first on CSS-Tricks.

Link: http://nicolasgallagher.com/making-svg-icon-libraries-for-react-apps/