Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/unovue/motion-vue

A animation library for Vue
https://github.com/unovue/motion-vue

animation framer-motion motion motion-vue vue

Last synced: 5 days ago
JSON representation

A animation library for Vue

Awesome Lists containing this project

README

        

![Group 1171276039](https://github.com/user-attachments/assets/646e3a57-1fe8-42e1-8508-6a0504d3d4b6)

An animation library designed for Vue 3, powered by [Motion](https://www.framer.com/motion/).

## Features
- ✨ Declarative animation API for intuitive control
- 👋 Gesture-driven animations for interactive experiences
- ⚙ Motion values for dynamic animations
- 🔲 Layout animations and transitions
- 🚪 Polished enter/exit animations
- 📜 Smooth scroll-based animations and effects

## 🏎️ Quick Start
To install `motion-v`, run the following command:
```bash
npm install motion-v
```

## Basic Usage
Here is a basic example of how to use `motion-v` in your Vue 3 project:

```vue

import { Motion } from 'motion-v'

```

### Advanced Usage
For more advanced usage, you can combine multiple animations and gestures:

```vue

import { Motion } from 'motion-v'
import { ref } from 'vue'

const isVisible = ref(true)

```

In this example, the `Motion` component will fade in and move to the right when it appears, and fade out and move to the left when it disappears. Clicking the component will toggle its visibility.

For detailed documentation, please refer to the [full documentation](https://motion.seacoly.me/).

## Contributing
We welcome contributions from the community. Please refer to the [CONTRIBUTING.md](./CONTRIBUTING.md) file for guidelines on how to contribute to this project. Your contributions are invaluable in helping us improve and grow.