Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-svg

tanem883.6kMIT16.3.0TypeScript support: included

A React component that injects SVG into the DOM.

dom, html, images, img, javascript, react, scalable vector graphics, svg, svginjector, typescript

readme

react-svg

npm version build status coverage status npm downloads minzipped size

A React component that injects SVG into the DOM.

Background | Basic Usage | Live Examples | API | Installation | FAQ | License

Background

Let's say you have an SVG available at some URL, and you'd like to inject it into the DOM for various reasons. This module does the heavy lifting for you by delegating the process to @tanem/svg-injector, which makes an AJAX request for the SVG and then swaps in the SVG markup inline. The async loaded SVG is also cached, so multiple uses of an SVG only require a single server request.

Basic Usage

import { createRoot } from 'react-dom/client'
import { ReactSVG } from 'react-svg'

const container = document.getElementById('root')
const root = createRoot(container)
root.render(<ReactSVG src="svg.svg" />)

Live Examples

API

Props

  • src - The SVG URL.
  • afterInjection(svg) - Optional Function to call after the SVG is injected. svg is the injected SVG DOM element. If an error occurs during execution it will be routed to the onError callback, and if a fallback is specified it will be rendered. Defaults to () => {}.
  • beforeInjection(svg) - Optional Function to call just before the SVG is injected. svg is the SVG DOM element which is about to be injected. If an error occurs during execution it will be routed to the onError callback, and if a fallback is specified it will be rendered. Defaults to () => {}.
  • desc - Optional String used for SVG <desc> element content. If a <desc> exists it will be replaced, otherwise a new <desc> is created. Defaults to '', which is a noop.
  • evalScripts - Optional Run any script blocks found in the SVG. One of 'always', 'once', or 'never'. Defaults to 'never'.
  • fallback - Optional Fallback to use if an error occurs during injection, or if errors are thrown from the beforeInjection or afterInjection functions. Can be a string, class component, or function component. Defaults to null.
  • httpRequestWithCredentials - Optional Boolean indicating if cross-site Access-Control requests for the SVG should be made using credentials. Defaults to false.
  • loading - Optional Component to use during loading. Can be a string, class component, or function component. Defaults to null.
  • onError(error) - Optional Function to call if an error occurs during injection, or if errors are thrown from the beforeInjection or afterInjection functions. error is an unknown object. Defaults to () => {}.
  • renumerateIRIElements - Optional Boolean indicating if SVG IRI addressable elements should be renumerated. Defaults to true.
  • title - Optional String used for SVG <title> element content. If a <title> exists it will be replaced, otherwise a new <title> is created. Defaults to '', which is a noop.
  • useRequestCache - Optional Use SVG request cache. Defaults to true.
  • wrapper - Optional Wrapper element types. One of 'div', 'span' or 'svg'. Defaults to 'div'.

Other non-documented properties are applied to the outermost wrapper element.

Example

<ReactSVG
  afterInjection={(svg) => {
    console.log(svg)
  }}
  beforeInjection={(svg) => {
    svg.classList.add('svg-class-name')
    svg.setAttribute('style', 'width: 200px')
  }}
  className="wrapper-class-name"
  desc="Description"
  evalScripts="always"
  fallback={() => <span>Error!</span>}
  httpRequestWithCredentials={true}
  loading={() => <span>Loading</span>}
  onClick={() => {
    console.log('wrapper onClick')
  }}
  onError={(error) => {
    console.error(error)
  }}
  renumerateIRIElements={false}
  src="svg.svg"
  title="Title"
  useRequestCache={false}
  wrapper="span"
/>

Installation

⚠️This library depends on @tanem/svg-injector, which uses Array.from(). If you're targeting browsers that don't support that method, you'll need to ensure an appropriate polyfill is included manually. See this issue comment for further detail.

$ npm install react-svg

UMD builds are also available for use with pre-React 19 via unpkg:

For the non-minified development version, make sure you have already included:

For the minified production version, make sure you have already included:

FAQ

<summary> Why are there two wrapping elements? </summary>

This module delegates it's core behaviour to @tanem/svg-injector, which requires the presence of a parent node when swapping in the SVG element. The swapping in occurs outside of React flow, so we don't want React updates to conflict with the DOM nodes @tanem/svg-injector is managing.

Example output, assuming a div wrapper:

