# @svgr/babel-preset

> SVGR preset that apply transformations from config

Latest version **8.1.0** (published 2023-08-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @svgr/babel-preset
pnpm add @svgr/babel-preset
yarn add @svgr/babel-preset
bun add @svgr/babel-preset
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 8.1.0 |
| Published | 2023-08-15 |
| First published | 2018-11-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=14 |
| Dependencies | 8 |
| Unpacked size | 13.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11061 |
| Author | Greg Bergé |
| Maintainers | neoziro |
| Keywords | babel-plugin, babel-preset |

## Links

- npm: https://www.npmjs.com/package/@svgr/babel-preset
- 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-preset

## Dependencies (8)

- [@svgr/babel-plugin-add-jsx-attribute](https://npm.io/package/@svgr/babel-plugin-add-jsx-attribute.md) 8.0.0
- [@svgr/babel-plugin-svg-dynamic-title](https://npm.io/package/@svgr/babel-plugin-svg-dynamic-title.md) 8.0.0
- [@svgr/babel-plugin-svg-em-dimensions](https://npm.io/package/@svgr/babel-plugin-svg-em-dimensions.md) 8.0.0
- [@svgr/babel-plugin-remove-jsx-attribute](https://npm.io/package/@svgr/babel-plugin-remove-jsx-attribute.md) 8.0.0
- [@svgr/babel-plugin-transform-svg-component](https://npm.io/package/@svgr/babel-plugin-transform-svg-component.md) 8.0.0
- [@svgr/babel-plugin-transform-react-native-svg](https://npm.io/package/@svgr/babel-plugin-transform-react-native-svg.md) 8.1.0
- [@svgr/babel-plugin-remove-jsx-empty-expression](https://npm.io/package/@svgr/babel-plugin-remove-jsx-empty-expression.md) 8.0.0
- [@svgr/babel-plugin-replace-jsx-attribute-value](https://npm.io/package/@svgr/babel-plugin-replace-jsx-attribute-value.md) 8.0.0

## 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.1.0 (latest) — 2023-08-15
- 6.0.0-alpha.4 (next) — 2021-11-13
- 8.0.0 — 2023-05-09
- 7.0.0 — 2023-03-24
- 6.5.1 — 2022-10-27
- 6.5.0 — 2022-10-14
- 6.4.0 — 2022-10-01
- 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.3 — 2021-11-12
- 6.0.0-alpha.2 — 2021-11-01
- 6.0.0-alpha.1 — 2021-10-31
- … 16 more at https://npm.io/package/@svgr/babel-preset/versions

## README

# @svgr/babel-preset

## Install

```
npm install --save-dev @svgr/babel-preset
```

## Usage

**.babelrc**

```json
{
  "presets": [["@svgr/babel-preset", { "svgProps": { "width": 200 } }]]
}
```

## License

MIT

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