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