<div> <!-- The wrapper, managed by React -->
  <div> <!-- The parent node, managed by @tanem/svg-injector -->
    <svg>...</svg> <!-- The swapped-in SVG, managed by @tanem/svg-injector -->
  </div>
</div>

See:

Related issues and PRs:

License

MIT

changelog

Changelog

v16.3.0 (2025-01-26)

Full Changelog

:memo: Documentation

:rocket: Enhancement

:house: Internal

v16.2.0 (2024-11-19)

Full Changelog

:rocket: Enhancement

:house: Internal

v16.1.34 (2024-03-27)

Full Changelog

:house: Internal

v16.1.33 (2024-02-03)

Full Changelog

:house: Internal

v16.1.32 (2023-12-15)

Full Changelog

:house: Internal

v16.1.31 (2023-11-21)

Full Changelog

:house: Internal

v16.1.30 (2023-11-12)

Full Changelog

:house: Internal

v16.1.29 (2023-10-13)

Full Changelog

:house: Internal

v16.1.28 (2023-10-07)

Full Changelog

:house: Internal

v16.1.27 (2023-09-29)

Full Changelog

:house: Internal

v16.1.26 (2023-09-26)

Full Changelog

:house: Internal

v16.1.25 (2023-09-16)

Full Changelog

:house: Internal

v16.1.24 (2023-09-09)

Full Changelog

:house: Internal

v16.1.23 (2023-09-01)

Full Changelog

:house: Internal

v16.1.22 (2023-08-18)

Full Changelog

:house: Internal

v16.1.21 (2023-08-11)

Full Changelog

:house: Internal

v16.1.20 (2023-08-05)

Full Changelog

:house: Internal

v16.1.19 (2023-07-20)

Full Changelog

:house: Internal

v16.1.18 (2023-06-30)

Full Changelog

:house: Internal

v16.1.17 (2023-06-18)

Full Changelog

:house: Internal

v16.1.16 (2023-06-10)

Full Changelog

:house: Internal

v16.1.15 (2023-06-02)

Full Changelog

:house: Internal

v16.1.14 (2023-05-26)

Full Changelog

:house: Internal

v16.1.13 (2023-05-20)

Full Changelog

:house: Internal

v16.1.12 (2023-05-12)

Full Changelog

:house: Internal

v16.1.11 (2023-05-05)

Full Changelog

:house: Internal

v16.1.10 (2023-04-29)

Full Changelog

:house: Internal

v16.1.9 (2023-04-24)

Full Changelog

:house: Internal

v16.1.8 (2023-04-17)

Full Changelog

:house: Internal

v16.1.7 (2023-03-27)

Full Changelog

:house: Internal

v16.1.6 (2023-03-10)

Full Changelog

:house: Internal

v16.1.5 (2023-03-03)

Full Changelog

:house: Internal

v16.1.4 (2023-02-24)

Full Changelog

:house: Internal

v16.1.3 (2023-02-19)

Full Changelog

:house: Internal

v16.1.2 (2023-02-17)

Full Changelog

:house: Internal

v16.1.1 (2023-02-12)

Full Changelog

:house: Internal

v16.1.0 (2023-02-04)

Full Changelog

:rocket: Enhancement

:house: Internal

v16.0.0 (2023-01-23)

Full Changelog

:boom: Breaking Change

:house: Internal

v15.1.21 (2023-01-16)

Full Changelog

:bug: Bug Fix

  • #2125 Tweak type defs to fix styled-components issue (@tanem)

:house: Internal

v15.1.20 (2023-01-15)

Full Changelog

:bug: Bug Fix

:memo: Documentation

:house: Internal

v15.1.19 (2023-01-13)

Full Changelog

:house: Internal

v15.1.18 (2023-01-06)

Full Changelog

:house: Internal

v15.1.17 (2022-12-23)

Full Changelog

:house: Internal

v15.1.16 (2022-12-18)

Full Changelog

:house: Internal

v15.1.15 (2022-12-10)

Full Changelog

:house: Internal

v15.1.14 (2022-11-27)

Full Changelog

:house: Internal

v15.1.13 (2022-11-19)

Full Changelog

:house: Internal

v15.1.12 (2022-11-11)

Full Changelog

:house: Internal

v15.1.11 (2022-10-29)

Full Changelog

:house: Internal

v15.1.10 (2022-10-09)

Full Changelog

:house: Internal

v15.1.9 (2022-09-18)

Full Changelog

:house: Internal

v15.1.8 (2022-09-09)

Full Changelog

:house: Internal

