Welcome to Microsoft Q&A!
I suggest you could follow the steps to bring these animations to your Windows applications.
1, (Optional but Recommended) Install the Lottie Viewer application from the Store and validate that the JSON file — LottieLogo1.json in this example — works as expected.
2, Install the
Microsoft.UI.Xaml nuget package which contains the
AnimatedVisualPlayer element. Modify your Page.xaml to include the namespace.
3, Install the latest
Microsoft.Toolkit.Uwp.UI.Lottie nuget package. Modify your Page.xaml to include the namespace.
4, Add the JSON file to your project.
5, Instantiate the
AnimatedVisualPlayer element and configure the
LottieVisualSource to be consumed.
For more details you could refer to the Doc: Getting Started with Lottie-Windows
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.