Skip to content
JS
Package

babel-plugin-react-svg

Babel plugin to transform svg to react component

v3.0.3, 3 Jun 2019MITCommonJSTypes: NoneBundler plugins and loadersReact
$ npm install babel-plugin-react-svg

Key numbers

As of 25 Sept 2026
Weekly downloads
55.2k
-58% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v3.0.3
GitHub stars
642
86 forks
Open issues / PRs
19 / 29
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150k200kSept 2025Mar 2026Sept 2026High 152.8k (21 Oct 2025)Low 38.6k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

55,226 downloads last week, 250,632 in the last month. The 12-month change of -58% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.0.3, 3 Jun 20197 years ago
First published
-
Last push to GitHub
8 Mar 20231,296 days before the snapshot
Repository archived
No
Open issues
19
Open pull requests
29
Commits, last 52 weeks
0
Dependents on npm
12

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=8
Runtimes
-
Unpacked size (npm)
9.4 kB
Dependencies (0)
None
Peer dependencies (1)
@babel/plugin-syntax-jsx
npm install babel-plugin-react-svg
  • jsDelivrhttps://cdn.jsdelivr.net/npm/babel-plugin-react-svg@3.0.3/
  • unpkghttps://unpkg.com/babel-plugin-react-svg@3.0.3/
  • esm.shhttps://esm.sh/babel-plugin-react-svg@3.0.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@svgr/webpack8.7m-3 years agoCommonJS-
svg-inline-loader153.1k-6 years agoCommonJS-
svg-sprite-loader159.8k-4 years agoCommonJS-
svg-url-loader516k-3 months agoCommonJS-
vite-plugin-react-rich-svg15k-19 days agoESM only-
rollup-plugin-svg-import30.6k-2 years agoESM only-
react-compiler-webpack39.6k-1 month agoESM + CommonJS-
vite-svg-loader442.7k-23 days agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.