rbourdon / motion

Open source, production-ready animation and gesture library for React

Home Page:https://framer.com/motion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Framer Motion

Framer Motion

An open source and production-ready motion
library for React on the web.


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

npm install framer-motion
import { motion } from "framer-motion"

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

๐Ÿ“š Docs

Check out our documentation for guides and a full API reference.

Or checkout our examples for inspiration.

๐Ÿ›  Contribute

Want to contribute to Framer Motion? Our contributing guide has you covered.

๐Ÿ‘ฉ๐Ÿปโ€โš–๏ธ License

Framer Motion is MIT licensed.

Framer

Get on the same page as your designers before production. Get started with design and prototyping in Framer.

About

Open source, production-ready animation and gesture library for React

https://framer.com/motion

License:MIT License


Languages

Language:TypeScript 87.1%Language:HTML 11.5%Language:JavaScript 1.2%Language:Makefile 0.2%Language:Dockerfile 0.1%