包详细信息

framer-motion

motiondivision35.4mMIT12.23.0

A simple and powerful JavaScript animation library

react animation, react, pose, react pose

自述文件

Motion logo

Motion for React

An open source, production-ready animation library

Previously Framer Motion. Also available for JavaScript and Vue



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

npm install motion
import { motion } from "motion/react"

function Component() {
    return <motion.div animate={{ x: 100 }} />
}

Get started with Motion for React.

🎨 Studio

Video of bezier curve editing

Motion Studio is a versatile suite of developer tools allowing you to:

  • Visually edit CSS and Motion easing curves in VS Code
  • Generate CSS springs with LLMs
  • Load Motion docs into your LLM

Get started with Motion Studio.

🎓 Examples

Motion Examples offers 100s of free and Motion+ examples for beginners and advanced users alike. Easy copy/paste code to kickstart your next project.

⚡️ Motion+

Motion+ is a one-time fee, lifetime membership that unlocks over 100 premium examples, early access, powerful Studio tools, a private Discord, and exclusive APIs like:

  • Cursor
  • Ticker
  • AnimateNumber
  • splitText

Get Motion+

💎 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

Vercel Liveblocks Luma

Silver

Frontend.fyi Firecrawl Puzzmo Build UI

Personal