Getting Started with Kendo UI for Vue Animation

The KendoVue Animation uses the TransitionGroup component to animate elements which appear, enter, or exit the viewport.

The KendoVue 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.

Basic Usage

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

Example
View Source
Change Theme:

Functionality and Features

The Push Animations further extend the Animation component, which is commonly inherited by all Animation types, and enable you to stack animations.

Installation

To initialize the Animation, either:

Using CDN

You need to reference the animation package, in order to be able to use the Kendo Native Animation for Vue.

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

Initializing with Webpack

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

    npm install --save @progress/kendo-vue-animation
  2. Once installed, import the package module.

     // ES2015 module syntax
     import { Fade } from '@progress/kendo-vue-animation';
    // 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.

Dependencies

The Animation package requires you to install the following peer dependencies in your application:

  • vue 2.6.11 and 3.0.0