Instead of animated SVGs you can try creating Lottie files or importing them.
You have a component to generated Lottie files (.json), look it up please.
I am also sure that you can convert animated svg to Lottie
Thanks for the developer - Save my time