
Description
vue3-lottie is a Vue 3 component for showing Lottie animations in Vue 3 and Nuxt 3 applications. It is a wrapper around the lottie-web library with a few extra features. The author wrote it because they could not find a maintained solution for adding Lottie animations to a Vue app. You install it with npm or yarn, and lottie-web comes in automatically as a dependency. The most common setup registers the component globally, and a name option lets you set a custom component name. You can also import it locally in a single component. For TypeScript with Volar type checking, the README gives extra steps. Version 3 adds better TypeScript support and drops the dist/style.css import, so the README asks users of version 2 to follow the migration docs. Nuxt 3 support is marked as experimental. The project has live demos on Vercel, and the source is on GitHub.…
Highlights
- Lottie animations in Vue 3 components
- Wraps lottie-web with extra features
- Global or local registration
- Better TypeScript support in version 3
- Nuxt 3 support, marked experimental
Ratings & Reviews
No ratings yet
Be the first to rate vue3-lottie.
People also visit
vue3-lottie FAQ
What is vue3-lottie?
A Vue 3 component that wraps lottie-web so you can play Lottie animations in your app.
How do I install it?
With npm or yarn. lottie-web is installed automatically as a dependency.
How do I use it?
Register the component globally or import it locally, then use it in your template. The default name is Vue3Lottie.
Does it work with Nuxt?
The README marks Nuxt 3 support as experimental.
I use version 2. What changes?
Version 3 adds better TypeScript support and removes the dist/style.css import, so follow the migration docs.
What are the best vue3-lottie alternatives?
Popular alternatives to vue3-lottie include lottie-web-vue, vue-lottie and vue3-apexcharts. See all vue3-lottie alternatives


















