I got it working with the following approach:
WebImage(url: Bundle.module.url(forResource: "Topup", withExtension: "gif")) .resizable() .scaledToFit() .frame(width: 75, height: 26)
I added the gif file in to the Resources folder and specified it in the package.swift file