.Riv animation for Winui (Windows App Sdk)

Amjath Khan 0 Reputation points
2025-05-08T07:16:11.6333333+00:00

Hi,

I'm working on a Windows desktop application using WinUI 3 (Windows App SDK) and I want to integrate Rive (.riv) animations into the UI.

Rive is an animation tool that exports .riv files and supports runtimes for platforms like Flutter, React Native, and Web, but I haven't found an official runtime or guidance for using it in WinUI 3.

I'd like to know:

  1. Is there any official or community-supported way to render .riv animations in a WinUI 3 desktop app?
  2. Would converting .riv to Lottie JSON (or using Lottie directly) be a better alternative for WinUI 3?

Any help, samples, or workarounds would be appreciated. Thanks!

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
877 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Hawker 0 Reputation points Microsoft Employee
    2025-05-08T07:52:48.8333333+00:00

    You should reach out to Rive directly about supporting WinUI 3 here: https://github.com/rive-app/rive-sharp/issues/9 and/or in their Discord.

    They had some higher-level prototype wrappers in the Windows Community Toolkit Labs here, but they have not been updated either.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.