Microsoft.Maui.Controls 10.0.31

.NET Multi-platform App UI (.NET MAUI)

NuGet License

.NET Multi-platform App UI (.NET MAUI) is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. Using .NET MAUI, you can develop apps that run on Android, iOS, iPadOS, macOS, and Windows from a single shared codebase.

✨ What is .NET MAUI?

The Microsoft.Maui.Controls package provides the UI controls and XAML infrastructure for building beautiful, native cross-platform applications. It includes:

  • 40+ UI controls - Buttons, labels, entries, pickers, lists, grids, and more
  • XAML support - Design your UI with declarative markup
  • Layout system - Flexible layouts including Grid, StackLayout, FlexLayout, and AbsoluteLayout
  • Navigation - Shell navigation, NavigationPage, TabbedPage, FlyoutPage
  • Data binding - Two-way data binding with MVVM support
  • Styling and theming - Application-wide styles, dynamic resources, and light/dark theme support
  • Platform integration - Access platform-specific features seamlessly
  • Hot Reload - See UI changes instantly during development

🚀 Supported Platforms

.NET MAUI applications run on the following platforms:

Platform Minimum Version
Android API 21 (Android 5.0)
iOS iOS 13.0+
iPadOS iPadOS 13.0+
macOS macOS 12.0+ (via Mac Catalyst)
Windows Windows 11, Windows 10 (Version 1809+) using Windows UI Library (WinUI)

📦 Getting Started

Prerequisites

  • .NET 10 SDK (or .NET 9 for previous versions)
  • Platform-specific tools:
    • Android: Android SDK (installed via Visual Studio or Android Studio)
    • iOS/macOS: Xcode (Mac required)
    • Windows: Windows App SDK

Installation

Install the .NET MAUI workload:

dotnet workload install maui

Create a New Project

Create a new .NET MAUI app using the CLI:

dotnet new maui -n MyMauiApp
cd MyMauiApp

Or create with sample content including Community Toolkit and Syncfusion Toolkit:

dotnet new maui -n MyMauiApp -sc

Run Your App

Run on Android:

dotnet build -t:Run -f net10.0-android

Run on iOS (Mac only):

dotnet build -t:Run -f net10.0-ios

Run on Mac Catalyst (Mac only):

dotnet build -t:Run -f net10.0-maccatalyst

Run on Windows:

dotnet build -t:Run -f net10.0-windows10.0.19041.0

💡 Quick Start Example

Here's a simple .NET MAUI page to get you started:

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
    <VerticalStackLayout Padding="30" Spacing="25">
        <Label Text="Hello, .NET MAUI!"
               FontSize="32"
               HorizontalOptions="Center" />
        <Button Text="Click Me" 
                Clicked="OnButtonClicked" />
        <Label x:Name="CounterLabel"
               Text="Button not clicked yet"
               HorizontalOptions="Center" />
    </VerticalStackLayout>
</ContentPage>

Learn more:

🎯 Key Features

MVVM and Data Binding

.NET MAUI fully supports the Model-View-ViewModel (MVVM) pattern with powerful data binding:

<Label Text="{Binding UserName}" />
<Entry Text="{Binding Email, Mode=TwoWay}" />

Learn more:

XAML Enhancements

.NET MAUI includes powerful XAML features for cleaner, more efficient code:

<!-- Simplified property syntax -->
<Button Text="Click Me" Clicked="OnClicked" />

<!-- Markup extensions -->
<Label Text="{Binding Title}" 
       TextColor="{StaticResource PrimaryColor}" />

Learn more:

Shell Navigation

Shell provides a structured, performant navigation experience:

<Shell>
    <TabBar>
        <ShellContent Title="Home" 
                      Icon="home.png"
                      ContentTemplate="{DataTemplate local:HomePage}" />
        <ShellContent Title="Settings" 
                      Icon="settings.png"
                      ContentTemplate="{DataTemplate local:SettingsPage}" />
    </TabBar>
</Shell>

Learn more:

Collections and Lists

Display lists and collections with CollectionView:

<CollectionView ItemsSource="{Binding Items}">
    <CollectionView.ItemTemplate>
        <DataTemplate>
            <Grid Padding="10">
                <Label Text="{Binding Name}" 
                       FontSize="18" />
            </Grid>
        </DataTemplate>
    </CollectionView.ItemTemplate>
</CollectionView>

Learn more:

Responsive Layouts

Build adaptive UIs that work across different screen sizes:

<Grid RowDefinitions="Auto,*" 
      ColumnDefinitions="*,*">
    <Label Grid.ColumnSpan="2" 
           Text="Header" />
    <BoxView Grid.Row="1" 
             Grid.Column="0" 
             Color="Blue" />
    <BoxView Grid.Row="1" 
             Grid.Column="1" 
             Color="Green" />
</Grid>

Learn more:

📚 Documentation and Resources

Official Documentation

Learning Resources

Community Resources

💬 Feedback and Support

We welcome your feedback and contributions!

Getting Help

Reporting Issues

Community

🤝 Contributing

We encourage contributions from the community! .NET MAUI is an open-source project.

.NET MAUI consists of several packages that work together:

Package Description
Microsoft.Maui.Controls Core UI controls and XAML (this package)
Microsoft.Maui.Core Platform abstractions and handlers
Microsoft.Maui.Essentials Cross-platform APIs (merged into Core)
Microsoft.Maui.Graphics Cross-platform graphics library
CommunityToolkit.Maui Community-built controls and helpers

📄 License

.NET MAUI is licensed under the MIT License.

🎉 Acknowledgements

.NET MAUI is the evolution of Xamarin.Forms, building on years of mobile and cross-platform development experience. We thank the community for their continued support and contributions.


