{"library":"react-unique-svg-id","type":"library","category":null,"description":"SVG processors like SVGO optimize SVG ids which often results in duplicated ids across multiple SVGs. This library tries to fix that by wrapping SVGs in a component that replaces all children ids and id references (`#id`, `url(#id)`) with unique generated ids like `___SVG_ID__10__0___`, ensuring no id collisions when multiple SVGs are rendered on the same page. Current stable version is 1.0.4. Release cadence is low (last release 2019). Key differentiators: lightweight, TypeScript types included, no external dependencies beyond React. For versions prior to 1.0.0, the library used a different API (package name `react-svg-unique-id` > 1.0.0).","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","typescript"],"install":[{"cmd":"npm install react-unique-svg-id","imports":["import { SVGUniqueID } from 'react-svg-unique-id'","const { SVGUniqueID } = require('react-svg-unique-id')","import type { SVGUniqueID } from 'react-svg-unique-id'"]},{"cmd":"yarn add react-unique-svg-id","imports":[]},{"cmd":"pnpm add react-unique-svg-id","imports":[]}],"homepage":null,"github":"https://github.com/kmertozen/react-svg-unique-id","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-unique-svg-id","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-unique-svg-id/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}