Plugin.Maui.MilestoneTracker 1.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Plugin.Maui.MilestoneTracker --version 1.0.3
                    
NuGet\Install-Package Plugin.Maui.MilestoneTracker -Version 1.0.3
                    
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.
<PackageReference Include="Plugin.Maui.MilestoneTracker" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.Maui.MilestoneTracker" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Plugin.Maui.MilestoneTracker" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Plugin.Maui.MilestoneTracker --version 1.0.3
                    
#r "nuget: Plugin.Maui.MilestoneTracker, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Plugin.Maui.MilestoneTracker@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Plugin.Maui.MilestoneTracker&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Plugin.Maui.MilestoneTracker&version=1.0.3
                    
Install as a Cake Tool

Plugin.Maui.MilestoneTracker

A lightweight and customizable milestone tracking UI component for .NET MAUI apps. Ideal for visualizing user progress, achievements, onboarding steps, or any sequence of tasks in a beautiful and animated path-based layout.

πŸ“– Milestone Tracker Guide

For a complete step-by-step installation and usage guide, visit:
Milestone Tracker Guide


Preview

Preview

✨ Features

  • πŸ”„ Dynamic progress animation along a smooth paths

  • πŸ“Œ Custom milestone icons (completed + default)

  • βš™οΈ MVVM-friendly with full data-binding support

  • 🧩 Easy to integrate

  • πŸš€ Optimized for performance – renders only what’s needed

  • πŸ“± Works on Android, iOS, Windows and macOS via .NET MAUI

πŸ“¦ Installation

Install via NuGet:

<pre> dotnet add package Plugin.Maui.MilestoneTracker </pre>

Or via Visual Studio NuGet UI:

<pre> Plugin.Maui.MilestoneTracker </pre>

πŸš€ Getting Started

  1. Add Namespace

<pre> xmlns:milestone="clr-namespace:Plugin.Maui.MilestoneTracker.Journey;assembly=Plugin.Maui.MilestoneTracker" </pre>

  1. Use in XAML
<Border
    Padding="10"
    StrokeShape="RoundRectangle 7,7,7,7"
    VerticalOptions="Center">

    <Border.Background>
        <LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
            <GradientStop Color="yourcolor" Offset="0.0" />
            
            <GradientStop Color="yourcolor" Offset="1.0" />
            
        </LinearGradientBrush>
    </Border.Background>

    <milestone:MilestoneTracker
        AnimationSpeed="Normal"
        PathType="Wave" 
        StartAnimation="{Binding StartAnimation}"
        Milestones="{Binding Milestones}"
        Grid.Row="1"
        Grid.ColumnSpan="2"
        x:Name="milestoneView"
        PathColor="{StaticResource Primary}"
        HeightRequest="150" />
</Border>

PathType = 
       Horizontal,      // Straight horizontal line
       Wave,            // Sinusoidal wave from left to right
       Diagonal,        // Diagonal from bottom left to top right
       DiagonalWave,    // Diagonal Wave from bottom left to top right
       ZigZag           // Zig-zag pattern

  1. Page.cs
protected override async void OnAppearing()
{
    milestoneView.Milestones = Milestones;
    milestoneView.StartAnimation = true;
}

private void Button_Clicked(object sender, EventArgs e)
{
    milestoneView[3].IsCompleted = true;
}

🧩 Example ViewModel

public ObservableCollection<Milestone> Milestones { get; set; } = new()
{
    new Milestone { ImageSource = "milestone1.png", CompletedImageSource = "milestone1_done.png", IsCompleted = true },
    new Milestone { ImageSource = "milestone2.png", CompletedImageSource = "milestone2_done.png", IsCompleted = false },
    new Milestone { ImageSource = "milestone3.png", CompletedImageSource = "milestone3_done.png", IsCompleted = false }
};


🧼 Best Practices

  • Use ObservableCollection<T> for dynamic updates.

  • Bind directly to your ViewModel using BindingContext.

πŸ§ͺ Planned Features

  • Vertical layout mode

  • Horizontal scrollable milestones

  • Milestone click events (e.g., show detail on tap)

  • Dark mode support

πŸ“ƒ License

MIT License Β© 2025 Ali Raza

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-android34.0 is compatible.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-ios18.0 is compatible.  net8.0-maccatalyst was computed.  net8.0-maccatalyst18.0 is compatible.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows10.0.19041 is compatible.  net9.0 is compatible.  net9.0-android was computed.  net9.0-android35.0 is compatible.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-ios18.0 is compatible.  net9.0-maccatalyst was computed.  net9.0-maccatalyst18.0 is compatible.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net9.0-windows10.0.19041 is compatible.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.4 107 8/15/2025
1.0.4-beta 112 7/30/2025
1.0.3 68 7/27/2025
1.0.2 211 7/26/2025
1.0.1 445 7/24/2025
1.0.0 441 7/24/2025