# To use Hero Animation for non-images?

**URL:** <https://forums.kodeco.com/t/to-use-hero-animation-for-non-images/157547>\
**Category:** Flutter Apprentice\
**Created:** [November 16, 2021, 1:16pm UTC](https://forums.kodeco.com/t/to-use-hero-animation-for-non-images/157547 "2021-11-16T13:16:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paristocode](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/paristocode/32/81494_2.png) [@paristocode](https://forums.kodeco.com/u/paristocode)\
**Post date:** [November 16, 2021, 1:16pm UTC](https://forums.kodeco.com/t/to-use-hero-animation-for-non-images/157547/1 "2021-11-16T13:16:33Z")

</div>

So far I have seen example of using hero animation for images and for stateless widgets, but I was wondering if I have a container with buttons and textform fields, can such things also be made to have hero animation?

---

<div class="post-metadata">

**Author:** ![jomoka](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jomoka/32/109828_2.png) [@jomoka](https://forums.kodeco.com/u/jomoka)\
**Post date:** [November 16, 2021, 5:03pm UTC](https://forums.kodeco.com/t/to-use-hero-animation-for-non-images/157547/2 "2021-11-16T17:03:25Z")

</div>

@paristocode, should be doable!  
Check this out:

> **[Hero animations](https://docs.flutter.dev/development/ui/animations/hero-animations)**
>
> How to animate a widget to fly between two screens.
