Description
LottieSharp lets WPF applications play Lottie animations, the JSON animation files used by LottieFiles. You add a LottieAnimationView control to a XAML window, point it at an animation file, either on disk or as a resource in the project, and it plays. The library is built on SkiaSharp and Skottie, and it targets .NET 8 and .NET Framework 4.7. Animations can be scaled to a larger size without editing the file, and a CenterTransform keeps the scaled animation centred, while other positions can be set with AnimationTransformBase. Recent versions added .NET 8 support, fixed high CPU use when the control is hidden or disabled, fixed a memory leak when loading from a resource, and fixed a warning that appeared unless the target framework matched a specific Windows SDK. It is for .NET desktop developers who want animated icons, loading indicators or onboarding graphics in a WPF interface. It is WPF-only, so it will not work in other UI frameworks.…
Highlights
- LottieAnimationView control for WPF
- Loads files from disk or project resources
- Scales and centres animations
- Targets .NET 8 and .NET Framework 4.7
- Built on SkiaSharp and Skottie
Ratings & Reviews
No ratings yet
Be the first to rate LottieSharp.
People also visit
LottieSharp FAQ
What is LottieSharp?
A control library that plays Lottie animations in Windows desktop applications built with WPF.
Which .NET versions are supported?
The project targets .NET 8 and .NET Framework 4.7.
Can I scale an animation?
Yes. Version 2.2.0 added scaling, and CenterTransform scales the animation around its centre.
Does it work outside WPF?
No. The README says it is built for WPF applications only.
What were the recent fixes?
Version 2.4.2 stopped playback when the control is hidden or disabled, to cut CPU use. Version 2.4.3 fixed a memory leak and a warning issue with SkiaSharp.
What are the best LottieSharp alternatives?
Popular alternatives to LottieSharp include Lottie Android, Lottie React and OpenAnimationApp. See all LottieSharp alternatives







