Skip to content
SVGR
  • Playground
  • Docs

About

  • What is SVGR?
  • Supporting SVGR
  • Ecosystem

Usage

  • Getting started
  • Migrate to v6
  • Command Line
  • Webpack
  • Node.js
  • Next.js
  • Remix
  • Rollup.js
  • Parcel
  • Jest
  • Mocha

Configuring SVGR

  • Options
  • Configuration Files

Advanced

  • Custom Templates
  • Custom transformations

Parcel

Parcel provides an official plugin to import SVG as React components.

SVGR is natively supported by Parcel v2+. Please report to "Importing SVG as a React component" guide on official parcel documentation.

If you still use Parcel v1, @svgr/parcel-plugin-svgr is deprecated and only compatible with Parcel v1.

Edit this page on GitHub
← Rollup.jsJest →