https://github.com/posva/vue-use-spring
💫 Naturally fluid animations for Vue
https://github.com/posva/vue-use-spring
animation physics vue
Last synced: 8 months ago
JSON representation
💫 Naturally fluid animations for Vue
- Host: GitHub
- URL: https://github.com/posva/vue-use-spring
- Owner: posva
- License: mit
- Created: 2020-10-02T13:19:37.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-09-29T05:27:06.000Z (9 months ago)
- Last Synced: 2025-09-29T07:16:52.458Z (9 months ago)
- Topics: animation, physics, vue
- Language: TypeScript
- Homepage:
- Size: 1.98 MB
- Stars: 94
- Watchers: 2
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/funding.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# vue-use-spring [](https://www.npmjs.com/package/vue-use-spring) [](https://github.com/posva/vue-use-spring/actions/workflows/ci.yml)
> 💫 Make natural animations with springs!
## Installation
```sh
yarn add vue-use-spring
# or
npm install vue-use-spring
```
## Usage
```js
import { useSpring } from 'vue-use-spring'
const position = useSpring({ x: 0, y: 0 })
// change position like you would usually
position.x = 100
```
```vue
I move!
```
## API
## Related
## License
[MIT](http://opensource.org/licenses/MIT)