Getting Started with KendoReact Animation

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

The KendoReact Animation component is part of the KendoReact library of React UI components. It is distributed through NPM under the kendo-react-animation package.

The Animation Package is part of KendoReact, a professionally built commercial UI library. To try out this Animation you need to sign up for a 30-day trial, which gives you access to the full KendoReact library.


Basic Usage

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

Example
View Source
Edit In Stackblitz  
Change Theme:

Functionality and Features

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

Installation

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

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

     // ES2015 module syntax
     import { Fade } from '@progress/kendo-react-animation';
    // CommonJS format
    const { Fade } = require('@progress/kendo-react-animation');
  3. You are required to install one of the KendoReact themes to style your components. For more information on how to add the styles, refer to the article on getting started.

  4. Follow the instructions on the KendoReact My License page to activate your license. You can skip this step if your application already contains a KendoReact license file.

Dependencies

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

  • react 16.8.2*
  • react-dom
  • @progress/kendo-licensing