mobile application – Using GIFs / LottieFiles on the interfaces of the app’s onboarding


So I was wondering if it’s healthy to have a gif or a Lottie file (simple animation) instead of images on my “mobile application onboarding UI”.

Is this even applicable by developers? or is it not possible to add a Lottie file there?

What’s the best practice on that matter?