# Vue Animation Overview

The KendoVue Animation uses the [`TransitionGroup`](https://v3.vuejs.org/guide/transitions-overview.html#class-based-animations-transitions) component to animate elements which appear, enter, or exit the viewport.

The Kendo UI for Vue Animation component is part of the Kendo UI for Vue library of Vue UI components. It is distributed through NPM under the [kendo-vue-animation package](https://www.npmjs.com/package/@progress/kendo-vue-animation).

<CtaPanelOverview></CtaPanelOverview>

## Basic Usage

The following example demonstrates the Fade, Expand, Push, Reveal, Slide, and Zoom animations in action.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/animation/overview/source.txt)

## Functionality and Features

* [Configuration](https://www.telerik.com/kendo-vue-ui-develop/components/animation/configuration)
* [Types](https://www.telerik.com/kendo-vue-ui-develop/components/animation/types)
* [Disabled animations](https://www.telerik.com/kendo-vue-ui-develop/components/animation/disabled-state)
* [Duration](https://www.telerik.com/kendo-vue-ui-develop/components/animation/duration)
* [Direction](https://www.telerik.com/kendo-vue-ui-develop/components/animation/direction)
* [Customization](https://www.telerik.com/kendo-vue-ui-develop/components/animation/customizing-animations)
* [Appearance](https://www.telerik.com/kendo-vue-ui-develop/components/animation/appearance)

The Push Animations further extend the [`Animation`](https://www.telerik.com/kendo-vue-ui-develop/components/animation/api/animationprops) component, which is commonly inherited by all Animation types, and enable you to stack animations.

## Installation

To initialize the Animation, either:

* [Use the CDN service](https://www.telerik.com/kendo-vue-ui-develop/components/animation#using-cdn), or
* [Use Webpack](https://www.telerik.com/kendo-vue-ui-develop/components/animation#initializing-with-webpack).

### Using CDN

To use the Kendo UI for Vue Animation component with CDN, follow the below steps:

1. Reference the `animation` package.

```sh
  <script src="https://unpkg.com/@progress/kendo-vue-animation@latest/dist/cdn/js/kendo-vue-animation.js"></script>
```

2. Reference one of the Kendo UI themes to style your components.

```sh
    // Load the Kendo Meridian Theme
    <link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-meridian@latest/dist/all.css">

    // Load the Kendo Bootstrap Theme
    <link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-bootstrap@latest/dist/all.css">
    <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">

    // To load the Kendo Material Theme
    <link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-material@latest/dist/all.css">

    // To load the Kendo Fluent Theme
    <link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-fluent@latest/dist/all.css">

    // Load the Kendo Default Theme
    <link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-default@latest/dist/all.css">
```

3. Follow the instructions in [this article](https://www.telerik.com/kendo-vue-ui-develop/components/my-license#installing-or-updating-the-license-key) to activate your product license. You can skip this step if your application already contains a license key.

### Initializing with Webpack

1. Download and install the package. Use Node.js v5.0.0 or later.

   ```sh
   npm install --save @progress/kendo-vue-animation @progress/kendo-licensing
   ```

2. Once installed, import the package module.

   ```jsx
    // ES2015 module syntax
    import { Fade } from '@progress/kendo-vue-animation';
   ```

   ```jsx
   // CommonJS format
   const { Fade } = require('@progress/kendo-vue-animation');
   ```

3. You are required to install one of the Kendo UI themes to style your components. For more information on how to add the styles, refer to the article on [getting started](https://www.telerik.com/kendo-vue-ui-develop/components/getting-started/javascript-composition-api#5-import-the-kendo-ui-for-vue-css-styles).

4. Follow the instructions on the Kendo UI for Vue [My License page](https://www.telerik.com/kendo-vue-ui-develop/components/my-license) to activate your license. You can skip this step if your application already contains a Kendo UI license file.

## Dependencies

The Animation package requires you to install the following [peer dependencies](https://nodejs.org/en/blog/npm/peer-dependencies/) in your application:

* vue 3.0.0\*
* @progress/kendo-licensing

## Support and Learning Resources

* [Animation Homepage](https://www.telerik.com/kendo-vue-ui/animation)
* [API Reference of the Animation](https://www.telerik.com/kendo-vue-ui-develop/components/animation/api)
* [Getting Started with Kendo UI for Vue - JavaScript (Online Guide)](https://www.telerik.com/kendo-vue-ui-develop/components/getting-started/javascript-composition-api)
* [Getting Started with Kendo UI for Vue - TypeScript (Online Guide)](https://www.telerik.com/kendo-vue-ui-develop/components/getting-started/typescript-composition-api)
* [Getting Started with Kendo UI for Vue - JavaScript + Options API (Online Guide)](https://www.telerik.com/kendo-vue-ui-develop/components/getting-started/javascript-options-api)
* [Getting Started with Kendo UI for Vue - TypeScript + Options API (Online Guide)](https://www.telerik.com/kendo-vue-ui-develop/components/getting-started/typescript-options-api)
* [Getting Started with Kendo UI for Vue - Nuxt 3 (Online Guide)](https://www.telerik.com/kendo-vue-ui-develop/components/getting-started/get-started-nuxt-3)
* [Virtual Classroom (Training Course for Registered Users)](https://learn.telerik.com/learn/course/internal/view/elearning/45/kendo-ui-for-vue-with-typescript)
* [Animation Forum](https://www.telerik.com/forums/kendo-ui-vue?searchText=animation)
* [Knowledge Base](https://www.telerik.com/kendo-vue-ui/components/knowledge-base/)
* [Kendo UI Productivity Tools extension for VS Code](https://www.telerik.com/kendo-vue-ui-develop/components/vscode-extension)

## Additional Resources

* [Vue Blogs](https://www.telerik.com/blogs/tag/kendo-ui-for-vue)
* [Kendo UI for Vue Roadmap](https://www.telerik.com/support/whats-new/kendo-vue-ui/roadmap)
