react-svg-unique-id
JSON →React utility that automatically rewrites SVG element IDs (id, xlinkHref, url(#...)) to unique, collision-free identifiers like ___SVG_ID__N__M___. This solves the problem of duplicate IDs when multiple SVGs processed by SVGO are used on the same page. Version 1.3.3 is the latest stable release (last published March 2020). The library ships with TypeScript types and has a peer dependency on React ^16.6.3. It is lightweight and specifically designed for React, unlike generic SVG ID deduplication tools.
Traffic · last 30 days ↓50% vs prev 7d
total hits 17
actors 6 distinct systems
last hit 2d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇮🇳 India · 🇸🇬 Singapore
Resources
API endpoints
full doc /v1/registry/react-svg-unique-id
compatibility /v1/registry/react-svg-unique-id/compatibility