Skip to content
JS
Package

rollup-plugin-react-svg

Optimize svg and load it as a React Component

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

Key numbers

As of 25 Sept 2026
Weekly downloads
2.2k
-28% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
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
02k4k6kSept 2025Mar 2026Sept 2026High 4.9k (21 Apr 2026)Low 806 (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,157 downloads last week, 9,016 in the last month. The 12-month change of -28% 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
17

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)
3.5 kB
Dependencies (2)
react-svg-corerollup-pluginutils
npm install rollup-plugin-react-svg
  • jsDelivrhttps://cdn.jsdelivr.net/npm/rollup-plugin-react-svg@3.0.3/
  • unpkghttps://unpkg.com/rollup-plugin-react-svg@3.0.3/
  • esm.shhttps://esm.sh/rollup-plugin-react-svg@3.0.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@svgr/webpack8.7m-3 years agoCommonJS-
svg-inline-loader153.1k-6 years agoCommonJS-
rollup-plugin-svg-import30.6k-2 years agoESM only-
svg-url-loader516k-3 months agoCommonJS-
vite-plugin-react-rich-svg15k-19 days agoESM only-
svg-sprite-loader159.8k-4 years agoCommonJS-
frontmatter-markdown-loader9.2k-4 years agoCommonJS-
vite-svg-loader442.7k-23 days agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2157 < 10000.