Skip to content
PluginStats

vite-plugin-react-rich-svg weekly downloads statistics

By iGoodie · npm · Vite plugins

Seamless SVG loader with versatile import options! (Such as React component, dataURI and raw html code)

View on npm Fresh · Oct 17, 2026

vite-plugin-react-rich-svg has 13,946 recorded weekly downloads on npm, an increase of 47.7% over the past 30 days.

It ranks #842 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +365%.

PluginStats has 542 daily observations since Apr 24, 2025; the latest is from Oct 17, 2026.

Weekly downloads
13,946
Official API · Oct 17, 2026
7-day growth
-47.0%
-12.4K weekly downloads
30-day growth
+47.7%
+4.5K weekly downloads
90-day growth
+365%
+10.9K weekly downloads
Rank
#842
Among tracked npm listings

About vite-plugin-react-rich-svg

Vite Plugin: React Rich SVG

Seamless SVG loader with versatile import options (see demo page)

Description

A vite plugin that handles SVG loading with zero-config effort.

It handles loading raw (html string), inline data uri (data:svg+xml,...) and SVGR Component (with easily usable SVGO options) imports easily!

This plugin is heavily inspired by vite-svg-loader, which is an SVG loading Vite plugin for Vue. It is one of my favourites. Thanks to everyone contributed to it! 💜

How to use?

1. Use your favorite package manager to install as dependency

2. Include it in your vite.config.ts

3. If you're using Typescript, you might want to include the typings under vite-env.d.ts:

4. Start importing your SVGs! Happy coding!

Plugin Configurations

include option

Acts as a whitelist predicate for the files you want to be processed.

exclude option

Acts as a blacklist predicate for the files you want to be ignored.

componentLoaderOptions option

• svgrConfig = Options used while running SVGR on the original svg code/asset (See SVGR Options) • oxcConfig = Options passed to Vite's Oxc transform when generating JavaScript from the SVGR output (See Vite's transformWithOxc API)

rawLoaderOptions option

• svgoEnabled = Enables SVGO optimizations • svgoConfig = Options used while running SVGO optimizations on the original SVG asset (See SVGO Options)

base64LoaderOptions option

• svgoEnabled = Enables SVGO optimizations • svgoConfig = Options used while running SVGO optimizations on the original SVG asset (See SVGO Options)

urlLoaderOptions option

• svgoEnabled = Enables SVGO optimizations • svgoConfig = Options used while running SVGO optimizations on the original SVG asset (See SVGO Options)

SVGO, Prettier & Other SVGR Plugins

SVGO and Prettier are supported out of the box. Just mark them in the svgrConfig and they'll start working.

You can also include your own SVGR plugins as you desire!

License

© 2024 Taha Anılcan Metinyurt (iGoodie)

For any part of this work for which the license is applicable, this work is licensed under the Attribution-ShareAlike 4.0 International license. (See LICENSE).

Description from the npm listing.

  • vite-plugin
  • react
  • svg
  • svgr
  • rich
  • import
  • prettier

Where vite-plugin-react-rich-svg sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 43, #2 (overall #842)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 7, #18 (overall #138)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

vite-plugin-react-rich-svg weekly downloads on npm, last 90 days: 13,946 weekly downloads as of Oct 17, 2026, +365% over 90 days.vite-plugin-react-rich-svgWeekly downloads on npm · Last 90 days13,946downloads / week+365% over 90 days05K10K15K20K25K30KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
vite-plugin-react-rich-svg weekly downloads on npm, last 90 days: 13,946 weekly downloads as of Oct 17, 2026, +365% over 90 days.
PNG SVG

7/30/90-day growth

vite-plugin-react-rich-svg weekly downloads growth on npm: -47.0% over 7 days, +47.7% over 30 days, +365% over 90 days.vite-plugin-react-rich-svgWeekly downloads growth on npm13,946downloads / week now7-day growth-12,368 weekly downloads-47.0%30-day growth+4,503 weekly downloads+47.7%90-day growth+10,945 weekly downloads+365%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
vite-plugin-react-rich-svg weekly downloads growth on npm: -47.0% over 7 days, +47.7% over 30 days, +365% over 90 days.
PNG SVG

Ranking history

vite-plugin-react-rich-svg npm ranking history: currently #842 (by weekly downloads).vite-plugin-react-rich-svgnpm ranking · by weekly downloads · Last 90 days#842current rank#300#400#500#600#700#800#900Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
vite-plugin-react-rich-svg npm ranking history: currently #842 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (542)
Recent weekly downloads observations for vite-plugin-react-rich-svg
Date (UTC)Weekly downloadsChange vs. previous
13,946-3.4K
17,306-1.2K
18,469-4.4K
22,872-3.8K
26,6340
26,634+103
26,531+217
26,314-37
26,351+3.4K
22,915-422
23,337-948
24,285-4.9K
29,190-46
29,236—

Similar npm Vite plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/vite-plugin-react-rich-svg. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.