---
title: "Motion for Vue and auto-animate · vuejs.school"
description: "Describe an end state and let Motion for Vue animate to it with springs and gestures, keep a leaving element on screen with AnimatePresence, and animate a list with one auto-animate directive and no CSS."
canonical_url: "https://vuejs.school/learn/animation/motion-libraries-and-view-transitions"
meta:
  "og:description": "Describe an end state and let Motion for Vue animate to it with springs and gestures, keep a leaving element on screen with AnimatePresence, and animate a list with one auto-animate directive and no CSS."
  "og:image": "https://vuejs.school/_og/d/a_~TW90aW9uIGZvciBWdWUgYW5kIGF1dG8tYW5pbWF0ZSDCtyB2dWVqcy5zY2hvb2w%2Cc_OgCard.takumi%2Ctitle_Motion%2Bfor%2BVue%2Band%2Bauto-animate%2Cdescription_~RGVzY3JpYmUgYW4gZW5kIHN0YXRlIGFuZCBsZXQgTW90aW9uIGZvciBWdWUgYW5pbWF0ZSB0byBpdCB3aXRoIHNwcmluZ3MgYW5kIGdlc3R1cmVzLCBrZWVwIGEgbGVhdmluZyBlbGVtZW50IG9uIHNjcmVlbiB3aXRoIEFuaW1hdGVQcmVzZW5jZSwgYW5kIGFuaW1hdGUgYSBsaXN0IHdpdGggb25lIGF1dG8tYW5pbWF0ZSBkaXJlY3RpdmUgYW5kIG5vIENTUy4%2Ceyebrow_~QW5pbWF0aW9uIMK3IExlc3NvbiAzIG9mIDQ%2Ctint_sand%2Cp_Ii9sZWFybi9hbmltYXRpb24vbW90aW9uLWxpYnJhcmllcy1hbmQtdmlldy10cmFuc2l0aW9ucyI%2Cs_poPuisgqeOmbuxLs.png"
  "og:image:alt": "Motion for Vue and auto-animate · vuejs.school"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Motion for Vue and auto-animate · vuejs.school"
  "twitter:image": "https://vuejs.school/_og/d/a_~TW90aW9uIGZvciBWdWUgYW5kIGF1dG8tYW5pbWF0ZSDCtyB2dWVqcy5zY2hvb2w%2Cc_OgCard.takumi%2Ctitle_Motion%2Bfor%2BVue%2Band%2Bauto-animate%2Cdescription_~RGVzY3JpYmUgYW4gZW5kIHN0YXRlIGFuZCBsZXQgTW90aW9uIGZvciBWdWUgYW5pbWF0ZSB0byBpdCB3aXRoIHNwcmluZ3MgYW5kIGdlc3R1cmVzLCBrZWVwIGEgbGVhdmluZyBlbGVtZW50IG9uIHNjcmVlbiB3aXRoIEFuaW1hdGVQcmVzZW5jZSwgYW5kIGFuaW1hdGUgYSBsaXN0IHdpdGggb25lIGF1dG8tYW5pbWF0ZSBkaXJlY3RpdmUgYW5kIG5vIENTUy4%2Ceyebrow_~QW5pbWF0aW9uIMK3IExlc3NvbiAzIG9mIDQ%2Ctint_sand%2Cp_Ii9sZWFybi9hbmltYXRpb24vbW90aW9uLWxpYnJhcmllcy1hbmQtdmlldy10cmFuc2l0aW9ucyI%2Cs_poPuisgqeOmbuxLs.png"
  "twitter:image:alt": "Motion for Vue and auto-animate · vuejs.school"
---

