# Animations

The ActionSheet in [adaptive mode](https://www.telerik.com/aspnet-mvc/documentation/api/kendo.mvc.ui.fluent/actionsheetbuilder#adaptivesystemboolean) supports opening and closing animations.

By default, the ActionSheet animations are disabled, and the component opens and closes instantly.

You can modify the opening and closing animations through the `Open` and `Close` options of the `Animation` configuration. These properties are effective only when the `Adaptive` mode is enabled.

The following example demonstrates how to specify animation effects with duration when the ActionSheet opens and closes.

```Razor HtmlHelper
    @(Html.Kendo().ActionSheet()
        .Name("actionsheet")
        .Title("Select item")
        .Animation(animation =>
        {
            animation.Enable(true);
            animation.Open(config =>
            {
                config.Expand();
                config.Fade(FadeDirection.In);
                config.Duration(AnimationDuration.Slow);
                config.Zoom(ZoomDirection.In);
            })
            .Close(config =>
            {
                config.Fade(FadeDirection.Out);
                config.Duration(AnimationDuration.Fast);
            });
        })
        .Adaptive(true)
        .Items(items =>
        {
            // add actionsheet items
        })
    )
```

## See Also

* [Using Animations in the ActionSheet for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/actionsheet/animation)

* [Server-Side API of the ActionSheet HtmlHelper](https://www.telerik.com/aspnet-mvc/documentation/api/actionsheet)

* [Client-Side API of the ActionSheet](https://docs.telerik.com/kendo-ui/api/ui/actionsheet)
