motion

Complete Motion.dev documentation - modern animation library for React, JavaScript, and Vue (formerly Framer Motion)

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "motion" with this command: npx skills add leonaaardob/lb-motion-skill/leonaaardob-lb-motion-skill-motion

Motion.dev Documentation

Motion is a modern animation library for React, JavaScript, and Vue. It's the evolution of Framer Motion, offering:

  • Tiny size: Just 2.3kb for the mini HTML/SVG version
  • High performance: Hardware-accelerated animations
  • Flexible: Animate HTML, SVG, WebGL, and JavaScript objects
  • Easy to use: Intuitive API with smart defaults
  • Spring physics: Natural, kinetic animations
  • Scroll animations: Link values to scroll position
  • Gestures: Drag, hover, tap, and more

Quick Reference

Installation

npm install motion

Basic Animation

import { animate } from "motion"

// Animate elements
animate(".box", { rotate: 360, scale: 1.2 })

// Spring animation
animate(element, { x: 100 }, { type: "spring", stiffness: 300 })

// Stagger multiple elements
animate("li", { opacity: 1 }, { delay: stagger(0.1) })

React

import { motion } from "motion/react"

<motion.div
  animate={{ rotate: 360 }}
  transition={{ duration: 2 }}
/>

Scroll Animations

import { scroll } from "motion"

scroll(animate(".box", { scale: [1, 2, 1] }))

Documentation Structure

  • quick-start.md - Installation and first animation
  • More docs to be added...

When to Use This Skill

Use this skill when:

  • Implementing animations in web applications
  • Optimizing animation performance
  • Creating scroll-based effects
  • Building interactive UI with gestures
  • Migrating from Framer Motion to Motion

External Resources

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Motion.dev Complete Documentation

Complete Motion.dev documentation - modern animation library for React, JavaScript, and Vue (formerly Framer Motion)

Registry SourceRecently Updated
1.4K3Profile unavailable
Coding

Vue Component Generator

生成 Vue 3 组件模板,支持 Composition API、Options API、TypeScript、SFC 单文件组件,一键生成完整 Vue 组件代码。

Registry SourceRecently Updated
2590Profile unavailable
Coding

React Component Generator

生成 React 组件模板,支持 Function Component, Class Component, Hooks, TypeScript,一键生成完整组件代码。

Registry SourceRecently Updated
3400Profile unavailable
Coding

ESLint Config Generator

生成专业的 ESLint 配置,支持 React, Vue, TypeScript, Airbnb, Standard 等主流规范,一键配置代码规范。

Registry SourceRecently Updated
1800Profile unavailable