The Trimble Modus Design System describes the UX that Trimble wants to provide in its UI across its many applications. The benefits of using Modus include rapid prototyping, development efficiency, and UX consistency.
Modus includes:
- Components
This library provides Modus Elements as reusable, encapsulated mobile UI components. These can be implemented in any mobile app built with .NET MAUI. The modus-mobile-components library was built using the latest mobile UX specs and guidelines from Figma.
You can check out Modus documention for the library's latest developer documentation.
You can also check out Mobile Components for styleguide/recommendataion and UX related information about all the mobile components
-
In your dotnet MAUI application, right click on the Dependencies -> Manage Nuget Packages and search and choose the
Trimble.Modus.Components
and click the Add Package Here’s the direct link: Trimble.Modus.Components -
Add the following using statement in your MauiProgram:
using Trimble.Modus.Components.Hosting;
-
Then register the handlers to use the Modus components
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseTrimbleModus()
// register other handlers
return builder.Build();
}
}
Now you can use the controls in your app.
For more information check out the Getting Started page.
Curious about contributing? We've got a contributing guide to help get you going.
- Update the CHANGELOG
- Open the Trimble.Modus.Components.csproj file and edit the version number and save the project
- Build the components project in release mode using the following command
dotnet build -c:Release
This will generate a .nupkg file in the/Trimble.Modus.Components/bin/Release
location - Open the nuget.org site and upload the created nupkg file