svg-react-loader
JSON →A Webpack loader that transforms SVG files into reusable React components. Current stable version is 0.4.6. Allows inline SVG usage as React components or composition of multiple SVGs. Supports query parameters for component naming, attribute mapping, CSS class prefixing, and custom filter functions. Does not require Babel for output (ES5-7 compatible). Works with React >=0.14. Key differentiators: supports SVG/XML string or object tree input, filter API for node modification, and works as both a loader and pre-loader.
Traffic · last 30 days ↓44% vs prev 7d
total hits 20
actors 6 distinct systems
last hit 4d ago human
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · IQ · 🇳🇴 Norway
Resources
API endpoints
full doc /v1/registry/svg-react-loader
compatibility /v1/registry/svg-react-loader/compatibility