vue-use-spring
vue-use-spring

💫 Make natural animations with springs!
Installation
yarn add vue-use-spring
# or
npm install vue-use-spring
Usage
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>
API
Related
License
Related Packages
@sweberdev/lagrangian-vue
Vue 3 composables for Lagrangian: physical springs, draggable elements with iner...
0
0
@rafaelaugusto/jolt
Native animations for NativeScript: presets, springs, keyframes and stagger in o...
791
4
@sweberdev/sigmoid-vue
Vue 3 directives and composables for Sigmoid: v-reveal, v-parallax, useScrollPro...
190
0
Version History
| Version | Released | License |
|---|---|---|
| 0.3.3 | MIT | |
| 0.3.2 | MIT | |
| 0.3.1 | MIT | |
| 0.3.0 | MIT | |
| 0.2.1 | MIT | |
| 0.2.0 | MIT | |
| 0.1.1 | MIT | |
| 0.1.0 | MIT | |
| 0.0.2 | MIT | |
| 0.0.1 | MIT | |
| 0.0.0 | MIT |