Circuids.Bridge.Maui 1.0.1

Prefix Reserved
dotnet add package Circuids.Bridge.Maui --version 1.0.1
                    
NuGet\Install-Package Circuids.Bridge.Maui -Version 1.0.1
                    
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="Circuids.Bridge.Maui" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Circuids.Bridge.Maui" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Circuids.Bridge.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 Circuids.Bridge.Maui --version 1.0.1
                    
#r "nuget: Circuids.Bridge.Maui, 1.0.1"
                    
#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 Circuids.Bridge.Maui@1.0.1
                    
#: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=Circuids.Bridge.Maui&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Circuids.Bridge.Maui&version=1.0.1
                    
Install as a Cake Tool

Circuids.Bridge.Maui

Circuids.Bridge.Maui is the Bridge host package for MAUI Blazor Hybrid apps. It registers native MAUI implementations for Bridge's shared services so the same Razor components can adapt to host, platform, form factor, connectivity, theme, and safe-area state.

Install this package in the MAUI app that hosts your BlazorWebView. Shared Razor Class Libraries can reference Circuids.Bridge directly, or rely on this package transitively from the host app.

Install

dotnet add package Circuids.Bridge.Maui

Register Services

Register Bridge beside the MAUI BlazorWebView services.

using Circuids.Bridge.Maui;

public static class MauiProgram
{
    public static MauiApp CreateMauiApp()
    {
        var builder = MauiApp.CreateBuilder();
        builder.UseMauiApp<App>();

        builder.Services.AddMauiBlazorWebView();
        builder.Services.AddBridgeForMaui();

        return builder.Build();
    }
}

Add The Provider

Wrap the shared layout or root Blazor subtree that should receive initialized Bridge state.

@using Circuids.Bridge

<BridgeProvider>
    @Body
</BridgeProvider>

BridgeProvider initializes services in this order: host/platform, form factor, connectivity, theme, and safe area.

Use In Shared Razor UI

@using Circuids.Bridge

<BridgeHost>
    <Maui>
        <NativeToolbar />
    </Maui>
    <Blazor>
        <WebToolbar />
    </Blazor>
</BridgeHost>

<BridgeSafeArea Context="safeArea">
    <main style="padding: @(safeArea.Top)px @(safeArea.Right)px @(safeArea.Bottom)px @(safeArea.Left)px">
        <Router AppAssembly="typeof(App).Assembly" />
    </main>
</BridgeSafeArea>

BridgeSafeArea, BridgeFormFactor, BridgeConnectivity, BridgeTheme, BridgeHost, and BridgePlatform use the same component API as Blazor. The MAUI package supplies native values from MAUI APIs.

Native Behavior

Feature MAUI source
Host and platform DeviceInfo
Form factor and viewport Current MAUI window dimensions
Connectivity Connectivity.Current
Theme Application requested theme
Safe area Platform window insets where available

Package Relationship

Package Use
Circuids.Bridge Core contracts and Razor components for shared libraries.
Circuids.Bridge.Blazor Blazor WebAssembly and Blazor Server host implementation.
Circuids.Bridge.Maui MAUI Blazor Hybrid host implementation.

Learn More

Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst26.0 is compatible.  net10.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.1 103 5/24/2026
1.0.0 109 4/27/2026

1.0.0

Initial stable release of the Bridge MAUI host package.

- Added AddBridgeForMaui for MAUI Blazor Hybrid apps.
- Added native MAUI implementations for host/platform, form factor, connectivity, theme, and safe-area services.
- Uses MAUI device, connectivity, application theme, and window APIs instead of JavaScript interop.
- Supports live form-factor and safe-area updates from MAUI window changes.
- Supports native connectivity and theme change notifications with cleanup on disposal.
- References Circuids.Bridge transitively, so host apps do not need to install the core package separately.