---
title: "Home"
description: "A simple component library that adds support for Lottie animations in your Vue 3/Nuxt applications."
canonical_url: "https://vue3-lottie.vercel.app"
---
# Home

> A simple component library that adds support for Lottie animations in your Vue 3/Nuxt applications.

::u-page-hero{class="dark:bg-gradient-to-b from-neutral-900 to-neutral-950" orientation="horizontal"}
#top
  :::hero-background
  :::

#title
Vue 3 [Lottie]{class="text-primary"}

#description
A simple component library that adds support for Lottie animations in your Vue 3 and Nuxt applications.

#links
  :::u-button{size="xl" to="https://vue3-lottie.vercel.app/introduction/installation" trailing-icon="i-lucide-arrow-right"}
  Get started
  :::

  :::u-button{size="xl" to="https://github.com/megasanjay/vue3-lottie" color="neutral" icon="i-simple-icons-github" target="_blank" variant="outline"}
  Open on GitHub
  :::

#default
  :::prose-pre
  ---
  code: |
    <script setup>
    import { Vue3Lottie } from 'vue3-lottie'
    import AstronautJSON from './astronaut.json'
    </script>

    <template>
      <Vue3Lottie :animation-data="AstronautJSON" :height="200" :width="200" />
    </template>
  filename: App.vue
  ---
  ```vue [App.vue]
  <script setup>
  import { Vue3Lottie } from 'vue3-lottie'
  import AstronautJSON from './astronaut.json'
  </script>

  <template>
    <Vue3Lottie :animation-data="AstronautJSON" :height="200" :width="200" />
  </template>
  ```
  :::
::

::u-page-section{class="dark:bg-neutral-950"}
#title
What's included

#features
  :::u-page-feature{icon="i-lucide-square-plus"}
  #title
  Extended API

  #description
  Additional animation options and methods are available.
  :::

  :::u-page-feature{icon="i-simple-icons-typescript"}
  #title
  Typescript Support

  #description
  Native TS support has been provided with this library.
  :::

  :::u-page-feature{icon="i-lucide-mouse-pointer-click"}
  #title
  Easy to use

  #description
  Only a single component with all the props you need.
  :::

  :::u-page-feature{icon="i-lucide-feather" to="https://vue3-lottie.vercel.app/introduction/light-build"}
  #title
  Light build

  #description
  Import from `vue3-lottie/light` for a smaller bundle with no `eval` warning.
  :::

  :::u-page-feature{icon="i-lucide-pointer"}
  #title
  Events

  #description
  Listen for loop, frame and load events emitted by the animation.
  :::

  :::u-page-feature{icon="i-lucide-sparkles" to="https://vue3-lottie.vercel.app/ai/mcp"}
  #title
  AI-ready docs

  #description
  Connect your AI assistant to the built-in MCP server so it can look up props, events and methods while it codes.
  :::
::

::u-page-section{class="dark:bg-gradient-to-b from-neutral-950 to-neutral-900"}
  :::u-page-c-t-a
  ---
  links:
    - label: Get started
      to: https://vue3-lottie.vercel.app/introduction/installation
      trailingIcon: i-lucide-arrow-right
    - label: See the examples
      to: https://vue3-lottie.vercel.app/examples
      variant: subtle
      icon: i-lucide-eye
  class: dark:bg-neutral-950
  description: Install the package, drop in the component and you're done. Every
    prop is documented with a live demo.
  title: Add a Lottie animation in minutes
  ---
    ::::stars-bg
    ::::
  :::
::

## Resources for Agents

- [API catalog: every service document this site publishes](https://vue3-lottie.vercel.app/.well-known/api-catalog)
- [Sitemap (Markdown): every page on the site](https://vue3-lottie.vercel.app/sitemap.md)
- [llms.txt: index of the documentation for LLMs](https://vue3-lottie.vercel.app/llms.txt)
- [llms-full.txt: the full documentation as a single file](https://vue3-lottie.vercel.app/llms-full.txt)


## Sitemap

See the full [sitemap](https://vue3-lottie.vercel.app/sitemap.md) for all pages.
