@visx/react-spring

visx primitives that rely on react-spring for animation

Usage no npm install needed!

<script type="module">
  import visxReactSpring from 'https://cdn.skypack.dev/@visx/react-spring';
</script>

README

@visx/react-spring

Although visx is largely unopinioned on animation, there is value in abstracting the complexity + boilerplate of building animated visx visualization components. This package requires react-spring as a peerDependency (to be compatible with any usage within your app) and exports all visx components that depend on react-spring.

react-spring provides performant primitives for animating react components and is our recommended library for making animated charts. In order to minimize react-spring as a dependency across other visx packages, we've consolidated components which depend on it here.

Installation

npm install --save react-spring @visx/react-spring