Plugin.MauiMotion
0.0.1-preview.1
dotnet add package Plugin.MauiMotion --version 0.0.1-preview.1
NuGet\Install-Package Plugin.MauiMotion -Version 0.0.1-preview.1
<PackageReference Include="Plugin.MauiMotion" Version="0.0.1-preview.1" />
<PackageVersion Include="Plugin.MauiMotion" Version="0.0.1-preview.1" />
<PackageReference Include="Plugin.MauiMotion" />
paket add Plugin.MauiMotion --version 0.0.1-preview.1
#r "nuget: Plugin.MauiMotion, 0.0.1-preview.1"
#:package Plugin.MauiMotion@0.0.1-preview.1
#addin nuget:?package=Plugin.MauiMotion&version=0.0.1-preview.1&prerelease
#tool nuget:?package=Plugin.MauiMotion&version=0.0.1-preview.1&prerelease
<img src="MauiMotion/icon.png" alt="MauiMotion Logo" height="80" />
MauiMotion
The animation engine for .NET MAUI.
MauiMotion is a high-performance, declarative animation library for .NET MAUI. It allows you to create complex entrance animations, staggered lists, and micro-interactions entirely in XAML.
Installation
dotnet add package MauiMotion
Setup
1. Register the Service
Go to your MauiProgram.cs file and add .UseMauiMotion() to the builder.
using MauiMotion; // Add this using
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseMauiMotion() // <--- Add this line
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
});
return builder.Build();
}
2. Add XAML Namespace
Open your ContentPage or App.xaml and add the namespace:
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:mm="http://mauimotion.com"
x:Class="MyApp.MainPage">
Quick Start
Basic Entrance
Animate any view by simply setting the Animation property.
<Border BackgroundColor="#512BD4"
Padding="20"
mm:Motion.Animation="SlideInBottom"
mm:Motion.Duration="800">
<Label Text="Hello, Motion!" TextColor="White" />
</Border>
Waterfall List (Staggered)
Use the EntranceBehavior inside a CollectionView to create staggered loading effects.
<CollectionView ItemsSource="{Binding Items}">
<CollectionView.ItemTemplate>
<DataTemplate>
<Border>
<Border.Behaviors>
<mm:EntranceBehavior Animation="FadeIn" Duration="600" Stagger="100" />
</Border.Behaviors>
<Label Text="{Binding .}" />
</Border>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
Interactive Buttons
Trigger animations on user interactions (Tap/Click).
<Button Text="Shake Me">
<Button.Behaviors>
<mm:MotionBehavior EventName="Clicked" Animation="Shake" />
</Button.Behaviors>
</Button>
Documentation
- Animation Reference - See the full list of available animations (Fade, Shake, Flip, etc). Learn about Skeletons, Infinite Loops, and Custom Animations.
Contributing
We welcome contributions! Whether it's a bug fix, new animation type, or documentation improvement.
- See our Contributing Guide for instructions on how to set up the dev environment.
- Open an Issue to discuss new features.
MauiMotion is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. net10.0-ios26.0 is compatible. net10.0-maccatalyst26.0 is compatible. |
-
net10.0-android36.0
- No dependencies.
-
net10.0-ios26.0
- No dependencies.
-
net10.0-maccatalyst26.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.1-preview.1 | 87 | 2/13/2026 |