I will show you how you can animate any SVG image/icon in Power Apps using code. In this tutorial, we make a hamburger icon animate to to a close icon and back.
watch?v=SI1tCOUg1_w
If my post helped you to resolve your issue please mark it as the solution✔️