# @svgr/babel-plugin-transform-svg-component

> Transform SVG into component

Latest version **8.0.0** (published 2023-05-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @svgr/babel-plugin-transform-svg-component
pnpm add @svgr/babel-plugin-transform-svg-component
yarn add @svgr/babel-plugin-transform-svg-component
bun add @svgr/babel-plugin-transform-svg-component
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; popular repo.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 8.0.0 |
| Published | 2023-05-09 |
| First published | 2018-11-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=12 |
| Dependencies | 0 |
| Unpacked size | 32 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11062 |
| Author | Greg Bergé |
| Maintainers | neoziro |
| Keywords | babel-plugin |

## Links

- npm: https://www.npmjs.com/package/@svgr/babel-plugin-transform-svg-component
- Repository: https://github.com/gregberge/svgr.git#main
- Homepage: https://react-svgr.com
- Issues: https://github.com/gregberge/svgr/issues
- Funding: https://github.com/sponsors/gregberge
- npm.io page: https://npm.io/package/@svgr/babel-plugin-transform-svg-component

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 8.0.0 (latest) — 2023-05-09
- 6.0.0-alpha.3 (next) — 2021-11-12
- 7.0.0 — 2023-03-24
- 6.5.1 — 2022-10-27
- 6.5.0 — 2022-10-14
- 6.3.1 — 2022-07-22
- 6.3.0 — 2022-07-18
- 6.2.0 — 2022-01-10
- 6.1.0 — 2021-12-01
- 6.0.0 — 2021-11-28
- 6.0.0-alpha.2 — 2021-11-01
- 6.0.0-alpha.1 — 2021-10-31
- 6.0.0-alpha.0 — 2021-09-24
- 5.5.0 — 2020-11-15
- 5.4.0 — 2020-04-27
- … 9 more at https://npm.io/package/@svgr/babel-plugin-transform-svg-component/versions

## README

# @svgr/babel-plugin-transform-svg-component

## Install

```
npm install --save-dev @svgr/babel-plugin-transform-svg-component
```

## Usage

**.babelrc**

```json
{
  "plugins": [
    ["@svgr/babel-plugin-transform-svg-component", { "titleProp": true }]
  ]
}
```

## License

MIT

---
_Source: https://npm.io/package/@svgr/babel-plugin-transform-svg-component · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
