motion-v 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/dist/index.js +611 -568
- package/dist/index.umd.cjs +1 -1
- package/dist/nuxt/index.cjs +51 -0
- package/dist/nuxt/index.d.cts +10 -0
- package/dist/nuxt/index.d.mts +10 -0
- package/dist/nuxt/index.mjs +49 -0
- package/dist/src/components/presence.d.ts +1 -1
- package/dist/src/constants/index.d.ts +9 -0
- package/dist/src/features/index.d.ts +1 -0
- package/dist/src/features/svg.d.ts +5 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/types/state.d.ts +1 -2
- package/package.json +23 -1
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<h1 align="center">Motion for Vue</h1>
|
|
2
|
+
|
|
3
|
+
A animation library designed for Vue 3, Powered by [Motion](https://www.framer.com/motion/).
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- 🎨 Declarative Animation API
|
|
8
|
+
- 🔄 Gesture Animation Support
|
|
9
|
+
- 🎯 Full TypeScript Support
|
|
10
|
+
- ⚡️ High Performance Animation
|
|
11
|
+
- 🎭 Variants Animation System
|
|
12
|
+
- 👀 Viewport Animation Trigger
|
|
13
|
+
- 🚪 Enter/Exit Animation Support
|
|
14
|
+
|
|
15
|
+
## 🏎️ Quick start
|
|
16
|
+
Install `motion-v`:
|
|
17
|
+
```bash
|
|
18
|
+
npm install motion-v
|
|
19
|
+
```
|
|
20
|
+
## Basic Usage
|
|
21
|
+
```vue
|
|
22
|
+
<script setup>
|
|
23
|
+
import { Motion } from 'motion-v'
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<template>
|
|
27
|
+
<Motion :animate="{ x: 100 }" />
|
|
28
|
+
</template>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Read the full [docs](https://motion.seacoly.me/).
|