v15.1.7 (2022-08-22)

Full Changelog

:house: Internal

v15.1.6 (2022-08-14)

Full Changelog

:house: Internal

v15.1.5 (2022-08-07)

Full Changelog

:house: Internal

v15.1.4 (2022-07-29)

Full Changelog

:house: Internal

v15.1.3 (2022-07-15)

Full Changelog

:house: Internal

v15.1.2 (2022-07-08)

Full Changelog

:house: Internal

v15.1.1 (2022-07-02)

Full Changelog

:house: Internal

v15.1.0 (2022-06-28)

Full Changelog

:rocket: Enhancement

:house: Internal

v15.0.4 (2022-06-18)

Full Changelog

:house: Internal

v15.0.3 (2022-06-10)

Full Changelog

:house: Internal

v15.0.2 (2022-06-03)

Full Changelog

:house: Internal

v15.0.1 (2022-05-03)

Full Changelog

:house: Internal

v15.0.0 (2022-05-01)

Full Changelog

:boom: Breaking Change

  • #1763 Add React version tests, drop support for ^15.0.0 (@tanem)

:house: Internal

v14.1.19 (2022-04-22)

Full Changelog

:memo: Documentation

:house: Internal

v14.1.18 (2022-04-08)

Full Changelog

:house: Internal

v14.1.17 (2022-04-01)

Full Changelog

:house: Internal

v14.1.16 (2022-03-25)

Full Changelog

:house: Internal

v14.1.15 (2022-03-21)

Full Changelog

:house: Internal

v14.1.14 (2022-03-11)

Full Changelog

:house: Internal

v14.1.13 (2022-03-08)

Full Changelog

:house: Internal

v14.1.12 (2022-02-18)

Full Changelog

:house: Internal

v14.1.11 (2022-02-11)

Full Changelog

:house: Internal

v14.1.10 (2022-02-04)

Full Changelog

:house: Internal

v14.1.9 (2022-01-21)

Full Changelog

:house: Internal

v14.1.8 (2022-01-16)

Full Changelog

:house: Internal

v14.1.7 (2022-01-08)

Full Changelog

:house: Internal

v14.1.6 (2021-12-24)

Full Changelog

:house: Internal

v14.1.5 (2021-12-17)

Full Changelog

:house: Internal

v14.1.4 (2021-12-03)

Full Changelog

:house: Internal

v14.1.3 (2021-11-20)

Full Changelog

:house: Internal

v14.1.2 (2021-11-12)

Full Changelog

:house: Internal

v14.1.1 (2021-11-05)

Full Changelog

:memo: Documentation

  • #1507 Add missing docs around httpRequestWithCredentials option (@tanem)

:house: Internal

v14.1.0 (2021-11-01)

Full Changelog

:rocket: Enhancement

  • #1506 Allow passing of httpRequestWithCredentials option (@tanem)

:house: Internal

v14.0.17 (2021-10-22)

Full Changelog

:house: Internal

v14.0.16 (2021-10-15)

Full Changelog

:house: Internal

v14.0.15 (2021-10-08)

Full Changelog

:house: Internal

v14.0.14 (2021-10-03)

Full Changelog

:house: Internal

v14.0.13 (2021-09-17)

Full Changelog

:house: Internal

v14.0.12 (2021-09-13)

Full Changelog

:house: Internal

v14.0.11 (2021-09-03)

Full Changelog

:house: Internal

v14.0.10 (2021-08-29)

Full Changelog

:house: Internal

v14.0.9 (2021-08-19)

Full Changelog

:house: Internal

v14.0.8 (2021-08-09)

Full Changelog

:house: Internal

v14.0.7 (2021-08-01)

Full Changelog

:house: Internal

v14.0.6 (2021-07-23)

Full Changelog

:house: Internal

v14.0.5 (2021-07-16)

Full Changelog

:house: Internal

v14.0.4 (2021-07-12)

Full Changelog

:house: Internal

v14.0.3 (2021-06-25)

Full Changelog

:house: Internal

v14.0.2 (2021-06-18)

Full Changelog

:house: Internal

v14.0.1 (2021-06-13)

Full Changelog

:house: Internal

v14.0.0 (2021-06-08)

Full Changelog

:boom: Breaking Change

  • #1310 Restore extra non-React wrapping element (@tanem)

:house: Internal

v13.0.6 (2021-05-22)

Full Changelog

:house: Internal

v13.0.5 (2021-05-14)

