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

7.2.1 • Public • Published

Framer Motion Icon

Framer Motion

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


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:

  • Springs
  • Keyframes
  • Layout animations
  • Shared layout animations
  • Gestures (drag/tap/hover)
  • SVG paths
  • Exit animations
  • Server-side rendering
  • Orchestrate animations across components
  • CSS variables

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

Package Sidebar

Install

npm i wy-framer-motion

Weekly Downloads

1

Version

7.2.1

License

MIT

Unpacked Size

1.68 MB

Total Files

19

Last publish

Collaborators

  • wangyang2010344