Soenneker.Maui.Blazor.Bridge 3.0.241

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.241
                    
NuGet\Install-Package Soenneker.Maui.Blazor.Bridge -Version 3.0.241
                    
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.241" />
                    
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.241" />
                    
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.241
                    
#r "nuget: Soenneker.Maui.Blazor.Bridge, 3.0.241"
                    
#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 Soenneker.Maui.Blazor.Bridge@3.0.241
                    
#: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=Soenneker.Maui.Blazor.Bridge&version=3.0.241
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Maui.Blazor.Bridge&version=3.0.241
                    
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.243 75 8/15/2025
3.0.242 92 8/14/2025
3.0.241 93 8/12/2025
3.0.240 92 8/11/2025
3.0.239 92 8/11/2025
3.0.238 85 8/11/2025
3.0.237 88 8/11/2025
3.0.236 89 8/11/2025
3.0.235 164 8/7/2025
3.0.234 169 8/5/2025
3.0.233 167 8/5/2025
3.0.232 168 8/5/2025
3.0.231 168 8/5/2025
3.0.230 168 8/5/2025
3.0.229 435 7/24/2025
3.0.228 133 7/14/2025
3.0.227 124 7/11/2025
3.0.226 139 7/9/2025
3.0.225 135 7/9/2025
3.0.224 133 7/8/2025
3.0.223 136 7/8/2025
3.0.222 130 7/8/2025
3.0.221 130 7/3/2025
3.0.220 124 7/2/2025
3.0.219 122 7/1/2025
3.0.218 99 6/28/2025
3.0.217 88 6/28/2025
3.0.216 64 6/28/2025
3.0.215 61 6/28/2025
3.0.214 63 6/28/2025
3.0.213 71 6/27/2025
3.0.212 76 6/27/2025
3.0.211 288 6/12/2025
3.0.210 284 6/11/2025
3.0.209 284 6/11/2025
3.0.208 282 6/11/2025
3.0.207 283 6/10/2025
3.0.206 282 6/10/2025
3.0.205 132 6/3/2025
3.0.204 147 5/28/2025
3.0.203 143 5/28/2025
3.0.202 144 5/28/2025
3.0.201 140 5/27/2025
3.0.200 139 5/27/2025
3.0.199 136 5/27/2025
3.0.198 138 5/27/2025
3.0.197 100 5/23/2025
3.0.196 116 5/23/2025
3.0.195 121 5/23/2025
3.0.194 126 5/23/2025
3.0.193 128 5/23/2025
3.0.192 140 5/22/2025
3.0.190 151 5/19/2025
3.0.189 144 5/18/2025
3.0.188 100 5/18/2025
3.0.187 225 5/14/2025
3.0.186 229 5/14/2025
3.0.185 229 5/14/2025
3.0.184 216 5/13/2025
3.0.183 222 5/13/2025
3.0.182 250 5/13/2025
3.0.181 152 5/8/2025
3.0.180 141 5/8/2025
3.0.179 146 5/8/2025
3.0.178 148 5/8/2025
3.0.177 141 5/8/2025
3.0.176 151 5/8/2025
3.0.175 141 5/8/2025
3.0.174 148 5/8/2025
3.0.173 145 5/7/2025
3.0.172 140 5/5/2025
3.0.171 138 5/5/2025
3.0.170 144 5/5/2025
3.0.169 137 5/5/2025
3.0.168 140 5/5/2025
3.0.167 141 5/5/2025
3.0.166 141 5/5/2025
3.0.165 140 5/5/2025
3.0.163 157 5/5/2025
3.0.162 166 4/11/2025
3.0.161 162 4/9/2025
3.0.160 154 4/9/2025
3.0.159 159 4/9/2025
3.0.158 159 4/8/2025
3.0.157 157 4/8/2025
3.0.156 163 4/8/2025
3.0.154 147 4/8/2025
3.0.153 146 4/8/2025
3.0.152 157 4/8/2025
3.0.151 154 4/8/2025
3.0.150 156 4/8/2025
3.0.149 154 4/8/2025
3.0.148 157 4/8/2025
3.0.147 151 4/8/2025
3.0.146 157 4/8/2025
3.0.145 162 4/8/2025
3.0.144 152 4/8/2025
3.0.143 158 4/7/2025
3.0.142 160 4/7/2025
3.0.141 163 4/7/2025
3.0.140 160 4/7/2025
3.0.139 163 4/7/2025
3.0.138 169 4/7/2025
3.0.137 172 4/7/2025
3.0.136 176 4/7/2025
3.0.135 164 4/7/2025
3.0.134 164 4/7/2025
3.0.133 173 4/7/2025
3.0.132 171 4/7/2025
3.0.131 177 4/7/2025
3.0.130 162 4/7/2025
3.0.129 163 4/7/2025
3.0.128 166 4/7/2025
3.0.127 176 4/7/2025
3.0.126 158 4/6/2025
3.0.125 167 4/6/2025
3.0.124 161 4/6/2025
3.0.123 181 4/6/2025
3.0.122 133 4/6/2025
3.0.121 140 4/6/2025
3.0.120 118 4/6/2025
3.0.119 115 4/6/2025
3.0.118 117 4/6/2025
3.0.117 110 4/5/2025
3.0.116 110 4/5/2025
3.0.115 87 4/5/2025
3.0.114 94 4/5/2025
3.0.113 87 4/5/2025
3.0.112 94 4/5/2025
3.0.111 102 4/5/2025
3.0.110 88 4/4/2025
3.0.109 101 4/4/2025
3.0.108 131 4/4/2025
3.0.107 147 4/4/2025
3.0.106 141 4/4/2025
3.0.105 145 4/4/2025
3.0.104 158 4/4/2025
3.0.103 149 4/4/2025
3.0.102 156 4/3/2025
3.0.101 161 4/1/2025
3.0.100 151 4/1/2025
3.0.99 153 4/1/2025
3.0.98 148 4/1/2025
3.0.97 146 4/1/2025
3.0.96 156 4/1/2025
3.0.95 155 4/1/2025
3.0.94 148 4/1/2025
3.0.93 155 4/1/2025
3.0.92 147 4/1/2025
3.0.91 152 4/1/2025
3.0.90 150 4/1/2025
3.0.89 155 4/1/2025
3.0.88 160 4/1/2025
3.0.87 159 3/31/2025
3.0.86 152 3/31/2025
3.0.85 161 3/31/2025
3.0.84 152 3/29/2025
3.0.83 91 3/29/2025
3.0.82 92 3/29/2025
3.0.81 86 3/29/2025
3.0.80 98 3/29/2025
3.0.79 93 3/29/2025
3.0.78 119 3/28/2025
3.0.77 133 3/27/2025
3.0.76 136 3/27/2025
3.0.75 134 3/27/2025
3.0.74 462 3/26/2025
3.0.73 474 3/26/2025
3.0.72 466 3/25/2025
3.0.71 466 3/25/2025
3.0.70 464 3/25/2025
3.0.69 476 3/25/2025
3.0.68 97 3/22/2025
3.0.67 74 3/22/2025
3.0.66 90 3/21/2025
3.0.65 112 3/21/2025
3.0.64 113 3/21/2025
3.0.63 136 3/21/2025
3.0.62 151 3/19/2025
3.0.61 152 3/19/2025
3.0.60 147 3/18/2025
3.0.59 145 3/18/2025
3.0.58 153 3/18/2025
3.0.57 142 3/18/2025
3.0.56 150 3/18/2025
3.0.55 151 3/18/2025
3.0.54 147 3/18/2025
3.0.53 149 3/18/2025
3.0.52 140 3/16/2025
3.0.51 138 3/16/2025
3.0.50 82 3/15/2025
3.0.49 83 3/15/2025
3.0.48 84 3/15/2025
3.0.47 79 3/15/2025
3.0.46 86 3/15/2025
3.0.45 80 3/15/2025
3.0.44 149 3/14/2025
3.0.43 151 3/13/2025
3.0.42 166 3/12/2025
3.0.41 166 3/12/2025
3.0.40 172 3/11/2025
3.0.39 168 3/11/2025
3.0.38 181 3/11/2025
3.0.37 184 3/11/2025
3.0.36 173 3/11/2025
3.0.35 175 3/11/2025
3.0.34 176 3/11/2025
3.0.33 212 3/7/2025
3.0.32 223 3/7/2025
3.0.31 228 3/7/2025
3.0.30 206 3/7/2025
3.0.29 219 3/7/2025
3.0.28 219 3/7/2025
3.0.27 209 3/7/2025
3.0.26 221 3/7/2025
3.0.25 220 3/7/2025
3.0.24 217 3/4/2025
3.0.23 209 3/4/2025
3.0.22 221 3/3/2025
3.0.21 218 3/3/2025
3.0.20 102 3/3/2025
3.0.19 138 3/3/2025
3.0.18 118 3/3/2025
3.0.17 118 3/2/2025
3.0.15 108 3/2/2025
3.0.14 116 3/2/2025
3.0.13 110 3/2/2025
3.0.12 107 3/2/2025
3.0.11 110 3/2/2025
3.0.10 116 3/2/2025
3.0.9 109 3/2/2025
3.0.8 110 3/2/2025
3.0.7 104 3/1/2025
3.0.6 105 3/1/2025
3.0.5 111 3/1/2025
3.0.4 111 3/1/2025
3.0.3 110 3/1/2025
3.0.2 106 3/1/2025
3.0.1 100 3/1/2025