@any-tdf/vue-motion

Vue motion utilities compatible with Svelte transition, animate, easing, and motion APIs.
563 778
Install
npm install @any-tdf/vue-motion
Latest Version:0.0.1
Vue:3
License:MIT
Last Updated:Oct 19, 2026
Links: GitHub  ·  npm
Maintainer: dufu1991

@any-tdf/vue-motion

@any-tdf/vue-motion is an independent Vue animation toolkit used by VTDF. It provides Vue bindings and framework-neutral functions modeled after Svelte easing, transition, animate, and motion APIs.

Install

bun add @any-tdf/vue-motion vue

Vue is required for the Vue bindings. The easing and transition functions can be imported independently.

Usage

<script setup lang="ts">
import { Transition } from '@any-tdf/vue-motion/vue';
</script>

<template>
	<Transition :visible="true" transition="fly" :params="{ y: 24, duration: 300 }">
		<div>Content</div>
	</Transition>
</template>
import { cubicOut } from '@any-tdf/vue-motion/easing';
import { spring } from '@any-tdf/vue-motion/motion';

Public modules

  • @any-tdf/vue-motion/easing: easing functions.
  • @any-tdf/vue-motion/transition: transition functions.
  • @any-tdf/vue-motion/animate: FLIP animation helpers.
  • @any-tdf/vue-motion/motion: spring and tweened values.
  • @any-tdf/vue-motion/vue: Vue components and composables.

Development

The bilingual documentation app lives beside the package source in packages/vue-motion/docs.

bun run --filter @any-tdf/vue-motion check
bun run --filter @any-tdf/vue-motion test
bun run --filter @any-tdf/vue-motion build
bun run --filter @any-tdf/vue-motion-site dev

Links

License

@any-tdf/vue-motion is released under the MIT License.

Related Packages

@morev/vue-transitions

Shareable Vue transitions library

412,603 222
vue-starport

Shared Vue component across routes with animations

57,522 1,949
vue-transition-components

Transition component collection of Vue.js

1,507 9
animation-list

Animation rendering based on Vue3 list elements (supports animation callbacks)

1,135 1

Version History

Version Released Vue License
0.0.1 ^3.5.0 MIT
Pre-releases (2)
Version Released Vue License
0.0.0-alpha.3 ^3.5.0 MIT
0.0.0-alpha.1 ^3.5.0 MIT