How to make Material You applications with .NET MAUI

200 views Asked by At

We know that it is possible to make Windows applications with .NET MAUI that inherits from the WinUI 3 styling and elements, like this one:

WinUI in MAUI

Also, I know that Android has released a new standard for developing UX, named Material You, that contains a set of elements and templates, plus the ability to access the system's color theme and reflect that in your app. A good example of a Material You based app is Cofeegram. You can see images of how the app looks in the README.MD file in the repo.

Now what I'm asking is the way we can make Windows-native WinUI 3 user interfaces with MAUI, can we make Material You apps too? How?

1

There are 1 answers

3
Jessie Zhang -MSFT On BEST ANSWER

You can try to use Microsoft.Maui.Graphics.Controls to achieve this.

Microsoft.Maui.Graphics.Controls is a .NET MAUI experiment that offers cross-platform, pixel-perfect, drawn controls, with three built-in themes: Cupertino, Fluent and Material.

For how to use this nuget, you can check: How To Use This Library.