LottieSharp 2.0.1

.NET 6.0
NuGet\Install-Package LottieSharp -Version 2.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package LottieSharp --version 2.0.1
<PackageReference Include="LottieSharp" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LottieSharp --version 2.0.1
#r "nuget: LottieSharp, 2.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install LottieSharp as a Cake Addin
#addin nuget:?package=LottieSharp&version=2.0.1

// Install LottieSharp as a Cake Tool
#tool nuget:?package=LottieSharp&version=2.0.1


Logo Play LottieFiles in your WPF application

LottieSharp is built for WPF applications only. It targets .NET 6 and is built using SkiaSharp and Skottie.

What can I do with LottieSharp?

You can load lottie animations and play them in your applications, creating beautiful UIs.

demo in action

PS.: Screen cast by: http://recordit.co/

How to start?

Add LottieSharp to your application:

PM> Install-Package LottieSharp -Version 2.0.1

Reference LottieSharp in your XAML Window/Page/UserControl:


Add a LottieAnimationView control. Set properties as you wish:

    FileName="{Binding Path=SelectedAsset.FilePath}"
    RepeatCount="-1" />

Version 2.0.1

Fixed issue #57. Fixed issue with animation details not being displayed in databinding.

Properties, Methods and Events

Properties Values Description
AutoPlay True, False When true, the animation file is automatically played and it is loaded
FileName string Path to the Lottie file. This property can be used in databind (see demo app)
RepeatCount -1..N How many times the animation will repeat after once played. The default is 0, meaning it doesn't repeat. -1 means it repeats forever.
IsPlaying True, False Represents the current aninaation status.
Events Description
EventHandler OnStop It's triggered when animation stops, however if RepeatCount is forever this event isn't triggered.
Methods Description
PlayAnimation() Starts the animation
StopAnimation() Stops the animation

Next steps

This is the first release with basic features but very functional. For next releases I want to:

  • Improve player mechanism
  • Add reverse mode


Why Lottie?

Lottie enables us to easily include beautiful and performant vector animations in applications. Since Lottie animations are exported as JSON files, file sizes remain >small and animations can easily be resized and looped with without losing quality. So, no more heavy videos or gifs!

Where do I find lottie animations?

There are many FREE files you can use. Visit LottieFiles website, there are a huge community for lottie!

How do I create my own animations?

  1. Adober effects, see this post
  2. Framer
  3. And others... see this post


Version 1.1.3 is archived in master branch and is no longer maintained. All new implementations are done in develop branch.

Product Versions
.NET net6.0-windows7.0
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LottieSharp:

Package Downloads

Render After Effects animations natively on Android, iOS, MacOS, TVOs and UWP

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on LottieSharp:

Repository Stars
Render After Effects animations natively on Android, iOS, MacOS and TvOS for Xamarin
Ease your trading experience in Path of Exile.
Version Downloads Last updated
2.0.1 104 9/7/2022
2.0.0 74 9/3/2022
1.1.3 205,422 12/2/2020
1.1.2 7,622 10/14/2020
1.1.1 9,491 6/25/2020
1.1.0 768 6/18/2020
1.0.0 3,554 12/31/2018