Full Changelog

:house: Internal

v13.0.4 (2021-05-07)

Full Changelog

:house: Internal

v13.0.3 (2021-04-22)

Full Changelog

:house: Internal

v13.0.2 (2021-04-17)

Full Changelog

:house: Internal

v13.0.1 (2021-04-11)

Full Changelog

:bug: Bug Fix

:house: Internal

v13.0.0 (2021-04-08)

Full Changelog

:boom: Breaking Change

:house: Internal

v12.1.0 (2021-03-03)

Full Changelog

:rocket: Enhancement

:house: Internal

v12.0.1 (2021-03-02)

Full Changelog

:house: Internal

v12.0.0 (2021-02-25)

Full Changelog

:boom: Breaking Change

  • #1167 Stop testing impl. details, remove extra wrapper, remove react-dom/server (@tanem)

:house: Internal

v11.2.5 (2021-02-20)

Full Changelog

:house: Internal

v11.2.4 (2021-02-14)

Full Changelog

:house: Internal

v11.2.3 (2021-01-22)

Full Changelog

:house: Internal

v11.2.2 (2021-01-08)

Full Changelog

:house: Internal

v11.2.1 (2020-12-18)

Full Changelog

:house: Internal

v11.2.0 (2020-12-15)

Full Changelog

:rocket: Enhancement

:house: Internal

list (2020-12-12)

Full Changelog

:house: Internal

v11.1.4 (2020-12-04)

Full Changelog

:memo: Documentation

:house: Internal

v11.1.3 (2020-11-27)

Full Changelog

:house: Internal

v11.1.2 (2020-11-23)

Full Changelog

:house: Internal

v11.1.1 (2020-11-08)

Full Changelog

:house: Internal

v11.1.0 (2020-10-25)

Full Changelog

:memo: Documentation

:rocket: Enhancement

:house: Internal

v11.0.44 (2020-10-13)

Full Changelog

:bug: Bug Fix

:house: Internal

v11.0.43 (2020-10-09)

Full Changelog

:house: Internal

v11.0.42 (2020-10-02)

Full Changelog

:memo: Documentation

:house: Internal

v11.0.41 (2020-09-25)

Full Changelog

:house: Internal

v11.0.40 (2020-09-18)

Full Changelog

:house: Internal

v11.0.39 (2020-09-11)

Full Changelog

:house: Internal

v11.0.38 (2020-09-04)

Full Changelog

:house: Internal

v11.0.37 (2020-08-28)

Full Changelog

:house: Internal

v11.0.36 (2020-08-21)

Full Changelog

:house: Internal

v11.0.35 (2020-08-14)

Full Changelog

:house: Internal

v11.0.34 (2020-08-07)

Full Changelog

:house: Internal

v11.0.33 (2020-07-31)

Full Changelog

:memo: Documentation

:house: Internal

v11.0.32 (2020-07-24)

Full Changelog

:memo: Documentation

:house: Internal

v11.0.31 (2020-07-17)

Full Changelog

:house: Internal

v11.0.30 (2020-07-10)

Full Changelog

:house: Internal

v11.0.29 (2020-07-03)

Full Changelog

:house: Internal

v11.0.28 (2020-06-26)

Full Changelog

:house: Internal

v11.0.27 (2020-06-20)

Full Changelog

:house: Internal

v11.0.26 (2020-06-12)

Full Changelog

:house: Internal

v11.0.25 (2020-06-06)

Full Changelog

:house: Internal

v11.0.24 (2020-06-01)

Full Changelog

:house: Internal

v11.0.23 (2020-05-22)

Full Changelog

:house: Internal

v11.0.22 (2020-05-17)

Full Changelog

:house: Internal

v11.0.21 (2020-05-02)

Full Changelog

:house: Internal

v11.0.20 (2020-04-24)

Full Changelog

:house: Internal

v11.0.19 (2020-04-17)

Full Changelog

:house: Internal

v11.0.18 (2020-04-11)

Full Changelog

:house: Internal

v11.0.17 (2020-04-07)

Full Changelog

:house: Internal

v11.0.16 (2020-04-04)

Full Changelog

:memo: Documentation

  • #724 Fix link to background section in README.md (@petetnt)

:house: Internal

v11.0.15 (2020-03-21)

Full Changelog

:house: Internal

v11.0.14 (2020-03-13)

Full Changelog

:house: Internal

v11.0.13 (2020-03-07)

