# parcel-plugin-react-svg

> Parcel plugin for using SVGs as React Components.

Latest version **0.1.0** (published 2018-10-27) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install parcel-plugin-react-svg
pnpm add parcel-plugin-react-svg
yarn add parcel-plugin-react-svg
bun add parcel-plugin-react-svg
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-10-27 |
| First published | 2018-10-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 508.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | restlessbit |
| Keywords | parcel, react, svg, plugin |

## Links

- npm: https://www.npmjs.com/package/parcel-plugin-react-svg
- Repository: https://github.com/restlessbit/parcel-plugin-react-svg
- Homepage: https://github.com/restlessbit/parcel-plugin-react-svg#readme
- Issues: https://github.com/restlessbit/parcel-plugin-react-svg/issues
- npm.io page: https://npm.io/package/parcel-plugin-react-svg

## Dependencies (1)

- [@svgr/core](https://npm.io/package/@svgr/core.md) ^3.1.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-10-27

## README

# parcel-plugin-react-svg

Parcel plugin for using SVGs as React Components.

```jsx
import React from 'react'
import BusteloIllo from './bustelo.svg'

class App extends React.Component {
  render() {
    return <BusteloIllo width={500} fill="blue" />
  }
}
```

## How to use it

Install `parcel-plugin-react-svg` from npm and you should be all good to go 💫.

With npm:

```bash
npm install parcel-plugin-react-svg -D
```

Or if you prefer yarn:

```bash
yarn add parcel-plugin-react-svg -D
```

---
_Source: https://npm.io/package/parcel-plugin-react-svg · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
