Motion: A Modern Animation Library for React, JavaScript, and Vue
This repository profile is provided by osrepos.com, an open source repository discovery platform.
Summary
Motion is a powerful open-source animation library designed for JavaScript, React, and Vue applications. It offers a simple API, a hybrid engine for 120fps GPU-accelerated animations, and a comprehensive suite of features including gestures, springs, and layout transitions. Developers can leverage Motion to create production-ready, high-performance animations with a tiny footprint.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Motion is a modern, open-source animation library for JavaScript, React, and Vue, designed to bring high-performance, GPU-accelerated animations to your web applications. Formerly known as Framer Motion, this library provides a simple yet powerful API for creating fluid and engaging user interfaces. With over 31,000 stars on GitHub, Motion is a widely adopted solution for developers looking to enhance their projects with sophisticated animations.
Installation
Getting started with Motion is straightforward. You can install it via npm for your React/JavaScript or Vue projects.
# For React / JavaScript projects
npm install motion
# For Vue projects
npm install motion-v
Examples
Motion offers extensive documentation and a rich collection of examples to help you integrate animations into your projects.
React Example
import { motion } from "motion/react"
function Component() {
return <motion.div animate={{ x: 100 }} />
}
Get started with Motion for React.
JavaScript Example
import { animate } from "motion"
animate("#box", { x: 100 })
Get started with Motion for JavaScript.
Vue Example
<script>
import { motion } from "motion-v"
</script>
<template> <motion.div :animate="{ x: 100 }" /> </template>
Get started with Motion for Vue.
You can browse over 330 official examples, many of which include step-by-step tutorials.
Why Use Motion?
Motion stands out for several compelling reasons:
- Simple API: It provides first-class packages for React, JavaScript, and Vue, making it easy to integrate into your preferred framework.
- Hybrid Engine: Combining the power of JavaScript with native browser APIs, Motion delivers 120fps, GPU-accelerated animations for smooth performance.
- Production-Ready: Built with TypeScript, an extensive test suite, tree-shakable architecture, and a tiny footprint, Motion is optimized for production environments.
- Batteries Included: The library comes packed with features like gestures, springs, layout transitions, scroll-linked effects, and timelines, offering a complete animation toolkit.
Links
- GitHub Repository: motiondivision/motion
- Official Documentation: motion.dev
- Examples: motion.dev/examples
- Tutorials: motion.dev/tutorials
- Motion+ (Premium Features): motion.dev/plus
Related repositories
Similar repositories that may be relevant next.

animate.css: Effortless CSS Animations for Your Web Projects
February 25, 2026
animate.css is a highly popular, cross-browser library offering a wide array of ready-to-use CSS animations. It simplifies adding dynamic visual effects to web elements with minimal effort, making web development more engaging. This library is celebrated for its ease of integration and extensive collection of animation styles.

Theatre.js: Motion Design Editor for High-Fidelity Web Animations
February 3, 2026
Theatre.js is a powerful animation library and motion design editor for the web, enabling the creation of high-fidelity and intricate motion graphics. It offers both programmatic and visual approaches to design detailed animations for 3D objects, HTML/SVG elements, and generative art. This tool is ideal for developers and designers looking to achieve nuanced and expressive web animations.
Motion-Primitives: Build Beautiful, Animated UI Interfaces Faster
January 29, 2026
Motion-Primitives is an open-source UI kit designed to help developers and designers create beautiful, animated interfaces with speed and ease. It leverages Framer Motion and Tailwind CSS to provide a collection of customizable components. This project aims to simplify the development of engaging user experiences with pre-built motion primitives.
Fancy: Animated React Components for Engaging UIs
November 28, 2025
Fancy is an open-source library offering a growing collection of animated React components and microinteractions. It aims to make web interfaces more engaging and fun for users. Built with TypeScript and leveraging Framer Motion, Fancy provides ready-to-use UI elements for modern web development.
Source repository
Open the original repository on GitHub.
19 counted GitHub visits