# Animations

The Telerik UI Window for ASP.NET MVC allows you to customize the animation effects upon display via the [`Animation()`](https://www.telerik.com/aspnet-mvc/documentation/api/kendo.mvc.ui.fluent/windowbuilder#animationsystemboolean) configuration option.

The Following example demonstrates how you can configure the [Animation effects](https://www.telerik.com/aspnet-mvc/documentation/api/Kendo.Mvc.UI/EffectsBuilder) for the Window:

```Razor HtmlHelper
@(Html.Kendo().Window()
    .Name("window")
    .Title("Window")
    .Animation(animation =>
    {
        animation.Open(open =>
        {
            open.Zoom(ZoomDirection.In);
            open.Fade(FadeDirection.In);
            open.Duration(500);
        });

        animation.Close(close =>
        {
            close.Reverse(false);
            close.Zoom(ZoomDirection.Out);   
            close.Fade(FadeDirection.In);
        });
    })
    .Content("Window Content")
)
```

## See Also

* [Adding Animation Effects to the Window (Demo)](https://demos.telerik.com/aspnet-mvc/window/animation)
* [Server-Side API of the Telerik UI Window for ASP.NET MVC](https://www.telerik.com/aspnet-mvc/documentation/api/window)
* [JavaScript API Reference of the Window](https://docs.telerik.com/kendo-ui/api/ui/window)
