motionwind-vue

Write Motion animations as Tailwind-like classes in Vue 3 — powered by Motion for Vue.
165 203
Install
npm install motionwind-vue
Latest Version:2.1.0
Vue:3
License:MIT
Last Updated:Sep 20, 2026
Links: GitHub  ·  npm
Maintainer: piyush555

motionwind-vue v2

Use the shared Motionwind utility language in Vue 3 and Nuxt through Motion for Vue.

npm install motionwind-vue@2 motion-v @vueuse/core motionwind-core@2

For Vue/Vite, configure the static template transform and install the runtime plugin with the same project config:

import vue from "@vitejs/plugin-vue";
import { createMotionwindTransform } from "motionwind-vue/vite";

vue({
  template: {
    compilerOptions: {
      nodeTransforms: [createMotionwindTransform(config)],
    },
  },
});
import { MotionwindPlugin } from "motionwind-vue";

createApp(App).use(MotionwindPlugin, config).mount("#app");

Static native elements can use plain classes. Dynamic classes and the tested Nuxt integration use the runtime component:

<Motionwind
  as="button"
  class="animate-hover:scale-110 animate-tap:scale-90 animate-spring"
>
  Save
</Motionwind>

Exports include Motionwind, mw, useMotionwind, MotionwindPlugin, adapter capabilities, and the shared parser/config helpers. Continuous animate-scroll:* is not implemented in the Vue adapter and reports a warning; use Motion for Vue's scroll composables directly.

Compatibility: https://motionwind.xyz/docs/compatibility

MIT

Related Packages

hugeicons-animated-vue

Animated Hugeicons for Vue 3. Copy-paste source, or import the components.

1,718 8
@azukisiromochi/vue-mo.js

A small wrapper for integrating mo.js to Vue.js

1,063 4
@any-tdf/vue-motion

Vue motion utilities compatible with Svelte transition, animate, easing, and mot...

563 778
@vueuse/motion

🤹 Vue Composables putting your components in motion

4,446,382 2,768
@yousefkadah/vue-magic-ui

70+ free and open-source animated components for Vue 3, built with Tailwind CSS...

561 2

Version History

Version Released Vue License
2.1.0 ^3.3.0 MIT