Full Changelog

:house: Internal

v11.0.12 (2020-02-29)

Full Changelog

:house: Internal

v11.0.11 (2020-02-21)

Full Changelog

:house: Internal

v11.0.10 (2020-02-13)

Full Changelog

:house: Internal

v11.0.9 (2020-01-28)

Full Changelog

:memo: Documentation

:house: Internal

v11.0.8 (2020-01-26)

Full Changelog

:memo: Documentation

  • #648 Add accessibility live example and README faq (@tanem)

:house: Internal

v11.0.7 (2020-01-15)

Full Changelog

:house: Internal

v11.0.6 (2020-01-04)

Full Changelog

:house: Internal

v11.0.5 (2019-12-27)

Full Changelog

:house: Internal

v11.0.4 (2019-12-17)

Full Changelog

:house: Internal

v11.0.3 (2019-12-08)

Full Changelog

:memo: Documentation

:house: Internal

v11.0.2 (2019-12-06)

Full Changelog

:house: Internal

v11.0.1 (2019-12-06)

Full Changelog

:house: Internal

v11.0.0 (2019-12-04)

Full Changelog

:boom: Breaking Change

:house: Internal

  • #508 Remove master issue approval for major dep updates (@tanem)

v10.0.26 (2019-12-03)

Full Changelog

:house: Internal

v10.0.25 (2019-11-16)

Full Changelog

:house: Internal

v10.0.24 (2019-11-16)

Full Changelog

:house: Internal

v10.0.23 (2019-10-12)

Full Changelog

:house: Internal

v10.0.22 (2019-09-28)

Full Changelog

:house: Internal

v10.0.21 (2019-09-18)

Full Changelog

:house: Internal

v10.0.20 (2019-08-28)

Full Changelog

:house: Internal

v10.0.19 (2019-08-24)

Full Changelog

:house: Internal

v10.0.18 (2019-08-18)

Full Changelog

:house: Internal

v10.0.17 (2019-08-10)

Full Changelog

:house: Internal

v10.0.16 (2019-08-08)

Full Changelog

:house: Internal

v10.0.15 (2019-08-08)

Full Changelog

:house: Internal

v10.0.14 (2019-07-31)

Full Changelog

:bug: Bug Fix

:house: Internal

v10.0.13 (2019-07-26)

Full Changelog

:house: Internal

v10.0.12 (2019-07-22)

Full Changelog

:house: Internal

v10.0.11 (2019-07-10)

Full Changelog

:house: Internal

v10.0.10 (2019-07-02)

Full Changelog

:house: Internal

v10.0.9 (2019-06-18)

Full Changelog

:house: Internal

v10.0.8 (2019-06-11)

Full Changelog

:house: Internal

v10.0.7 (2019-06-08)

Full Changelog

:house: Internal

v10.0.6 (2019-06-01)

Full Changelog

:house: Internal

v10.0.5 (2019-05-30)

Full Changelog

:house: Internal

v10.0.4 (2019-05-23)

Full Changelog

:house: Internal

v10.0.3 (2019-05-20)

Full Changelog

:house: Internal

v10.0.2 (2019-05-15)

Full Changelog

:house: Internal

v10.0.1 (2019-05-12)

Full Changelog

:house: Internal

v10.0.0 (2019-05-10)

Full Changelog

:boom: Breaking Change

  • #338 Add beforeInjection prop and rework existing API (@tanem)

:house: Internal

v9.0.4 (2019-04-29)

Full Changelog

:house: Internal

v9.0.3 (2019-04-26)

Full Changelog

:house: Internal

v9.0.2 (2019-04-22)

Full Changelog

:house: Internal

v9.0.1 (2019-04-22)

Full Changelog

:memo: Documentation

v9.0.0 (2019-04-22)

Full Changelog

:house: Internal

v8.0.8 (2019-04-21)

Full Changelog

:house: Internal

v8.0.7 (2019-04-19)

Full Changelog

:house: Internal

v8.0.6 (2019-04-16)

Full Changelog

:house: Internal

:question: Unlabelled

v8.0.5 (2019-04-13)

Full Changelog

:house: Internal

v8.0.4 (2019-04-10)

Full Changelog

:house: Internal

v8.0.3 (2019-04-06)

Full Changelog

:house: Internal

v8.0.2 (2019-03-30)

Full Changelog

:house: Internal

v8.0.1 (2019-03-23)

Full Changelog

:house: Internal

