framer-motion

A simple and powerful JavaScript animation library

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
framer-motion
22,06418111.1.76 days ago5 years agoMinified + gzip package size for framer-motion in KB

Readme

Framer Motion Icon

Framer Motion

An open source motion library for React, made by Framer.

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


<img src="https://framerusercontent.com/images/atXqxn4JhKm4LXVncdNjkKV7yCU.png" width="140" alt="Start for free" />


<img src="https://framerusercontent.com/images/pMSOmGP2V8sSaZRV2D7i4HTBTe4.png" width="1000" alt="Framer Banner" />




<img src="https://img.shields.io/npm/v/framer-motion.svg?style=flat-square" />
Chat on Discord






Framer Motion is an open source, production-ready library that’s designed for all creative developers.
It looks like this:
<motion.div animate={{ x: 0 }} />

It does all this:

...and a whole lot more.

Get started

πŸ‡ Quick start

Install framer-motion with via your package manager:
npm install framer-motion

Then import the motion component:
import { motion } from "framer-motion"

export const MyComponent = ({ isVisible }) => (
    <motion.div animate={{ opacity: isVisible ? 1 : 0 }} />
)

πŸ“š Docs

πŸ’Ž Contribute

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

  • Framer Motion is MIT licensed.

✨ Framer