# Xiejiang.SKLottie.Samples
**Repository Path**: lucystar/Xiejiang.SKLottie.Samples
## Basic Information
- **Project Name**: Xiejiang.SKLottie.Samples
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-12-19
- **Last Updated**: 2024-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Demonstrates how to play Lottie animations in WPF or Avalonia using Xiejiang.SKLottie.
Nuget Packages:
- LottieLoader:
All the code is from https://github.com/CommunityToolkit/Lottie-Windows, I removed the UWP-related part, only kept the part that reads Lottie Json as LottieComposition object. Can run on .net core 3.1+
- Xiejiang.SKLottie:
Draw the content in the LottieComposition with SkiaSharp.
- Xiejiang.SKLottie.Views.Wpf.
Use SkiaSharp.Views.Wpf to present Lottie content in WPF.
In theory, it can support any environment where .net core3.1+ and SkiaSharp can run. But currently I've only made samples for WPF and Avalonia.
Currently in preview, there are many features of Lottie that are not yet supported. I have selected about 255 animations at https://lottiefiles.com/, of which about 193 can be played correctly.
There are also some known performance issues, but they are not currently prioritized.
Thanks for the great project CommunityToolkit/Lottie-Windows.
=====================
[more screenshots](https://www.cnblogs.com/8u7tgyjire7890/p/15881159.html)



























