rollup-plugin-inline-svg

JSON →
library 3.0.3 ·javascript
verified Apr 27, 2026

Rollup plugin that inlines SVG files as strings or data URIs. Current stable version is 3.0.3 (released 2022). Requires Rollup as a peer dependency. Supports both ES modules and CommonJS output. Key differentiator: lightweight, TypeScript types included, and allows custom transformations via options. Alternatives like @svgr/rollup focus on React components, while this plugin is framework-agnostic and simpler for raw SVG inlining.

total hits 11
actors 3 distinct systems
last hit 1d ago AhrefsBot
GPTBot
5
ClaudeBot
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇪🇸 Spain · 🇬🇧 United Kingdom · ZA