Skip to content

lottie-web-vueLottie animations for Vue 3

Play Airbnb Lottie-web animations exported from After Effects with a single Vue component. TypeScript-ready, SSR-safe, 21 kB.

See it running

vue
<script setup lang="ts">
import { LottieAnimation } from "lottie-web-vue"
import WatermelonJSON from "./assets/watermelon.json"
</script>

<template>
  <LottieAnimation :animation-data="WatermelonJSON" :auto-play="true" :loop="true" />
</template>

Install it:

bash
npm install lottie-web-vue
bash
yarn add lottie-web-vue
bash
pnpm add lottie-web-vue

Released under the MIT License.