💫 Make natural animations with springs!
yarn add vue-use-spring
# or
npm install vue-use-spring
import { useSpring } from 'vue-use-spring'
const position = useSpring({ x: 0, y: 0 })
// change position like you would usually
position.x = 100
<p :style="{ transform: `translateX(${position.x}px)` }">I move!</p>
This project was created using the Vue Library boilerplate by posva