v8.0.0 (2019-03-14)

Full Changelog

:house: Internal

  • #237 Upgrade @tanem/svg-injector to latest (@tanem)

v7.2.14 (2019-03-14)

Full Changelog

:house: Internal

v7.2.13 (2019-03-14)

Full Changelog

:house: Internal

v7.2.12 (2019-03-12)

Full Changelog

:house: Internal

v7.2.11 (2019-03-11)

Full Changelog

:house: Internal

v7.2.10 (2019-03-11)

Full Changelog

:house: Internal

v7.2.9 (2019-03-09)

Full Changelog

:house: Internal

v7.2.8 (2019-03-08)

Full Changelog

:house: Internal

v7.2.7 (2019-02-20)

Full Changelog

:house: Internal

v7.2.6 (2019-01-29)

Full Changelog

:house: Internal

v7.2.5 (2019-01-27)

Full Changelog

:house: Internal

v7.2.4 (2019-01-20)

Full Changelog

:house: Internal

v7.2.3 (2019-01-13)

Full Changelog

:house: Internal

v7.2.2 (2018-12-06)

Full Changelog

:house: Internal

v7.2.1 (2018-12-05)

Full Changelog

:question: Unlabelled

  • #188 Ensure setState isn't called when the component is unmounted (@tanem)

v7.2.0 (2018-11-26)

Full Changelog

:question: Unlabelled

  • #186 Add ability to specify span wrappers (@tanem)

v7.1.1 (2018-11-24)

Full Changelog

:house: Internal

:question: Unlabelled

v7.1.0 (2018-11-13)

Full Changelog

:house: Internal

:question: Unlabelled

v7.0.1 (2018-11-11)

Full Changelog

:question: Unlabelled

v7.0.0 (2018-11-11)

Full Changelog

:question: Unlabelled

v6.0.24 (2018-11-05)

Full Changelog

:house: Internal

v6.0.23 (2018-11-05)

Full Changelog

:house: Internal

v6.0.22 (2018-11-05)

Full Changelog

:house: Internal

v6.0.21 (2018-10-31)

Full Changelog

:question: Unlabelled

v6.0.20 (2018-10-21)

Full Changelog

:question: Unlabelled

v6.0.19 (2018-10-21)

Full Changelog

:house: Internal

:question: Unlabelled

  • #166 Remove prop-types from umd prod example (@tanem)

v6.0.18 (2018-10-11)

Full Changelog

:house: Internal

v6.0.17 (2018-10-04)

Full Changelog

:question: Unlabelled

v6.0.16 (2018-10-04)

Full Changelog

:question: Unlabelled

v6.0.15 (2018-09-23)

Full Changelog

:question: Unlabelled

v6.0.14 (2018-09-21)

Full Changelog

:house: Internal

v6.0.13 (2018-09-16)

Full Changelog

:house: Internal

v6.0.12 (2018-09-16)

Full Changelog

:house: Internal

:question: Unlabelled

v6.0.11 (2018-09-13)

Full Changelog

:question: Unlabelled

v6.0.10 (2018-09-12)

Full Changelog

:house: Internal

v6.0.9 (2018-09-10)

Full Changelog

:house: Internal

:question: Unlabelled

v6.0.8 (2018-09-08)

Full Changelog

:house: Internal

v6.0.7 (2018-09-05)

Full Changelog

:house: Internal

v6.0.6 (2018-09-03)

Full Changelog

:question: Unlabelled

v6.0.5 (2018-08-31)

Full Changelog

:house: Internal

v6.0.4 (2018-08-30)

Full Changelog

:house: Internal

v6.0.3 (2018-08-27)

Full Changelog

:house: Internal

v6.0.2 (2018-08-25)

Full Changelog

:question: Unlabelled

v6.0.1 (2018-08-25)

Full Changelog

:question: Unlabelled

  • #138 Don't commit example package-lock.json (@tanem)

v6.0.0 (2018-08-25)

Full Changelog

:question: Unlabelled

v5.0.23 (2018-08-25)

Full Changelog

:question: Unlabelled

v5.0.22 (2018-08-22)

Full Changelog

:house: Internal

:question: Unlabelled

v5.0.21 (2018-08-19)

Full Changelog

:house: Internal

v5.0.20 (2018-08-17)

Full Changelog

:question: Unlabelled

v5.0.19 (2018-08-17)

Full Changelog

:question: Unlabelled