Get Started with .NET MAUI | Documentation | Samples | GitHub

Showing the top 20 packages that depend on Microsoft.Maui.Controls.

Packages Downloads
CommunityToolkit.Maui
The .NET MAUI Community Toolkit is a collection of Animations, Behaviors, Converters, and Custom Views for development with .NET MAUI. It simplifies and demonstrates common developer tasks building iOS, Android, macOS and Windows apps with .NET MAUI.
12
CommunityToolkit.Maui
The .NET MAUI Community Toolkit is a collection of Animations, Behaviors, Converters, and Custom Views for development with .NET MAUI. It simplifies and demonstrates common developer tasks building iOS, Android, macOS and Windows apps with .NET MAUI.
13
CommunityToolkit.Maui
The .NET MAUI Community Toolkit is a collection of Animations, Behaviors, Converters, and Custom Views for development with .NET MAUI. It simplifies and demonstrates common developer tasks building iOS, Android, macOS and Windows apps with .NET MAUI.
14
CommunityToolkit.Maui
The .NET MAUI Community Toolkit is a collection of Animations, Behaviors, Converters, and Custom Views for development with .NET MAUI. It simplifies and demonstrates common developer tasks building iOS, Android, macOS and Windows apps with .NET MAUI.
15
Microsoft.Maui.Controls.Compatibility
Compatibility APIs and objects for .NET Multi-platform App UI (.NET MAUI) apps. This package contains a collection of APIs and views that allow for easier migration from Xamarin.Forms.
12
Microsoft.Maui.Controls.Compatibility
Compatibility APIs and objects for .NET Multi-platform App UI (.NET MAUI) apps. This package contains a collection of APIs and views that allow for easier migration from Xamarin.Forms.
13
ZXing.Net.Maui
Package Description
13
ZXing.Net.Maui
Package Description
14

Version Downloads Last updated
11.0.0-preview.1.26107.1 0 02/10/2026
10.0.40 0 02/12/2026
10.0.31 1 02/12/2026
10.0.30 4 01/19/2026
10.0.20 8 12/20/2025
10.0.11 9 12/07/2025
10.0.10 9 11/15/2025
10.0.1 8 12/11/2025
10.0.0 10 11/15/2025
10.0.0-rc.2.25504.7 10 10/16/2025
10.0.0-rc.1.25452.6 9 09/12/2025
10.0.0-preview.7.25406.3 13 08/14/2025
10.0.0-preview.6.25359.8 14 07/16/2025
10.0.0-preview.5.25306.5 14 07/18/2025
10.0.0-preview.4.25263.4 14 07/18/2025
10.0.0-preview.4.25259.2 10 07/18/2025
10.0.0-preview.3.25208.1 12 07/18/2025
10.0.0-preview.2.25165.1 14 07/18/2025
10.0.0-preview.1.25122.6 12 07/18/2025
9.0.120 10 10/19/2025
9.0.111 11 10/16/2025
9.0.110 13 09/12/2025
9.0.100 16 08/16/2025
9.0.90 11 07/18/2025
9.0.82 14 07/18/2025
9.0.81 13 07/18/2025
9.0.80 11 07/18/2025
9.0.71 12 07/18/2025
9.0.70 12 07/18/2025
9.0.61 14 07/18/2025
9.0.60 12 07/18/2025
9.0.51 14 07/18/2025
9.0.50 16 07/18/2025
9.0.40 15 07/18/2025
9.0.30 15 07/18/2025
9.0.22 14 07/18/2025
9.0.21 12 07/18/2025
9.0.14 13 07/18/2025
9.0.12 15 07/18/2025
9.0.10 14 07/18/2025
9.0.0 16 07/18/2025
9.0.0-rc.2.24503.2 13 07/18/2025
9.0.0-rc.1.24453.9 11 07/18/2025
9.0.0-preview.7.24407.4 13 07/18/2025
9.0.0-preview.6.24327.7 15 07/18/2025
9.0.0-preview.5.24307.10 15 07/18/2025
9.0.0-preview.4.10690 13 07/18/2025
9.0.0-preview.3.10457 15 07/18/2025
9.0.0-preview.2.10293 14 07/18/2025
9.0.0-preview.1.9973 14 07/18/2025
8.0.100 13 07/18/2025
8.0.93 13 07/18/2025
8.0.92 15 07/18/2025
8.0.91 13 07/18/2025
8.0.90 13 07/18/2025
8.0.83 12 07/18/2025
8.0.82 12 07/18/2025
8.0.80 15 07/18/2025
8.0.72 13 07/18/2025
8.0.71 14 07/18/2025
8.0.70 14 07/18/2025
8.0.61 14 07/18/2025
8.0.60 13 07/18/2025
8.0.40 13 07/18/2025
8.0.21 14 07/18/2025
8.0.20 14 07/18/2025
8.0.14 14 07/18/2025
8.0.10 16 07/18/2025
8.0.7 14 07/18/2025
8.0.6 15 07/18/2025
8.0.3 15 07/18/2025
8.0.0-rc.2.9530 13 07/18/2025
8.0.0-rc.2.9511 13 07/18/2025
8.0.0-rc.2.9373 13 07/18/2025
8.0.0-rc.1.9171 15 07/18/2025
8.0.0-preview.7.8842 11 07/18/2025
8.0.0-preview.6.8686 15 07/18/2025
8.0.0-preview.5.8529 12 07/18/2025
8.0.0-preview.4.8333 13 07/18/2025
8.0.0-preview.3.8149 14 07/18/2025
8.0.0-preview.2.7871 12 07/18/2025
8.0.0-preview.1.7762 13 07/18/2025