# "Show loader" with image or lottiefile?

**URL:** <https://community.appfarm.io/t/show-loader-with-image-or-lottiefile/597>\
**Category:** Feature requests\
**Tags:** ui\
**Created:** [August 10, 2023, 7:25am UTC](https://community.appfarm.io/t/show-loader-with-image-or-lottiefile/597 "2023-08-10T07:25:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreK](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/andrek/32/104_2.png) [@AndreK](https://community.appfarm.io/u/AndreK)\
**Post date:** [August 10, 2023, 7:25am UTC](https://community.appfarm.io/t/show-loader-with-image-or-lottiefile/597/1 "2023-08-10T07:25:54Z")

</div>

Request for a new function.

When we have enabled “Show loader” on a container, it would be nice to have more options to add a image or a lottie. When the loader is enabled the text and circular loader runs, but also a lottie using the same enable trigger as the loader. Then we dont need to do all the “work” for adding the lottie for a better UX experience.

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [August 11, 2023, 7:41am UTC](https://community.appfarm.io/t/show-loader-with-image-or-lottiefile/597/2 "2023-08-11T07:41:47Z")

</div>

Hi!

It may be solved “quite simple” the following way:

1. You have a Container, where you would normally have a Show loader bound to av variable `App variables.Show loader`.
2. Add a Visibility Group as a parent (Uncontrolled)
3. Add a new Container with the lottie file within it, as a sibling (next to / at the same level as) to the Container 1)
4. Add visibility conditions on the 2 containers. Container 1 visible if `App variables.Show loader != true` and Container 2 (the lottie-container) visible if `App variables.Show loader = true`

We will consider adding more flexibility to the “Show loader” however (even though it would only differ a few clicks), to make it easier to set up!
