Skip to content
JS
Package

vite-svg-loader

Vite plugin to load SVG files as Vue components

v5.1.3, 1 Sept 2026MITCommonJSTypes: BundledBundler plugins and loadersVue
$ npm install vite-svg-loader

Key numbers

As of 25 Sept 2026
Weekly downloads
442.7k
+24% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
23 days ago
v5.1.3
GitHub stars
702
71 forks
Open issues / PRs
26 / 15
Contributors
-
Commits, last 52 weeks
12

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 677k (20 Jan 2026)Low 263.9k (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.

442,662 downloads last week, 2,278,973 in the last month. The 12-month change of +24% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
336 in total
Latest version
5.1.3, 1 Sept 202623 days ago
First published
12 Jan 2021
Last push to GitHub
1 Sept 202623 days before the snapshot
Repository archived
No
Open issues
26
Open pull requests
15
Commits, last 52 weeks
12
Dependents on npm
175

Major versions

  1. v5 first release 5.0.0, 17 Nov 2023
  2. v4 first release 4.0.0, 24 Dec 2022
  3. v3 first release 3.0.0, 28 Oct 2021
  4. v2 first release 2.0.0, 27 May 2021
  5. v1 first release 1.0.0, 12 Jan 2021
  6. v0 first release 0.1.0, 12 Jan 2021

Recent releases

VersionPublished
5.1.31 Sept 2026
5.1.226 Aug 2026
5.1.15 Mar 2026
5.1.020 Nov 2023
5.0.117 Nov 2023
5.0.017 Nov 2023
4.0.024 Dec 2022
3.6.07 Sept 2022
3.5.11 Sept 2022
3.5.031 Aug 2022
3.4.016 Jun 2022
3.3.024 Apr 2022
3.2.030 Mar 2022
3.1.211 Jan 2022
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
7.0 kB
Dependencies (2)
svgodebug
Peer dependencies (1)
vue
npm install vite-svg-loader
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vite-svg-loader@5.1.3/
  • unpkghttps://unpkg.com/vite-svg-loader@5.1.3/
  • esm.shhttps://esm.sh/vite-svg-loader@5.1.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@poppanator/sveltekit-svg21.7k-1 month agoESM only-
vite-plugin-react-rich-svg15k-19 days agoESM only-
vite-plugin-vue-inspector1m-3 months agoESM only-
vite-plugin-checker2.5m-2 months agoESM only-
@quasar/vite-plugin201k-30 days agoESM only-
vite-ssg35.7k-7 months agoESM only-
svg-inline-loader153.1k-6 years agoCommonJS-
rollup-plugin-svg-import30.6k-2 years agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.