Skip to content

Commit b6f2132

Browse files
authored
Update README.md
1 parent 38298c4 commit b6f2132

File tree

1 file changed

+79
-65
lines changed

1 file changed

+79
-65
lines changed

packages/framer-motion/README.md

Lines changed: 79 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,46 @@
1-
<p align="center">
2-
<img width="42" height="42" alt="Motion logo" src="https://github.com/user-attachments/assets/00d6d1c3-72c4-4c2f-a664-69da13182ffc" />
3-
</p>
4-
<h1 align="center">Motion for React</h1>
1+
2+
<h1 align="center"> <img width="35" height="35" alt="Motion logo" src="https://github.com/user-attachments/assets/00d6d1c3-72c4-4c2f-a664-69da13182ffc" /><br />Motion for React</h1>
53
<h3 align="center">
6-
An open source, production-ready animation library
4+
An open source animation library<br />for React
75
</h3>
8-
<p align="center">Previously Framer Motion. Also available for <a href="https://github.com/motiondivision/motion/tree/main/packages/motion">JavaScript</a> and <a href="https://github.com/motiondivision/motion-vue">Vue</a></p>
9-
10-
<br>
116

127
<p align="center">
13-
<a href="https://www.npmjs.com/package/framer-motion" target="_blank">
14-
<img src="https://img.shields.io/npm/v/framer-motion.svg?style=flat-square" />
15-
</a>
16-
<a href="https://www.npmjs.com/package/framer-motion" target="_blank">
17-
<img src="https://img.shields.io/npm/dm/framer-motion.svg?style=flat-square" />
18-
</a>
19-
<a href="https://twitter.com/mattgperry" target="_blank">
20-
<img src="https://img.shields.io/twitter/follow/mattgperry.svg?style=social&label=Follow" />
21-
</a>
8+
<a href="https://www.npmjs.com/package/motion" rel="noopener noreferrer nofollow" ><img src="https://img.shields.io/npm/v/motion?color=0368FF&label=version" alt="npm version"></a>
9+
<a href="https://www.npmjs.com/package/motion" rel="noopener noreferrer nofollow" ><img src="https://img.shields.io/npm/dm/framer-motion?color=8D30FF&label=npm" alt="npm downloads per month"></a>
10+
<a target="_blank" rel="noopener noreferrer nofollow" href="https://www.jsdelivr.com/package/npm/motion"><img alt="jsDelivr hits (npm)" src="https://img.shields.io/jsdelivr/npm/hm/framer-motion?logo=jsdeliver&color=FF4FBA"></a>
11+
<img alt="NPM License" src="https://img.shields.io/npm/l/motion?color=FF2B6E">
2212
</p>
2313

24-
<br>
25-
26-
Motion for React is an open source, production-ready library that’s designed for all creative developers.
2714

28-
It's the only animation library with a hybrid engine, combining the power of JavaScript animations with the performance of native browser APIs.
15+
```bash
16+
npm install motion
17+
```
2918

30-
It looks like this:
19+
## Table of Contents
3120

