Home
Softono

Svelte Motion

Open source MIT JavaScript
659
Stars
15
Forks
20
Issues
10
Watchers
2 years
Last Commit

 About Svelte Motion

An animation library for Svelte based on framer-motion.

Platforms

Web Self-hosted

Languages

JavaScript

Need Help Installing Svelte Motion?

We provide expert installation service for this software. Our team will install, configure, and secure Svelte Motion on your server. plans start at just $30.

Svelte Motion

View on GitHub

Svelte Motion

An animation library based on framer-motion.

Visit Project Page

Installation

npm install --save-dev svelte-motion

Usage

Corresponding to a MotionDiv in framer-motion is this:

import { Motion } from 'svelte-motion'

<Motion let:motion><div use:motion/></Motion>

For svg elements like 'g', 'path' or 'circle', use:

<Motion let:motion isSVG><g use:motion/></Motion>