motion

Create declarative UI animations in Vue 3 and Nuxt 4 with motion-v.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/leighayanid/unuxt --skill motion-leighayanid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: motion
Source: https://github.com/leighayanid/unuxt/tree/main/.agents/skills/motion
Command: npx skills add https://github.com/leighayanid/unuxt --skill motion-leighayanid

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a ready-to-use Motion Vue animation toolkit for Vue 3 and Nuxt 4 projects, enabling hardware-accelerated, performant animations with a compact footprint.

Core Features & Use Cases

  • Declarative Motion Component: animate HTML/SVG with motion-v
  • Gesture Animations and Scroll-triggered effects
  • Layout animations and shared element transitions
  • Composables and utilities: useMotionValue, useSpring, useTransform, useScroll, useInView, useAnimationFrame, and animate
  • Use Case: rapidly add engaging UI transitions and micro-interactions across pages and components in Nuxt apps

Quick Start

Install motion-v in your project and configure Nuxt to load the motion-v/nuxt module. Then use <motion.div> (and other motion components) in templates to start animating elements.

Frequently Asked Questions about motion

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

FAQPage Schema
How do I animate Vue components declaratively in a Nuxt application?

You can animate Vue components declaratively by installing motion-v and configuring the Nuxt module. This lets you use <motion.div> and other motion components directly in templates to build hardware-accelerated UI animations.

What is the best way to add scroll-triggered animations and gestures in Vue 3?

The best way to add scroll-triggered animations and gestures in Vue 3 is using composables like useScroll and useInView. These utilities from the motion-v toolkit enable interactive scroll effects and gesture-driven micro-interactions.

Can I use motion-v to create layout transitions across Nuxt routes?

Yes, you can use motion-v to create layout transitions across Nuxt routes. It supports layout animations and shared element transitions, allowing smooth visual continuity as users navigate between different pages.

Do I need any external dependencies to build performant UI animations with this Vue toolkit?

No external dependencies are required to build performant UI animations with this Vue toolkit. The Skill provides the motion-v library, Nuxt module integration, and composables as a self-contained package with a compact footprint.

How do composables like useSpring and useTransform work for Vue animations?

Composables like useSpring and useTransform work by exposing reactive motion values that you can bind to component styles. They translate raw scroll or gesture inputs into smooth, interpolated animation outputs for Vue templates.

Does this animation approach support both HTML and SVG elements in Vue templates?

Yes, this declarative motion approach supports both HTML and SVG elements in Vue templates. You apply motion components directly to your markup to animate graphics and standard document elements seamlessly.