AppActions.Icons.Maui
1.0.0
dotnet add package AppActions.Icons.Maui --version 1.0.0
NuGet\Install-Package AppActions.Icons.Maui -Version 1.0.0
<PackageReference Include="AppActions.Icons.Maui" Version="1.0.0" />
paket add AppActions.Icons.Maui --version 1.0.0
#r "nuget: AppActions.Icons.Maui, 1.0.0"
// Install AppActions.Icons.Maui as a Cake Addin #addin nuget:?package=AppActions.Icons.Maui&version=1.0.0 // Install AppActions.Icons.Maui as a Cake Tool #tool nuget:?package=AppActions.Icons.Maui&version=1.0.0
AppActions.Icons.Maui
A .NET MAUI library that provides some default icons for AppActions without having to create your own.
Features
Based on iOS' Home Screen Quick Action Icons, this library provides similar icons for both Android & Windows, but styled towards the platforms default design style. Also supports the use of SFSymbols as Icons on iOS.
- Out-of-the-box icons available for Android, iOS & Windows
- Use SF Symbols on iOS
- Customise Android icons with brand colors
- Builds on top of the Maui Essentials api
- Specify different image names per platform
Getting Started
Add the AppActions.Icons.Maui nuget package to your MAUI project.
Setup you app actions as per the Maui Documentation
In your
MauiProgram.CreateMauiApp()
, addUseAppActionIcons()
to your Essentials configuration builder.public static MauiApp CreateMauiApp() { var builder = MauiApp.CreateBuilder(); builder .UseMauiApp<App>() .ConfigureEssentials(essentials => { essentials .UseAppActionIcons() // Add this line .AddAppAction("home_sc", "Home", icon: AppActionIcon.Home) .OnAppAction(App.HandleAppActions); }); return builder.Build(); }
Now set the AppAction's icon property using one of the provided
AppActionIcon
options
For more examples of how to use and some troubleshooting tips, check the Github Repository
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-android31.0 is compatible. net6.0-ios was computed. net6.0-ios15.4 is compatible. net6.0-maccatalyst was computed. net6.0-maccatalyst15.4 is compatible. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows10.0.19041 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Microsoft.Maui.Dependencies (>= 6.0.312)
- Microsoft.Maui.Extensions (>= 6.0.312)
-
net6.0-android31.0
- Microsoft.Maui.Dependencies (>= 6.0.312)
- Microsoft.Maui.Extensions (>= 6.0.312)
-
net6.0-ios15.4
- Microsoft.Maui.Dependencies (>= 6.0.312)
- Microsoft.Maui.Extensions (>= 6.0.312)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
-
net6.0-maccatalyst15.4
- Microsoft.Maui.Dependencies (>= 6.0.312)
- Microsoft.Maui.Extensions (>= 6.0.312)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
-
net6.0-windows10.0.19041
- Microsoft.Maui.Dependencies (>= 6.0.312)
- Microsoft.Maui.Extensions (>= 6.0.312)
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.0 | 3,779 | 6/12/2022 |
1.0.0-pre3 | 204 | 6/5/2022 |
1.0.0-pre2 | 178 | 6/5/2022 |
1.0.0-pre1 | 197 | 6/4/2022 |