Skip to content

motiondivision/motion-vue

Repository files navigation

Motion logo

Motion for Vue





Motion for Vue is an open source, production-ready library that’s designed for all creative developers.

It's the only animation library with a hybrid engine, combining the power of JavaScript animations with the performance of native browser APIs.

It looks like this:

<motion.div :animate="{ x: 100 }" />

It does all this:

  • Springs
  • Keyframes
  • Layout animations
  • Shared layout animations
  • Gestures (drag/tap/hover)
  • Scroll animations
  • SVG paths
  • Exit animations
  • Server-side rendering
  • Independent transforms
  • Orchestrate animations across components
  • CSS variables

...and a whole lot more.

Get started

🐇 Quick start

Install motion-v via your package manager:

npm install motion-v

Then import the motion component:

<script setup>
import { motion } from "motion-v";
</script>

<template>
  <motion.div :animate="{ x: 100 }" />
</template>

💎 Contribute

👩🏻‍⚖️ License

  • Motion for Vue is MIT licensed.

✨ Sponsors

Motion is sustainable thanks to the kind support of its sponsors.

Partners

Framer

Motion powers Framer animations, the web builder for creative pros. Design and ship your dream site. Zero code, maximum speed.

Framer

Platinum

Syntax.fm Tailwind Emil Kowalski Linear

Gold

Vercel Liveblocks Luma

Silver

Frontend.fyi Statamic Firecrawl Puzzmo Build UI Hover