Svger CLI – Zero-dependency SVG to component tool, 52% faster than SVGR
navid_rezadoost Sunday, January 04, 2026I've been working on an open-source CLI tool called SVGER that converts SVGs into ready-to-use components for React, Vue 3, Angular, Svelte, Solid, and several other frameworks – all with full TypeScript support and tree-shakable exports. What sets it apart:
Zero runtime dependencies – installs instantly, no bundle bloat, high security profile Built-in optimizer that often produces smaller SVGs than SVGO (custom tree-based cleanup, path simplification, transform collapsing, shape conversion) In real-world benchmarks on 600+ icons: ~30s total, ~50ms per file, 20 files/sec throughput – 52% faster than SVGR and 33% faster than SVGO while doing both optimization and component generation Plugin system (already shipped with gradient optimizer, stroke normalizer, etc.) Automated visual regression testing in CI to guarantee pixel-perfect output Parallel processing and easy integration with Vite/Webpack/Next.js/etc.
It's designed for everything from small side projects to large design systems and enterprise monorepos. Would love to hear feedback from the HN community – stars, issues, or just thoughts on where it could improve. Live online benchmark: https://faezemohades.github.io/svger-cli/ Thanks!