# vueuse/motion

🤹 Vue Composables putting your components in motion

Repository: https://github.com/vueuse/motion
Canonical: https://ross.abutalabs.com/products/vueuse-motion
Homepage: https://motion.vueuse.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: motion, vue, composable, popmotion, popmotion-for-vue, spring, composition-api
Last push: 2025-03-11T08:04:13+00:00

## Health v2 (maintenance only)
Score: 38/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 10, release rhythm 40, longevity 100
- inputs: {"age_days": 2052, "days_push": 540, "days_rel": 541, "gap_med": 0.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2760, forks 94 (observed 2026-08-28T04:07:18.420799+00:00)

## What it is
@vueuse/motion is a Vue animation library providing composables and a v-motion directive for declarative component animations, built on Popmotion and inspired by Framer Motion. It ships 20+ animation presets, SSR support, first-class Nuxt 3 integration, and a lightweight <25kb TypeScript bundle.

## Use cases
- animate vue components on mount
- fade or slide elements into view on scroll
- spring physics animations in vue
- framer motion alternative for vue
- add entrance animations to nuxt 3 app
- declarative animation presets for vue directives
- animate svg and html elements in vue

## When to choose
- you use Vue 3 or Nuxt 3 and want declarative, Framer Motion-style animations
- you want plug-and-play presets like fade, slide, pop, and roll with minimal code
- you need SSR-compatible, lightweight animation via composables and directives

## When to avoid
- you work in React (use Framer Motion or motion.dev instead)
- you need Web Animations API-based animation (motion.dev is recommended by the author)
- you need complex timeline or keyframe orchestration beyond simple transitions and variants

## Facets
- artifact type: library
- maturity: active
- function: animation, frontend-framework, ui-components
- domain: frontend, web-development, web-design
- platform: browser
- tags: vue, composables, framer-motion-inspired, popmotion, spring-animations, nuxt, typescript, ssr-ready, directives, nodejs, web-server

## Member repositories
- vueuse/motion (main) score 38

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:18.420799+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:18:46.365521+00:00, confidence not recorded.
  - readme: https://github.com/vueuse/motion (fetched 2026-08-28T04:07:18.420799+00:00, sha 12b4f7bbbe63)
  - homepage: https://motion.vueuse.org (fetched 2026-08-29T09:56:50.370212+00:00, sha d917c491f315)
  - site_page: https://motion.vueuse.org/getting-started/introduction (fetched 2026-08-29T09:56:50.372769+00:00, sha c64ce63dcb02)
  - site_page: https://motion.vueuse.org/features/presets (fetched 2026-08-29T09:56:50.374652+00:00, sha d0745cd8dfbe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