> Index of every page on this site: [llms.txt](https://vuejs.school/llms.txt)

# **Motion for Vue and auto-animate**

Describe an end state and let Motion for Vue animate to it with springs and gestures, keep a leaving element on screen with AnimatePresence, and animate a list with one auto-animate directive and no CSS.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://vuejs.school/#website","@type":"WebSite","description":"A free AI-instructed school for Vue.js. Short tutorials, runnable code and quizzes that adapt to you.","name":"vuejs.school","url":"https://vuejs.school/","publisher":{"@id":"https://vuejs.school/#identity"}},{"@id":"https://vuejs.school/learn/animation/motion-libraries-and-view-transitions#webpage","@type":"WebPage","description":"Describe an end state and let Motion for Vue animate to it with springs and gestures, keep a leaving element on screen with AnimatePresence, and animate a list with one auto-animate directive and no CSS.","name":"Motion for Vue and auto-animate","url":"https://vuejs.school/learn/animation/motion-libraries-and-view-transitions","breadcrumb":{"@id":"https://vuejs.school/learn/animation/motion-libraries-and-view-transitions#breadcrumb"},"isPartOf":{"@id":"https://vuejs.school/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://vuejs.school/learn/animation/motion-libraries-and-view-transitions"]}],"primaryImageOfPage":{"@id":"https://vuejs.school/#logo"}},{"@id":"https://vuejs.school/#identity","@type":"Organization","description":"A free AI-instructed school for Vue.js. Short tutorials, runnable code and quizzes that adapt to you.","name":"vuejs.school","url":"https://vuejs.school","logo":{"@id":"https://vuejs.school/#logo"}},{"@id":"https://vuejs.school/learn/animation/motion-libraries-and-view-transitions#article","description":"Describe an end state and let Motion for Vue animate to it with springs and gestures, keep a leaving element on screen with AnimatePresence, and animate a list with one auto-animate directive and no CSS.","headline":"Motion for Vue and auto-animate","inLanguage":"en","isAccessibleForFree":true,"thumbnailUrl":"https://vuejs.school/_og/d/a_~TW90aW9uIGZvciBWdWUgYW5kIGF1dG8tYW5pbWF0ZSDCtyB2dWVqcy5zY2hvb2w%2Cc_OgCard.takumi%2Ctitle_Motion%2Bfor%2BVue%2Band%2Bauto-animate%2Cdescription_~RGVzY3JpYmUgYW4gZW5kIHN0YXRlIGFuZCBsZXQgTW90aW9uIGZvciBWdWUgYW5pbWF0ZSB0byBpdCB3aXRoIHNwcmluZ3MgYW5kIGdlc3R1cmVzLCBrZWVwIGEgbGVhdmluZyBlbGVtZW50IG9uIHNjcmVlbiB3aXRoIEFuaW1hdGVQcmVzZW5jZSwgYW5kIGFuaW1hdGUgYSBsaXN0IHdpdGggb25lIGF1dG8tYW5pbWF0ZSBkaXJlY3RpdmUgYW5kIG5vIENTUy4%2Ceyebrow_~QW5pbWF0aW9uIMK3IExlc3NvbiAzIG9mIDQ%2Ctint_sand%2Cp_Ii9sZWFybi9hbmltYXRpb24vbW90aW9uLWxpYnJhcmllcy1hbmQtdmlldy10cmFuc2l0aW9ucyI%2Cs_poPuisgqeOmbuxLs.png","@type":["Article","TechArticle"],"articleSection":["Animation"],"author":{"@id":"https://vuejs.school/#identity"},"image":{"@id":"https://vuejs.school/#/schema/image/1"},"isPartOf":{"@id":"https://vuejs.school/learn/animation/motion-libraries-and-view-transitions#webpage"},"keywords":["motion-v","\u003Cmotion.div>","\u003CAnimatePresence>","springs","@formkit/auto-animate"],"mainEntityOfPage":{"@id":"https://vuejs.school/learn/animation/motion-libraries-and-view-transitions#webpage"},"publisher":{"@id":"https://vuejs.school/#identity"}},{"@id":"https://vuejs.school/learn/animation/motion-libraries-and-view-transitions#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Skill tree","item":"https://vuejs.school/track","position":1},{"@type":"ListItem","name":"Animation","item":"https://vuejs.school/track/animation","position":2},{"@type":"ListItem","name":"Motion for Vue and auto-animate","position":3}]},{"@id":"https://vuejs.school/#logo","@type":"ImageObject","caption":"vuejs.school","contentUrl":"https://vuejs.school/apple-touch-icon.png","inLanguage":"en","url":"https://vuejs.school/apple-touch-icon.png"},{"@id":"https://vuejs.school/#/schema/image/1","@type":"ImageObject","contentUrl":"https://vuejs.school/_og/d/a_~TW90aW9uIGZvciBWdWUgYW5kIGF1dG8tYW5pbWF0ZSDCtyB2dWVqcy5zY2hvb2w%2Cc_OgCard.takumi%2Ctitle_Motion%2Bfor%2BVue%2Band%2Bauto-animate%2Cdescription_~RGVzY3JpYmUgYW4gZW5kIHN0YXRlIGFuZCBsZXQgTW90aW9uIGZvciBWdWUgYW5pbWF0ZSB0byBpdCB3aXRoIHNwcmluZ3MgYW5kIGdlc3R1cmVzLCBrZWVwIGEgbGVhdmluZyBlbGVtZW50IG9uIHNjcmVlbiB3aXRoIEFuaW1hdGVQcmVzZW5jZSwgYW5kIGFuaW1hdGUgYSBsaXN0IHdpdGggb25lIGF1dG8tYW5pbWF0ZSBkaXJlY3RpdmUgYW5kIG5vIENTUy4%2Ceyebrow_~QW5pbWF0aW9uIMK3IExlc3NvbiAzIG9mIDQ%2Ctint_sand%2Cp_Ii9sZWFybi9hbmltYXRpb24vbW90aW9uLWxpYnJhcmllcy1hbmQtdmlldy10cmFuc2l0aW9ucyI%2Cs_poPuisgqeOmbuxLs.png","inLanguage":"en","url":"https://vuejs.school/_og/d/a_~TW90aW9uIGZvciBWdWUgYW5kIGF1dG8tYW5pbWF0ZSDCtyB2dWVqcy5zY2hvb2w%2Cc_OgCard.takumi%2Ctitle_Motion%2Bfor%2BVue%2Band%2Bauto-animate%2Cdescription_~RGVzY3JpYmUgYW4gZW5kIHN0YXRlIGFuZCBsZXQgTW90aW9uIGZvciBWdWUgYW5pbWF0ZSB0byBpdCB3aXRoIHNwcmluZ3MgYW5kIGdlc3R1cmVzLCBrZWVwIGEgbGVhdmluZyBlbGVtZW50IG9uIHNjcmVlbiB3aXRoIEFuaW1hdGVQcmVzZW5jZSwgYW5kIGFuaW1hdGUgYSBsaXN0IHdpdGggb25lIGF1dG8tYW5pbWF0ZSBkaXJlY3RpdmUgYW5kIG5vIENTUy4%2Ceyebrow_~QW5pbWF0aW9uIMK3IExlc3NvbiAzIG9mIDQ%2Ctint_sand%2Cp_Ii9sZWFybi9hbmltYXRpb24vbW90aW9uLWxpYnJhcmllcy1hbmQtdmlldy10cmFuc2l0aW9ucyI%2Cs_poPuisgqeOmbuxLs.png"}]}
```