v5.0.18 (2018-08-17)

Full Changelog

:question: Unlabelled

v5.0.17 (2018-08-16)

Full Changelog

:question: Unlabelled

v5.0.16 (2018-08-12)

Full Changelog

:question: Unlabelled

v5.0.15 (2018-08-11)

Full Changelog

:house: Internal

v5.0.14 (2018-08-06)

Full Changelog

:question: Unlabelled

v5.0.13 (2018-08-04)

Full Changelog

:house: Internal

v5.0.12 (2018-08-01)

Full Changelog

:question: Unlabelled

v5.0.11 (2018-07-31)

Full Changelog

:question: Unlabelled

v5.0.10 (2018-07-30)

Full Changelog

:question: Unlabelled

v5.0.9 (2018-07-29)

Full Changelog

:house: Internal

v5.0.8 (2018-07-28)

Full Changelog

:house: Internal

v5.0.7 (2018-07-28)

Full Changelog

:question: Unlabelled

v5.0.6 (2018-07-25)

Full Changelog

:question: Unlabelled

v5.0.5 (2018-07-25)

Full Changelog

:question: Unlabelled

v5.0.4 (2018-07-25)

Full Changelog

:house: Internal

v5.0.3 (2018-07-24)

Full Changelog

:question: Unlabelled

v5.0.2 (2018-07-23)

Full Changelog

:question: Unlabelled

v5.0.1 (2018-07-22)

Full Changelog

:question: Unlabelled

v5.0.0 (2018-07-22)

Full Changelog

:question: Unlabelled

v4.1.8 (2018-07-11)

Full Changelog

:question: Unlabelled

v4.1.7 (2018-07-11)

Full Changelog

:question: Unlabelled

v4.1.6 (2018-07-09)

Full Changelog

:house: Internal

  • #98 Update deps to fix audit issues (@tanem)

v4.1.5 (2018-07-08)

Full Changelog

:question: Unlabelled

v4.1.4 (2018-07-08)

Full Changelog

:question: Unlabelled

v4.1.3 (2018-07-07)

Full Changelog

:question: Unlabelled

v4.1.2 (2018-07-07)

Full Changelog

:house: Internal

v4.1.1 (2018-06-30)

Full Changelog

:question: Unlabelled

v4.1.0 (2018-06-30)

Full Changelog

:question: Unlabelled

  • #89 Add renumerateIRIElements prop (@tanem)

v4.0.17 (2018-06-15)

Full Changelog

:question: Unlabelled

v4.0.16 (2018-06-15)

Full Changelog

:question: Unlabelled

  • #86 Use jsx code highlighting in docs (@tanem)

v4.0.15 (2018-06-15)

Full Changelog

:question: Unlabelled

v4.0.14 (2018-06-14)

Full Changelog

:question: Unlabelled

v4.0.13 (2018-05-26)

Full Changelog

:question: Unlabelled

v4.0.12 (2018-05-26)

Full Changelog

:question: Unlabelled

v4.0.11 (2018-05-25)

Full Changelog

:question: Unlabelled

  • #81 Update svginjector and tidy run scripts (@tanem)

v4.0.10 (2018-05-25)

Full Changelog

:question: Unlabelled

  • #80 Remove babel-plugin-add-module-exports (@tanem)

v4.0.9 (2018-05-25)

Full Changelog

:question: Unlabelled

  • #79 Re-add add-module-exports plugin (@tanem)

v4.0.8 (2018-05-25)

Full Changelog

:question: Unlabelled

v4.0.7 (2018-05-25)

Full Changelog

:question: Unlabelled

v4.0.6 (2018-05-25)

Full Changelog

:question: Unlabelled

v4.0.5 (2018-05-25)

Full Changelog

:question: Unlabelled

v4.0.4 (2018-05-25)

Full Changelog

:question: Unlabelled

v4.0.3 (2018-05-25)

Full Changelog

:question: Unlabelled

v4.0.2 (2018-05-20)

Full Changelog

:question: Unlabelled

v4.0.1 (2018-05-19)

Full Changelog

:question: Unlabelled

v4.0.0 (2018-05-19)

Full Changelog

:question: Unlabelled

  • #70 Switch from SVGInjector to SVGInjector 2 (@tanem)

v3.0.6 (2018-05-12)

Full Changelog

:question: Unlabelled

v3.0.5 (2018-05-12)

Full Changelog

:question: Unlabelled

v3.0.4 (2018-05-11)

