Soenneker.Maui.Blazor.Bridge 3.0.124

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Maui.Blazor.Bridge --version 3.0.124
                    
NuGet\Install-Package Soenneker.Maui.Blazor.Bridge -Version 3.0.124
                    
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="Soenneker.Maui.Blazor.Bridge" Version="3.0.124" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Maui.Blazor.Bridge" Version="3.0.124" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Maui.Blazor.Bridge" />
                    
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 Soenneker.Maui.Blazor.Bridge --version 3.0.124
                    
#r "nuget: Soenneker.Maui.Blazor.Bridge, 3.0.124"
                    
#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.
#addin nuget:?package=Soenneker.Maui.Blazor.Bridge&version=3.0.124
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Maui.Blazor.Bridge&version=3.0.124
                    
Install as a Cake Tool

alternate text is missing from this package README image Soenneker.Maui.Blazor.Bridge

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Effortlessly integrate MAUI components within BlazorWebView, enabling seamless interaction between Blazor and native MAUI UI elements.


🚀 Features

✅ Embed MAUI components directly inside BlazorWebView like HTML elements.
✅ Maintain a structured overlay system for native elements.
✅ Provides typed and generic bridges for flexible component integration.


📦 Installation

Install the package via NuGet:

dotnet add package Soenneker.Maui.Blazor.Bridge

Register the interop in CreateMauiApp:

public static MauiApp CreateMauiApp()
{
    var builder = MauiApp.CreateBuilder();
    builder.Services.AddMauiBlazorBridgeAsScoped();
}

🛠️ Layout Setup

To integrate MAUI components within BlazorWebView, modify your MainPage.xaml.
Wrap the BlazorWebView inside a Grid, and include an AbsoluteLayout (OverlayContainer) to host native elements:

<Grid>
    
    <BlazorWebView x:Name="blazorWebView"
                   HostPage="wwwroot/index.html">
        <BlazorWebView.RootComponents>
            <RootComponent Selector="#app" ComponentType="{x:Type local:Routes}" />
        </BlazorWebView.RootComponents>
    </BlazorWebView>

    
    <AbsoluteLayout x:Name="OverlayContainer" BackgroundColor="Transparent" InputTransparent="True" />
</Grid>

This setup ensures that MAUI-native elements overlay correctly within your BlazorWebView.


⚡ Usage

To bridge MAUI elements into Blazor, use either:

  • MauiBlazorTypedBridge<T> (Typed binding)
  • MauiBlazorGenericBridge (Generic binding)

🏗️ Example: Embedding a MauiLabel in Blazor

@page "/"

@implements IAsyncDisposable

<MauiBlazorTypedBridge @ref="_bridge" TComponent="MauiLabel" Component="_label"></MauiBlazorTypedBridge>

@code {
    MauiLabel? _label;
    MauiBlazorTypedBridge<MauiLabel>? _bridge;

    protected override void OnInitialized()
    {
        _label = new MauiLabel 
        { 
            Text = "This is a MAUI Label", 
            BackgroundColor = Colors.Transparent, 
            TextColor = Colors.Black 
        };
    }

    public async ValueTask DisposeAsync()
    {
        if (_bridge != null)
            await _bridge.DisposeAsync();
    }
}

