babel-plugin-react-svg
JSON →Babel plugin that transforms SVG files into React components. Version 3.0.3 is the current stable release, with no active development since 2019. It works by running SVGO optimization followed by a Babel transform to produce a component that renders the SVG as JSX. Key differentiators: integrates with webpack via react-svg-loader, supports SVGO options, and outputs functional components. Alternatives like @svgr/webpack offer more features and are actively maintained.
Traffic · last 30 days stale · no recent hits
total hits 15
actors 4 distinct systems
last hit 17d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/babel-plugin-react-svg
compatibility /v1/registry/babel-plugin-react-svg/compatibility