framer-motion
TypeScript icon, indicating that this package has built-in type declarations

11.13.1 • Public • Published

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 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 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

Gold

Liveblocks

Silver

Frontend.fyi

Statamic

Firecrawl

Puzzmo

Build UI

Hover

Personal

Package Sidebar

Install

npm i framer-motion

Weekly Downloads

4,555,899

Version

11.13.1

License

MIT

Unpacked Size

3.03 MB

Total Files

365

Last publish

Collaborators

  • kirill.zonov
  • framerjs-owner
  • nvh
  • koenbok
  • lempsink
  • fverloop
  • edomarkets
  • jurrehoutkamp
  • popmotion
  • motifus
  • koenrh
  • aroagb
  • cminardi
  • oscarlsson
  • shuangq
  • melirofman
  • jonastreub
  • ogorter
  • jornvandijk
  • iamakulov
  • benjamindenboer
  • hemlok
  • hunterhcaron
  • heypiotr_f
  • k15a
  • danillouz
  • tom-james-watson
  • arturfortunato
  • ankon
  • serhii.havrylenko
  • anthonyec
  • alecmev-framer
  • coobaha_
  • evandrolg
  • carlosnunez
  • danieladias
  • andrey.ozornin
  • kurtextrem
  • james_at_framer
  • andrey-framer
  • triozer-framer
  • niekert1
  • gasim-framer
  • szymon-framer
  • waraness99
  • kaloyanvi
  • gilmarsquinelato
  • malusoares
  • framer_pablo
  • pedro-martinho
  • nick-framer
  • will_framer
  • xavi-at-framer