Full Changelog

:question: Unlabelled

v3.0.3 (2018-05-10)

Full Changelog

:question: Unlabelled

v3.0.2 (2018-05-05)

Full Changelog

:house: Internal

v3.0.1 (2018-04-29)

Full Changelog

:question: Unlabelled

v3.0.0 (2018-04-29)

Full Changelog

:question: Unlabelled

v2.2.18 (2018-04-21)

Full Changelog

:question: Unlabelled

  • #57 Changed default evalScripts prop to match documentation. (@ronperris)

v2.2.17 (2018-04-10)

Full Changelog

:house: Internal

  • #56 Update webpack plus related deps (@tanem)

v2.2.16 (2018-04-06)

Full Changelog

:question: Unlabelled

v2.2.15 (2018-03-20)

Full Changelog

:question: Unlabelled

  • #54 Ensure we have a container when rendering (@tanem)

v2.2.14 (2018-03-03)

Full Changelog

:house: Internal

:question: Unlabelled

v2.2.13 (2018-02-19)

Full Changelog

v2.2.12 (2018-02-19)

Full Changelog

:question: Unlabelled

v2.2.11 (2018-02-01)

Full Changelog

:house: Internal

v2.2.10 (2018-01-11)

Full Changelog

:question: Unlabelled

v2.2.9 (2018-01-07)

Full Changelog

:question: Unlabelled

v2.2.8 (2018-01-07)

Full Changelog

:question: Unlabelled

  • #44 Fix incorrect spelling of "wrapperClassName" in README (@deadbeef404)

v2.2.7 (2018-01-03)

Full Changelog

:house: Internal

v2.2.6 (2017-12-20)

Full Changelog

:question: Unlabelled

v2.2.5 (2017-12-12)

Full Changelog

:question: Unlabelled

v2.2.4 (2017-12-12)

Full Changelog

:question: Unlabelled

v2.2.3 (2017-12-08)

Full Changelog

:question: Unlabelled

  • #38 Ensure Nodes are present when removing (@tanem)

v2.2.2 (2017-11-15)

Full Changelog

:question: Unlabelled

v2.2.1 (2017-11-15)

Full Changelog

:house: Internal

  • #34 Update node, npm and some dev deps (@tanem)

v2.2.0 (2017-11-15)

Full Changelog

:question: Unlabelled

  • #33 Added wrapperClassName prop to allow one to set a className (@faceleg)

v2.1.22 (2017-10-02)

Full Changelog

:question: Unlabelled

v2.1.21 (2017-05-24)

Full Changelog

v2.1.20 (2017-05-24)

Full Changelog

:question: Unlabelled

  • #23 Upgrade deps to fix prop types warning and react-addons-test-utils warning. (@ianlyons)

v2.1.19 (2017-02-16)

Full Changelog

v2.1.18 (2017-01-18)

Full Changelog

v2.1.17 (2017-01-18)

Full Changelog

v2.1.16 (2017-01-18)

Full Changelog

v2.1.15 (2017-01-18)

Full Changelog

v2.1.14 (2017-01-18)

Full Changelog

v2.1.13 (2017-01-11)

Full Changelog

v2.1.12 (2017-01-11)

Full Changelog

v2.1.11 (2017-01-11)

Full Changelog

v2.1.10 (2017-01-02)

Full Changelog

v2.1.9 (2017-01-02)

Full Changelog

v2.1.8 (2017-01-02)

Full Changelog

v2.1.7 (2017-01-01)

Full Changelog

v2.1.6 (2017-01-01)

Full Changelog

v2.1.5 (2017-01-01)

Full Changelog

v2.1.4 (2017-01-01)

Full Changelog

v2.1.3 (2016-12-31)

Full Changelog

v2.1.2 (2016-12-31)

Full Changelog

v2.1.1 (2016-12-18)

Full Changelog

:question: Unlabelled

v2.1.0 (2016-12-18)

Full Changelog

v2.0.2 (2016-12-18)

Full Changelog

v2.0.1 (2016-12-18)

Full Changelog

v2.0.0 (2016-12-18)

Full Changelog

v1.1.5 (2016-10-23)

Full Changelog

:question: Unlabelled

v1.1.4 (2016-10-23)

Full Changelog

v1.1.3 (2016-10-23)

Full Changelog

v1.1.2 (2016-04-30)

Full Changelog

v1.1.1 (2016-04-30)

:question: Unlabelled