{"library":"rollup-plugin-svg-to-jsx","title":"rollup-plugin-svg-to-jsx","description":"Rollup plugin that converts SVG files to JSX components using svg-to-jsx. Current stable version is 1.0.0, released as a minimal wrapper with include/exclude filtering. It transforms SVG imports into React functional components that accept props. The plugin is a simple glue between Rollup and the svg-to-jsx library, with no additional features or active development. Alternatives like @svgr/rollup offer more customization and maintenance.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-svg-to-jsx"],"cli":null},"imports":["import svgToJsx from 'rollup-plugin-svg-to-jsx'","export default { plugins: [ svgToJsx() ] }","svgToJsx({ include: '**/*.svg', exclude: 'file.svg' })"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport svgToJsx from 'rollup-plugin-svg-to-jsx'\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'es'\n  },\n  plugins: [\n    svgToJsx({\n      include: '**/*.svg',\n      exclude: 'excluded.svg'\n    })\n  ]\n}","lang":"javascript","description":"Rollup config that converts imported SVGs to React JSX components using the plugin with include/exclude filters.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}