Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/micha-lmxt/svelte-motion
An animation library for Svelte based on framer-motion.
https://github.com/micha-lmxt/svelte-motion
animation framer-motion svelte
Last synced: about 1 month ago
JSON representation
An animation library for Svelte based on framer-motion.
- Host: GitHub
- URL: https://github.com/micha-lmxt/svelte-motion
- Owner: micha-lmxt
- License: mit
- Created: 2021-03-27T19:41:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-20T03:23:03.000Z (6 months ago)
- Last Synced: 2024-10-05T03:32:44.756Z (about 1 month ago)
- Topics: animation, framer-motion, svelte
- Language: JavaScript
- Homepage: https://svelte-motion.gradientdescent.de
- Size: 2.98 MB
- Stars: 565
- Watchers: 9
- Forks: 12
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Svelte Motion
An animation library based on [framer-motion](https://www.framer.com/motion/).
[Visit Project Page](https://svelte-motion.gradientdescent.de)
## Installation
```bash
npm install --save-dev svelte-motion
```## Usage
Corresponding to a `MotionDiv` in framer-motion is this:
```javascript
import { Motion } from 'svelte-motion'
```
For svg elements like 'g', 'path' or 'circle', use:```javascript
```