# Is it possible to combine radzen components with Blazor.Animate?

**URL:** <https://forum.radzen.com/t/is-it-possible-to-combine-radzen-components-with-blazor-animate/5893>\
**Category:** Radzen.Blazor Components\
**Created:** [December 2, 2020, 8:22pm UTC](https://forum.radzen.com/t/is-it-possible-to-combine-radzen-components-with-blazor-animate/5893 "2020-12-02T20:22:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RonSijm](https://forum.radzen.com/user_avatar/forum.radzen.com/ronsijm/32/10446_2.png) [@RonSijm](https://forum.radzen.com/u/RonSijm)\
**Post date:** [December 2, 2020, 8:22pm UTC](https://forum.radzen.com/t/is-it-possible-to-combine-radzen-components-with-blazor-animate/5893/1 "2020-12-02T20:22:05Z")

</div>

Hi there, I wonder if it's possible to use the radzen components in combination with Blazor.Animate somehow?

> **[GitHub - mikoskinen/Blazor.Animate: Easily add fade, slide and zoom-effects...](https://github.com/mikoskinen/Blazor.Animate)**
>
> Easily add fade, slide and zoom-effects into your Blazor applications. - GitHub - mikoskinen/Blazor.Animate: Easily add fade, slide and zoom-effects into your Blazor applications.

For example:

> ```
> <RadzenSteps>
> <Steps>
> <RadzenStepsItem Text="Welcome and Explanation">
> <Screen1Welcome />
> </RadzenStepsItem>
> 
> <RadzenStepsItem Text="Export and Import">
> <Animate Animation="Animations.ZoomIn" Duration="TimeSpan.FromSeconds(0.5)">
> <Screen2FileImport />
> </Animate>
>             
> </RadzenStepsItem>
> <Steps>
> 
> ```

Basically the goal would be to make the steps slide from left to right when going to a new step.

Or if there are any other Animation libraries that would help me achieve the same kinda case, tips would be appreciated!

Thanks, greetings,

Ron

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [December 3, 2020, 8:23am UTC](https://forum.radzen.com/t/is-it-possible-to-combine-radzen-components-with-blazor-animate/5893/2 "2020-12-03T08:23:20Z")

</div>

Hi @RonSijm,

Honestly we've never tried that. Is it working?

---

<div class="post-metadata">

**Author:** ![RonSijm](https://forum.radzen.com/user_avatar/forum.radzen.com/ronsijm/32/10446_2.png) [@RonSijm](https://forum.radzen.com/u/RonSijm)\
**Post date:** [December 3, 2020, 8:57am UTC](https://forum.radzen.com/t/is-it-possible-to-combine-radzen-components-with-blazor-animate/5893/3 "2020-12-03T08:57:09Z")

</div>

Hey,

I asked because initially it was not working, but for no apparent reason Blazor.Animate wasn't working until I did a couple of hard refreshes.

After that I did

> ```
> <RadzenSteps Change="@HandleChangeDirection">
> 
> ```

With behind code of

> ```
> public class SlidingComponent : ComponentBase
> {
> private int currentIndex;
> 
> public IAnimation Direction { get; set; } = Animations.SlideRight;
> 
> public async Task HandleChangeDirection(int arg)
> {
> if (currentIndex > arg)
> {
> Direction = Animations.SlideLeft;
> }
> else
> {
> Direction = Animations.SlideRight;
> }
> 
> currentIndex = arg;
> }
> }
> 
> ```

and everything seems to work 🙂

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [December 3, 2020, 9:44am UTC](https://forum.radzen.com/t/is-it-possible-to-combine-radzen-components-with-blazor-animate/5893/4 "2020-12-03T09:44:55Z")

</div>

Yep, browser cache is awful especially for WebAssembly applications with PWA enabled.
