formaui-net.Framework.Themes.Blazor.WebView.Maui 1.0.0-preview.27

Prefix Reserved
This is a prerelease version of formaui-net.Framework.Themes.Blazor.WebView.Maui.
dotnet add package formaui-net.Framework.Themes.Blazor.WebView.Maui --version 1.0.0-preview.27
                    
NuGet\Install-Package formaui-net.Framework.Themes.Blazor.WebView.Maui -Version 1.0.0-preview.27
                    
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="formaui-net.Framework.Themes.Blazor.WebView.Maui" Version="1.0.0-preview.27" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="formaui-net.Framework.Themes.Blazor.WebView.Maui" Version="1.0.0-preview.27" />
                    
Directory.Packages.props
<PackageReference Include="formaui-net.Framework.Themes.Blazor.WebView.Maui" />
                    
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 formaui-net.Framework.Themes.Blazor.WebView.Maui --version 1.0.0-preview.27
                    
#r "nuget: formaui-net.Framework.Themes.Blazor.WebView.Maui, 1.0.0-preview.27"
                    
#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 formaui-net.Framework.Themes.Blazor.WebView.Maui@1.0.0-preview.27
                    
#: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=formaui-net.Framework.Themes.Blazor.WebView.Maui&version=1.0.0-preview.27&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=formaui-net.Framework.Themes.Blazor.WebView.Maui&version=1.0.0-preview.27&prerelease
                    
Install as a Cake Tool

Forma.Framework.Themes.Blazor.WebView.Maui

The application's theme choice in MAUI's web view, on Android and on Windows. Every document a web view creates draws the choice in force from its first paint, before the host page's own content, and the document it shows follows each choice the application accepts, as Forma.Framework.Themes.WebView sets out. Each web view attaches itself as it starts, so the application writes no code for one.

Install

dotnet add package formaui-net.Framework.Themes.Blazor.WebView.Maui --prerelease

It brings formaui-net.Framework.Themes.WebView, which AddFormaWebViewIntegration() registers, and targets net11.0-android and net11.0-windows10.0.19041.0; an application referencing it for its other platforms does so under a condition on its target.

Register

Beside the platform's and Forma's registrars, on the application's builder:

using Forma.Framework.Themes.Blazor.WebView.Maui;

builder.Services.AddMauiBlazorWebView();
builder.Services.AddFormaWebViewIntegration();
builder.Services.AddFormaThemeMauiIntegration();

AddFormaThemeMauiIntegration() reads the application's store as the application starts, and attaches each BlazorWebView as its handler starts it, before its first navigation: an Android web view through the system web view's document-start scripts, and a Windows one through its WebView2 as it initializes. An Android system web view without document-start scripts draws the host page's default until the application's next switch.

The host page links each registered theme's stylesheet, as the host page sets out.

License

Apache License 2.0, under the repository's LICENSE.

Product Compatible and additional computed target framework versions.
.NET net11.0-android37.0 is compatible.  net11.0-windows10.0.19041 is compatible. 
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.0-preview.27 41 12/3/2026
1.0.0-preview.26 43 12/3/2026
1.0.0-preview.25 45 12/2/2026
1.0.0-preview.24 47 12/1/2026
1.0.0-preview.23 66 11/30/2026
1.0.0-preview.22 60 11/30/2026
1.0.0-preview.21 63 11/29/2026

What this release changed is in Forma's changelog: https://github.com/FormaUI/Forma/blob/v1.0.0-preview.27/CHANGELOG.md