motion
Complete Motion.dev documentation - modern animation library for React, JavaScript, and Vue (formerly Framer Motion)
Why use this skill?
Learn how to use the OpenClaw Motion skill to implement high-performance animations, scroll effects, and gesture interactions in React and JavaScript projects.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/leonaaardob/lb-motion-skillWhat This Skill Does
The Motion skill enables OpenClaw to leverage the Motion.dev library (formerly Framer Motion) for advanced UI animations. It acts as an abstraction layer for modern web animation, allowing you to generate performant, hardware-accelerated code for React, JavaScript, and Vue environments. Whether you need simple transitions, physics-based spring animations, scroll-linked progress indicators, or gesture-based interactions like drag and hover, this skill provides the underlying syntax and structural patterns required to implement them seamlessly into your web projects.
Installation
To integrate this skill into your OpenClaw environment, use the following CLI command:
clawhub install openclaw/skills/skills/leonaaardob/lb-motion-skill
Once installed, ensure your project environment has the core library available via npm install motion so the generated code can interface with the runtime correctly.
Use Cases
This skill is highly effective for developers looking to enhance user experience through motion design. Use it to:
- Create highly performant UI feedback loops (e.g., hover states, button feedback).
- Implement complex scroll-triggered animations where site elements react to user progress.
- Migrate legacy animation libraries like Framer Motion to the updated Motion.dev API.
- Design kinetic, physics-based interactions that feel organic rather than robotic.
Example Prompts
- "OpenClaw, generate a Motion.dev script that rotates a div 360 degrees when it enters the viewport while scrolling."
- "Help me rewrite this legacy Framer Motion animation into the new Motion.dev React API format."
- "Create a staggered reveal animation for a list of items using the Motion.dev stagger utility."
Tips & Limitations
- Performance: Always prioritize GPU-accelerated properties like
transformandopacityto maintain 60fps. - Dependencies: Ensure your React or Vue project is compatible with the latest Motion.dev peer dependencies.
- Complexity: While Motion handles high-level animation well, avoid over-animating every UI element, as this can lead to accessibility issues and user fatigue.
- Scope: This skill facilitates the writing of animation code; it does not replace the need for CSS or component structural knowledge. Always verify that your target elements have appropriate CSS positioning for layout animations to function as expected.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-leonaaardob-lb-motion-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
frontend-design
Generates production-ready UI components from natural language. Use when the user asks to design a component, create a button, build a form, prototype a layout, or generate React/Tailwind CSS code. NOT for: backend logic, API design, database schema, or non-UI tasks.
axure-prototype-generator
Axure 原型代码生成器 - 输出 JavaScript 格式 HTML 代码,支持内联框架直接加载可交互原型。
opentangl
Not a code generator — an entire dev team. You write the vision, it ships the code. Autonomous builds, PRs, reviews, and merges across multiple repos. Point it at any JS/TS project and a product vision. It plans features, writes code, verifies builds, creates PRs, reviews diffs, and merges — autonomously. Manages multiple repos as one product. Use when you want to ship code without writing it. AI code generation, autonomous development, workflow automation, multi-repo orchestration, TypeScript, JavaScript, GitHub, OpenAI, Anthropic, Claude, GPT, LLM, devtools, CI/CD, pull requests, code review.
video-director
知识类短视频画面规划技能。将枯燥文字转化为高吸引力、高信息密度的图文动画短视频画面,包含名词视觉化和入场动画设计。输出标准JSON格式分镜表供video-producer使用,也可独立使用。
react-best-practices
Audits React code for performance, bundle size, and best practices. Use when reviewing React code, auditing bundle size, finding performance issues, checking React 18+ patterns, or evaluating a React codebase. NOT for: non-React projects, backend Node.js code, or CSS-only reviews.