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 Stale · 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, ranking #842 of 2,256 tracked listings.

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

README badge

Show your rank in a README or on your website. The badge updates automatically.

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 22, 2026 – Oct 17, 2026 · 88 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.

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.

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 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 17, 2026 – Oct 19, 2026 · 3 observations · Updated Oct 17, 2026pluginstats.com
vite-plugin-react-rich-svg npm ranking history: currently #842 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,130 shown · page 43, #2 (overall #842)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins250 listings · 13 pages · page 7, #18 (overall #138)
Vite plugins: every listing in weekly downloads order

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.

Each band is one page of 20. Weekly downloads on a linear 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.

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

All 20 vite-plugin-react-rich-svg alternatives

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 19, 2026. See the methodology.