motion

Provide declarative animations, gesture effects, and scroll-linked transitions for Vue 3 and Nuxt 3.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/LuXDAmore/experiments --skill motion-luxdamore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: motion
Source: https://github.com/LuXDAmore/experiments/tree/main/.agents/skills/motion
Command: npx skills add https://github.com/LuXDAmore/experiments --skill motion-luxdamore

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires vue, nuxt, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of creating animations in Vue applications, offering a simple and powerful way to add motion and interactivity without complex JavaScript.

Core Features & Use Cases

  • Declarative Animations: Leverage Vue's reactivity system to create animations with minimal code.
  • Gesture Animations: Add interactive gestures like hover, tap, and drag to your components.
  • Scroll-Linked Effects: Create animations that trigger based on scroll position.
  • Layout Transitions: Smoothly transition between layouts and shared elements.
  • Composables: Use composable functions for reusable animation logic.
  • Use Case: If you're building a Vue app with dynamic content and want to add engaging animations without writing extensive JavaScript, Motion Vue is a great choice.

Quick Start

Install Motion Vue and use the motion component to animate a div: import { motion } from 'motion-v'; <motion.div>Animated content</motion.div>

Frequently Asked Questions about motion

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Vue 3 animations without writing complex JavaScript?

You can add Vue 3 animations declaratively using the Motion Vue library, which leverages Vue's reactivity system to create animations with minimal code. Import the motion component and wrap your elements to apply motion effects without writing complex JavaScript.

How do I create scroll-linked effects and gesture animations in a Nuxt application?

You can create scroll-linked effects and gesture animations in a Nuxt application using Motion Vue. It provides built-in support for interactive gestures like hover, tap, and drag, and allows you to trigger animations based on scroll position within your Vue 3 or Nuxt 3 environment.

Does the Motion Vue library support shared layout transitions?

Yes, the Motion Vue library supports shared layout transitions. It allows you to smoothly transition between layouts and shared elements in your Vue application, enhancing user experience during dynamic content changes with declarative syntax.

What are the requirements to set up Motion Vue for layout transitions and composables?

Setting up Motion Vue for layout transitions and composables requires Vue 3 and Nuxt 3. The library provides a minimal bundle size approach to integrate declarative animations and reusable composable functions for animation logic within your Vue environment.

What is the best way to reuse animation logic across different Vue components?

The best way to reuse animation logic across Vue components is by using composable functions. Motion Vue provides composables that let you extract and reuse animation logic, ensuring consistent declarative animations and gesture interactions throughout your Vue 3 application.