Making SVG icon libraries Example of how to package SVG icons as React components, etc. Blog post. Development Add icons to src directory. Update the version in the root package.json. Build the packages: npm run build. Publish the packages: npm run release.