react-haru

Declarative animations with spring

Usage no npm install needed!

<script type="module">
  import reactHaru from 'https://cdn.skypack.dev/react-haru';
</script>

README

react-haru

npm Code style: Prettier Donate

Declarative animations with spring

ATTN: This is a fork of react-spring by its former lead maintainer, @aleclarson. This package likely contains less bugs than react-spring and is more actively maintained, since it is backed by a new license that charges for commercial purposes, while non-commercial use remains free, as well as commercial use by teams of 3 or less. Please read the LICENSE.md file for more information.

 

NB: Preliminary documentation is coming soon!

 

react-dom import

import { a, useSpring } from 'react-haru/web'

react-native import

import { a, useSpring } from 'react-haru/native'

Universal import

import { createHost, useSpring } from 'react-haru'