AnimeJS v4 for Nuxt and Vue
Anime.js composables for Nuxt
Use AnimeJS functions and utilities directly in component setup without using onMounted and other lifecycle hooks.
Animate with ease
Simple, declarative animation definitions
Call a composable, with the template ref as your target, and bind your animation params
app.vue Show on GitHub
Preview
Drop in transitions
Drop in Transition and TransitionGroup components
Easily add flare and style to your transitions
app.vue Show on GitHub
What's in the box?
Ten composables, three components
A composable for each AnimeJS API, an experimental native timeline, and components that animate v-if, v-for and layout changes
useAnimateAnimate elements using refs, CSS targets with dynamic properties and keyframesuseWaapiAnimateAnimate with the Web Animations API for simple animations off the main threaduseAnimatableSmoothly follow a changing value, like a cursor or a meteruseAnimeTimelineSequence several animations on one timelineuseWaapiTimelineSequence CSS tweens on the browser's own animation clock (experimental)useSplitTextSplit text into characters, words or lines, then animate each pieceuseScrambleTextScramble text into a new stringuseDraggableMake elements draggable, with snapping, release physics and boundsuseAnimeScrollDrive an animation from scroll progressuseAnimeLayoutAnimate elements to their next layout when a property or dependency changes<AnimeTransition />Animate elements entering and leaving with
All composablesv-if and v-show<AnimeTransitionGroup />Animate list items entering, leaving and moving in a v-for<AnimeLayoutGroup />A component form of useAnimeLayout that animates its children's layout changesAI agents
Built for AI agents
Install the agent skill or connect the MCP server to improve code writing and performance
Agent skillTeaches your coding agent the composables and transition components. Install:Docs MCP serverLets your agent search these docs on its own. Connect:
Use with AI agentsnpx skills add astraldev/nanime --skill nanime
claude mcp add --transport http nanime https://nanimejs.netlify.app/mcp