JSPM

framer-motion

11.11.16
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7213612
  • Score
    100M100P100Q215560F
  • License MIT

A simple and powerful JavaScript animation library

Package Exports

  • framer-motion
  • framer-motion/client
  • framer-motion/dom
  • framer-motion/dom/mini
  • framer-motion/m
  • framer-motion/mini
  • framer-motion/package.json
  • framer-motion/projection

Readme

Motion logo

Motion for React


Chat on Discord




Motion for React is an open source, production-ready library that’s designed for all creative developers.

It's the only animation library with a hybrid engine, combining the power of JavaScript animations combined with the performance of native browser APIs.

It looks like this:

<motion.div animate={{ x: 0 }} />

It does all this:

...and a whole lot more.

Get started

πŸ‡ Quick start

Install motion with via your package manager:

npm install motion

Then import the motion component:

import { motion } from "motion/react"

export function Component({ isVisible }) {
    return <motion.div animate={{ opacity: isVisible ? 1 : 0 }} />
}

πŸ’Ž Contribute

πŸ‘©πŸ»β€βš–οΈ License

  • Motion for React is MIT licensed.

✨ Sponsors

Motion is sustainable thanks to the kind support of its sponsors.

Partners

Framer

Motion powers Framer animations, the web builder for creative pros. Design and ship your dream site. Zero code, maximum speed.

Framer

Platinum

Tailwind

Emil Kowalski

Linear

Silver

Frontend.fyi

Statamic

Firecrawl

Personal