This example adds a MauiLabel component inside a Blazor page, allowing it to function within the BlazorWebView.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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
3.0.218 9 6/28/2025
3.0.217 11 6/28/2025
3.0.216 13 6/28/2025
3.0.215 9 6/28/2025
3.0.214 10 6/28/2025
3.0.213 19 6/27/2025
3.0.212 28 6/27/2025
3.0.211 275 6/12/2025
3.0.210 276 6/11/2025
3.0.209 274 6/11/2025
3.0.208 276 6/11/2025
3.0.207 277 6/10/2025
3.0.206 276 6/10/2025
3.0.205 121 6/3/2025
3.0.204 136 5/28/2025
3.0.203 136 5/28/2025
3.0.202 137 5/28/2025
3.0.201 131 5/27/2025
3.0.200 134 5/27/2025
3.0.199 131 5/27/2025
3.0.198 133 5/27/2025
3.0.197 94 5/23/2025
3.0.196 109 5/23/2025
3.0.195 110 5/23/2025
3.0.194 116 5/23/2025
3.0.193 120 5/23/2025
3.0.192 133 5/22/2025
3.0.190 139 5/19/2025
3.0.189 136 5/18/2025
3.0.188 95 5/18/2025
3.0.187 220 5/14/2025
3.0.186 220 5/14/2025
3.0.185 223 5/14/2025
3.0.184 210 5/13/2025
3.0.183 215 5/13/2025
3.0.182 239 5/13/2025
3.0.181 145 5/8/2025
3.0.180 133 5/8/2025
3.0.179 140 5/8/2025
3.0.178 139 5/8/2025
3.0.177 136 5/8/2025
3.0.176 140 5/8/2025
3.0.175 137 5/8/2025
3.0.174 141 5/8/2025
3.0.173 139 5/7/2025
3.0.172 136 5/5/2025
3.0.171 133 5/5/2025
3.0.170 135 5/5/2025
3.0.169 131 5/5/2025
3.0.168 135 5/5/2025
3.0.167 135 5/5/2025
3.0.166 132 5/5/2025
3.0.165 134 5/5/2025
3.0.163 145 5/5/2025
3.0.162 157 4/11/2025
3.0.161 156 4/9/2025
3.0.160 146 4/9/2025
3.0.159 155 4/9/2025
3.0.158 156 4/8/2025
3.0.157 152 4/8/2025
3.0.156 154 4/8/2025
3.0.154 142 4/8/2025
3.0.153 140 4/8/2025
3.0.152 146 4/8/2025
3.0.151 148 4/8/2025
3.0.150 147 4/8/2025
3.0.149 148 4/8/2025
3.0.148 149 4/8/2025
3.0.147 145 4/8/2025
3.0.146 153 4/8/2025
3.0.145 155 4/8/2025
3.0.144 147 4/8/2025
3.0.143 149 4/7/2025
3.0.142 154 4/7/2025
3.0.141 158 4/7/2025
3.0.140 154 4/7/2025
3.0.139 155 4/7/2025
3.0.138 160 4/7/2025
3.0.137 166 4/7/2025
3.0.136 169 4/7/2025
3.0.135 152 4/7/2025
3.0.134 155 4/7/2025
3.0.133 160 4/7/2025
3.0.132 166 4/7/2025
3.0.131 168 4/7/2025
3.0.130 158 4/7/2025
3.0.129 157 4/7/2025
3.0.128 157 4/7/2025
3.0.127 170 4/7/2025
3.0.126 151 4/6/2025
3.0.125 160 4/6/2025
3.0.124 156 4/6/2025
3.0.123 169 4/6/2025
3.0.122 127 4/6/2025
3.0.121 132 4/6/2025
3.0.120 113 4/6/2025
3.0.119 111 4/6/2025
3.0.118 108 4/6/2025
3.0.117 106 4/5/2025
3.0.116 104 4/5/2025
3.0.115 82 4/5/2025
3.0.114 88 4/5/2025
3.0.113 82 4/5/2025
3.0.112 89 4/5/2025
3.0.111 96 4/5/2025
3.0.110 83 4/4/2025
3.0.109 97 4/4/2025
3.0.108 124 4/4/2025
3.0.107 137 4/4/2025
3.0.106 136 4/4/2025
3.0.105 140 4/4/2025
3.0.104 154 4/4/2025
3.0.103 144 4/4/2025
3.0.102 152 4/3/2025
3.0.101 156 4/1/2025
3.0.100 140 4/1/2025
3.0.99 146 4/1/2025
3.0.98 143 4/1/2025
3.0.97 141 4/1/2025
3.0.96 151 4/1/2025
3.0.95 144 4/1/2025
3.0.94 141 4/1/2025
3.0.93 147 4/1/2025
3.0.92 142 4/1/2025
3.0.91 145 4/1/2025
3.0.90 142 4/1/2025
3.0.89 146 4/1/2025
3.0.88 143 4/1/2025
3.0.87 151 3/31/2025
3.0.86 140 3/31/2025
3.0.85 153 3/31/2025
3.0.84 140 3/29/2025
3.0.83 82 3/29/2025
3.0.82 81 3/29/2025
3.0.81 76 3/29/2025
3.0.80 88 3/29/2025
3.0.79 85 3/29/2025
3.0.78 113 3/28/2025
3.0.77 127 3/27/2025
3.0.76 128 3/27/2025
3.0.75 129 3/27/2025
3.0.74 455 3/26/2025
3.0.73 469 3/26/2025
3.0.72 460 3/25/2025
3.0.71 460 3/25/2025
3.0.70 458 3/25/2025
3.0.69 470 3/25/2025
3.0.68 84 3/22/2025
3.0.67 69 3/22/2025
3.0.66 85 3/21/2025
3.0.65 105 3/21/2025
3.0.64 105 3/21/2025
3.0.63 130 3/21/2025
3.0.62 144 3/19/2025
3.0.61 145 3/19/2025
3.0.60 142 3/18/2025
3.0.59 138 3/18/2025
3.0.58 147 3/18/2025
3.0.57 136 3/18/2025
3.0.56 143 3/18/2025
3.0.55 144 3/18/2025
3.0.54 141 3/18/2025
3.0.53 144 3/18/2025
3.0.52 135 3/16/2025
3.0.51 132 3/16/2025
3.0.50 72 3/15/2025
3.0.49 73 3/15/2025
3.0.48 74 3/15/2025
3.0.47 75 3/15/2025
3.0.46 75 3/15/2025
3.0.45 74 3/15/2025
3.0.44 144 3/14/2025
3.0.43 141 3/13/2025
3.0.42 160 3/12/2025
3.0.41 157 3/12/2025
3.0.40 166 3/11/2025
3.0.39 162 3/11/2025
3.0.38 176 3/11/2025
3.0.37 179 3/11/2025
3.0.36 167 3/11/2025
3.0.35 166 3/11/2025
3.0.34 170 3/11/2025
3.0.33 205 3/7/2025
3.0.32 218 3/7/2025
3.0.31 214 3/7/2025
3.0.30 201 3/7/2025
3.0.29 212 3/7/2025
3.0.28 210 3/7/2025
3.0.27 204 3/7/2025
3.0.26 216 3/7/2025
3.0.25 214 3/7/2025
3.0.24 212 3/4/2025
3.0.23 202 3/4/2025
3.0.22 216 3/3/2025
3.0.21 212 3/3/2025
3.0.20 97 3/3/2025
3.0.19 133 3/3/2025
3.0.18 114 3/3/2025
3.0.17 112 3/2/2025
3.0.15 103 3/2/2025
3.0.14 108 3/2/2025
3.0.13 105 3/2/2025
3.0.12 101 3/2/2025
3.0.11 101 3/2/2025
3.0.10 111 3/2/2025
3.0.9 98 3/2/2025
3.0.8 99 3/2/2025
3.0.7 97 3/1/2025
3.0.6 97 3/1/2025
3.0.5 99 3/1/2025
3.0.4 106 3/1/2025
3.0.3 104 3/1/2025
3.0.2 100 3/1/2025
3.0.1 94 3/1/2025