Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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

```