Skip to content
JS
Package

babel-plugin-inline-react-svg

A babel plugin that optimizes and inlines SVGs for your react components.

v2.0.2MITCommonJSTypes: NoneReact
$ npm install babel-plugin-inline-react-svg

Key numbers

As of 25 Sept 2026
Weekly downloads
98.1k
-10% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
-
v2.0.2
GitHub stars
474
90 forks
Open issues / PRs
25 / 9
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150k200kSept 2025Mar 2026Sept 2026High 185.2k (2 Dec 2025)Low 65.9k (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.

98,080 downloads last week, 458,967 in the last month. The 12-month change of -10% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.2
First published
-
Last push to GitHub
22 Jul 2024794 days before the snapshot
Repository archived
No
Open issues
25
Open pull requests
9
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=10.13
Runtimes
-
Unpacked size (npm)
55 kB
Dependencies (5)
svgoresolve@babel/parserlodash.isplainobject@babel/helper-plugin-utils
Peer dependencies (1)
@babel/core
npm install babel-plugin-inline-react-svg
  • jsDelivrhttps://cdn.jsdelivr.net/npm/babel-plugin-inline-react-svg@2.0.2/
  • unpkghttps://unpkg.com/babel-plugin-inline-react-svg@2.0.2/
  • esm.shhttps://esm.sh/babel-plugin-inline-react-svg@2.0.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.