{"library":"vite-plugin-svgr-component","type":"library","category":null,"description":"A Vite plugin that imports SVG files as React components using SVGR, with zero-config defaults and full configurability. v1.0.1 is the current stable version, with slow release cadence. It automatically transforms all SVG imports to React components without needing a query string like ?component, different from other SVGR Vite plugins. Ships TypeScript types, uses SVGO for optimization, and supports micromatch patterns to filter which SVGs are transformed. Requires peer dependencies: react >= 17.0.2 and vite >= 2.7.13.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","vite","plugin","svgr","react","svg","component","typescript"],"install":[{"cmd":"npm install vite-plugin-svgr-component","imports":["import { svgrComponent } from 'vite-plugin-svgr-component'","import CustomIcon from './icon.svg'","/// <reference types=\"vite-plugin-svgr-component/client\" />"]},{"cmd":"yarn add vite-plugin-svgr-component","imports":[]},{"cmd":"pnpm add vite-plugin-svgr-component","imports":[]}],"homepage":null,"github":"https://github.com/chempogonzalez/vite-plugin-svgr-component","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-svgr-component","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/vite-plugin-svgr-component/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}