Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

vite-plugin-svgr

Vite plugin to import SVGs as React components.

Build tools and bundlers npm MIT

Used in agent projects
43
0.3% of 12,697 public repos built with AI coding agents
Rank in build tools and bundlers
#43 of 81
by use in those projects
Downloads
5.6M
npm, last 7 days, vite-plugin-svgr
GitHub stars
754
last push Apr 2, 2026

How vite-plugin-svgr is used

vite-plugin-svgr is a dependency in 43 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #43 of 81 in build tools and bundlers. The most used alternative there is Vite. Projects that use it most often also use Vite (95.3%), Testing Library (62.8%), React (100.0%).

Often used with vite-plugin-svgr

Vite95.3% of vite-plugin-svgr projects · 4.2× more than average
Testing Library62.8% of vite-plugin-svgr projects · 8.7× more than average
React100.0% of vite-plugin-svgr projects · 2.3× more than average
TanStack Query53.5% of vite-plugin-svgr projects · 5.6× more than average
ESLint83.7% of vite-plugin-svgr projects · 2.2× more than average
Prettier53.5% of vite-plugin-svgr projects · 3.1× more than average
React Router39.5% of vite-plugin-svgr projects · 5.2× more than average
wagmi39.5% of vite-plugin-svgr projects · 7.7× more than average

By coding agent

Claude Code0.4% of projects set up for it
Cursor0.6% of projects set up for it
GitHub Copilot0.3% of projects set up for it
OpenAI Codex1.1% of projects set up for it

Share of public repos configured for each agent that list vite-plugin-svgr as a dependency.

Install

Packagenpm install vite-plugin-svgr
Main stacksTypeScript / JavaScript (38), Next.js (5)
Example projectsant-design/ant-design-web3, blockscout/frontend, dydxprotocol/v4-web, CDCgov/cdc-open-viz, GooseFX1/gfx-web-app

Alternatives to vite-plugin-svgr

All build tools and bundlers

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Vite npm
Fast native-ESM powered web development build tool and dev server.
2,897 (22.8%) 194M 83.3K MIT
Babel (JavaScript) npm
JavaScript compiler for transforming modern JavaScript to compatible code.
484 (3.8%) 187M 44.1K MIT
Turborepo npm
High-performance build system for monorepos with task parallelization.
399 (3.1%) 29.5M 31.2K MIT
esbuild npm
Extremely fast JavaScript and CSS bundler and minifier written in Go.
342 (2.7%) 3M 40.1K MIT
webpack npm
Module bundler that packages JavaScript, assets and dependencies for browser deployment.
255 (2.0%) 54.9M 66.1K MIT
react-scripts npm
Build configuration and scripts for Create React App zero-configuration setup.
231 (1.8%) 2.4M 103K MIT
React Compiler Babel Plugin npm
Babel plugin for React Compiler that optimizes React component rendering.
202 (1.6%) 17.8M 251K MIT
webpack CLI npm
Command-line interface for webpack bundler and related build tools.
201 (1.6%) 10.4M 2,617 MIT
Is vite-plugin-svgr right for your project? Ask AgentGid →