32-
```jsx
33-
<motion.div animate={{ x: 0 }} />
34-
```
21+
1. [Why Motion?](#why-motion)
22+
2. [🍦 Flavours](#-flavours)
23+
3. [🎓 Examples](#-examples)
24+
4. [🎨 Studio](#-studio)
25+
5. [⚡️ Motion+](#-motion)
26+
6. [👩🏻‍⚖️ License](#-license)
27+
7. [💎 Contribute](#-contribute)
28+
8. [✨ Sponsors](#-sponsors)
3529

36-
It does all this:
30+
## Why Motion?
3731

38-
- [Springs](https://motion.dev/docs/react-transitions#spring)
39-
- [Keyframes](https://motion.dev/docs/react-animation#keyframes)
40-
- [Layout animations](https://motion.dev/docs/react-layout-animations)
41-
- [Shared layout animations](https://motion.dev/docs/react-layout-animations#shared-layout-animations)
42-
- [Gestures (drag/tap/hover)](https://motion.dev/docs/react-gestures)
43-
- [Scroll animations](https://motion.dev/docs/react-scroll-animations)
44-
- [SVG paths](https://motion.dev/docs/react-animation#svg-line-drawing)
45-
- [Exit animations](https://motion.dev/docs/react-animation#exit-animations)
46-
- [Server-side rendering](https://motion.dev/docs/react-motion-component#server-side-rendering)
47-
- [Independent transforms](https://motion.dev/docs/react-motion-component#style)
48-
- [Orchestrate animations across components](https://motion.dev/docs/react-animation#orchestration)
49-
- [CSS variables](https://motion.dev/docs/react-animation#css-variables)
32+
Motion is an animation library for making beautiful animations.
5033

51-
...and a whole lot more.
34+
* The **only** library with first‑class APIs for React, JavaScript, **and** Vue.
35+
* Powered by a **hybrid engine** that blends JavaScript flexibility with native browser APIs for **120fps GPU‑accelerated** motion.
36+
* Tiny footprint, tree‑shakable, and fully TypeScript‑typed.
5237

53-
## Get started
38+
## 🍦 Flavours
5439

55-
### 🐇 Quick start
40+
Motion is available for [React](https://motion.dev/docs/react), [JavaScript](https://motion.dev/docs/quick-start) and [Vue](https://motion.dev/docs/vue).
5641

57-
```bash
58-
npm install motion
59-
```
42+
<details>
43+
<summary>React ⬇</summary>
6044

6145
```jsx
6246
import { motion } from "motion/react"
@@ -66,42 +50,72 @@ function Component() {
6650
}
6751
```
6852

69-
Get started with [Motion for React](https://motion.dev/docs/react-quick-start).
53+
Get started with [Motion for React](https://motion.dev/docs/react).
7054

71-
## 🎨 Studio
55+
</details>
7256

73-
![Video of bezier curve editing](https://framerusercontent.com/images/KO5dnHOUSNGb9S73p1J7nLhoFI.gif)
57+
<details>
58+
<summary>JavaScript ⬇</summary>
7459

75-
Motion Studio is a versatile suite of developer tools allowing you to:
60+
```javascript
61+
import { animate } from "motion"
7662

77-
- Visually edit CSS and Motion easing curves in VS Code
78-
- Generate CSS springs with LLMs
79-
- Load Motion docs into your LLM
63+
animate("#box", { x: 100 })
64+
```
8065

81-
Get started with [Motion Studio](https://motion.dev/docs/tools-quick-start).
66+
Get started with [JavaScript](https://motion.dev/docs/quick-start).
67+
68+
</details>
69+
70+
<details>
71+
<summary>Vue ⬇</summary>
72+
73+
```html
74+
<script>
75+
import { motion } from "motion-v"
76+
</script>
77+
78+
<template> <motion.div :animate={{ x: 100 }} /> </template>
79+
```
80+
81+
Get started with [Motion for Vue](https://motion.dev/docs/vue).
82+
83+
</details>
8284

8385
## 🎓 Examples
8486

85-
[Motion Examples](https://examples.motion.dev/react) offers 100s of free and Motion+ examples for beginners and advanced users alike. Easy copy/paste code to kickstart your next project.
87+
[Motion Examples](https://motion.dev/examples) offers 100s of free and Motion+ examples for beginners and advanced users alike. Easy copy/paste code to kick‑start your next project.
8688

8789
## ⚡️ Motion+
8890

89-
[Motion+](https://motion.dev/plus) 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:
90-
91-
- Cursor
92-
- Ticker
93-
- AnimateNumber
94-
- splitText
91+
Learn, Design, Build. [Motion+](https://motion.dev/plus) is a one-time fee, lifetime update membership that provides:
92+
- 160+ premium Motion Examples
93+
- Motion UI features like Cursor and Ticker
94+
- Motion Studio animation editing for VS Code `alpha`
95+
- Early access content
96+
- Private Discord
9597

9698
[Get Motion+](https://motion.dev/plus)
9799

98-
### 💎 Contribute
100+
## 🎨 Studio
99101

100-
- Want to contribute to Motion? Our [contributing guide](https://github.com/motiondivision/motion/blob/master/CONTRIBUTING.md) has you covered.
102+
![Video of bezier curve editing](https://framerusercontent.com/images/KO5dnHOUSNGb9S73p1J7nLhoFI.gif)
101103

102-
### 👩🏻‍⚖️ License
104+
Motion Studio is a versatile suite of developer tools allowing you to:
103105

104-
- Motion for React is MIT licensed.
106+
- Visually edit CSS and Motion easing curves in VS Code
107+
- Generate CSS springs with LLMs
108+
- Load Motion docs into your LLM
109+
110+
Get started with [Motion Studio](https://motion.dev/docs/tools-quick-start).
111+
112+
## 👩🏻‍⚖️ License
113+
114+
- Motion is MIT licensed.
115+
116+
## 💎 Contribute
117+
118+
- Want to contribute to Motion? Our [contributing guide](https://github.com/motiondivision/motion/blob/master/CONTRIBUTING.md) has you covered.
105119

106120
## ✨ Sponsors
107121

@@ -119,11 +133,11 @@ Motion powers Framer animations, the web builder for creative pros. Design and s
119133

120134
### Platinum
121135

122-
<a href="https://tailwindcss.com"><img alt="Tailwind" src="https://github.com/user-attachments/assets/c0496f09-b8ee-4bc4-85ab-83a071bbbdec" width="300px" height="200px"></a> <a href="https://emilkowal.ski"><img alt="Emil Kowalski" src="https://github.com/user-attachments/assets/29f56b1a-37fb-4695-a6a6-151f6c24864f" width="300px" height="200px"></a> <a href="https://linear.app"><img alt="Linear" src="https://github.com/user-attachments/assets/a93710bb-d8ed-40e3-b0fb-1c5b3e2b16bb" width="300px" height="200px"></a>
136+
<a href="https://tailwindcss.com"><img alt="Tailwind" src="https://github.com/user-attachments/assets/c0496f09-b8ee-4bc4-85ab-83a071bbbdec" width="300px" height="200px"></a> <a href="https://linear.app"><img alt="Linear" src="https://github.com/user-attachments/assets/a93710bb-d8ed-40e3-b0fb-1c5b3e2b16bb" width="300px" height="200px"></a>
123137

124138
### Gold
125139

126-
<a href="https://vercel.com"><img alt="Vercel" src="https://github.com/user-attachments/assets/23cb1e37-fa67-49ad-8f77-7f4b8eaba325" width="225px" height="150px"></a> <a href="https://liveblocks.io"><img alt="Liveblocks" src="https://github.com/user-attachments/assets/31436a47-951e-4eab-9a68-bdd54ccf9444" width="225px" height="150px"></a> <a href="https://lu.ma"><img alt="Luma" src="https://github.com/user-attachments/assets/4fae0c9d-de0f-4042-9cd6-e07885d028a9" width="225px" height="150px"></a>
140+
<a href="https://vercel.com"><img alt="Vercel" src="https://github.com/user-attachments/assets/23cb1e37-fa67-49ad-8f77-7f4b8eaba325" width="225px" height="150px"></a> <a href="https://liveblocks.io"><img alt="Liveblocks" src="https://github.com/user-attachments/assets/31436a47-951e-4eab-9a68-bdd54ccf9444" width="225px" height="150px"></a> <a href="https://lu.ma"><img alt="Luma" src="https://github.com/user-attachments/assets/4fae0c9d-de0f-4042-9cd6-e07885d028a9" width="225px" height="150px"></a> <a href="https://emilkowal.ski"><img alt="Emil Kowalski" src="https://github.com/user-attachments/assets/29f56b1a-37fb-4695-a6a6-151f6c24864f" width="300px" height="200px"></a>
127141

128142
### Silver
129143

0 commit comments

Comments
 (0)