FindSoftware

SVGR

Toolbox that transforms SVG files into React components, through a command line tool, webpack, Rollup, Parcel and Node.js integrations.

SVGR takes a raw SVG file and produces a React component from it. The project is a monorepo of packages: a Node.js core package, a command line tool that transforms a file or a directory, and integrations for webpack, Rollup.js, Parcel and Next.js. The core package installs with npm and is released under the MIT license, and the README names Greg Bergé as the copyright holder. The getting started guide directs readers to the integration that fits their build.

Worth knowing

The command line tool is installed into a project as a development dependency or run with npx, so the React components it writes are the output a site receives. The webpack and Node.js integrations run inside the build, not in the visitor’s browser.

Identity

Status
Active
Maintainer
Greg Bergé4
Maintained by
Individual
First release
201710

Rendering and deploy

Runs as
Dev only8
Install with
npm install --save-dev @svgr/cli689

Releases

Current major version
810
Last release
2023-08-1510

Adoption

GitHub stars
11,0602
npm downloads a week
21,580,46112
Contributors
12511
Dependent repositories
1,842,06213
Dependent packages
80513

Why these figures do not compare

Sources

  1. 2026-10-28: links
    react-svgr.com/
  2. 2026-10-28: links, Written in, License, GitHub stars
    api.github.com/repos/gregberge/svgr
  3. 2026-10-28: links
    react-svgr.com/docs/getting-started/
  4. 2026-10-28: Maintainer, License model
    github.com/gregberge/svgr/blob/main/README.md
  5. 2026-10-28: Categories
    react-svgr.com/docs/what-is-svgr/
  6. 2026-10-28: Runtime, Install with
    react-svgr.com/docs/node-api/
  7. 2026-10-28: Minimum runtime
    github.com/gregberge/svgr/blob/v8.1.0/packages/core/package.json
  8. 2026-10-28: Install with, Runs as
    react-svgr.com/docs/cli/
  9. 2026-10-28: Install with
    react-svgr.com/docs/webpack/
  10. 2026-10-28: First release, Current major version, Last release
    api.github.com/repos/gregberge/svgr/releases
  11. 2026-10-28: Contributors
    api.github.com/repos/gregberge/svgr/contributors
  12. 2026-10-28: npm downloads a week
    api.npmjs.org/downloads/range/2026-09-28:2026-10-04/@svgr/core
  13. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40svgr%2Fcore

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON