Soenneker.Maui.Blazor.Bridge 3.0.279

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.279
                    
NuGet\Install-Package Soenneker.Maui.Blazor.Bridge -Version 3.0.279
                    
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.279" />
                    
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.279" />
                    
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.279
                    
#r "nuget: Soenneker.Maui.Blazor.Bridge, 3.0.279"
                    
#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.279
                    
#: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.279
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Maui.Blazor.Bridge&version=3.0.279
                    
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 net10.0 is compatible.  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.289 77 11/25/2025
3.0.288 338 11/21/2025
3.0.287 347 11/21/2025
3.0.286 377 11/21/2025
3.0.285 375 11/20/2025
3.0.284 387 11/20/2025
3.0.283 376 11/20/2025
3.0.282 267 11/11/2025
3.0.281 227 11/11/2025
3.0.280 226 11/11/2025
3.0.279 229 11/11/2025
3.0.278 230 11/11/2025
3.0.277 227 11/11/2025
3.0.276 210 11/10/2025
3.0.267 164 10/17/2025
3.0.266 163 10/16/2025
3.0.265 161 10/16/2025
3.0.264 156 10/15/2025
3.0.263 165 10/15/2025
3.0.262 161 10/14/2025
3.0.261 161 10/14/2025
3.0.260 178 10/1/2025
3.0.259 170 9/30/2025
3.0.258 302 9/16/2025
3.0.257 172 9/10/2025
3.0.256 168 9/10/2025
3.0.255 178 9/9/2025
3.0.254 169 9/9/2025
3.0.253 167 9/9/2025
3.0.252 168 9/9/2025
3.0.251 145 9/7/2025
3.0.250 141 9/6/2025
3.0.249 143 9/6/2025
3.0.248 135 9/5/2025
3.0.247 187 9/3/2025
3.0.246 180 9/3/2025
3.0.245 179 9/3/2025
3.0.244 186 9/3/2025
3.0.243 168 8/15/2025
3.0.242 175 8/14/2025
3.0.241 173 8/12/2025
3.0.240 171 8/11/2025
3.0.239 188 8/11/2025
3.0.238 162 8/11/2025
3.0.237 186 8/11/2025
3.0.236 168 8/11/2025
3.0.235 243 8/7/2025
3.0.234 248 8/5/2025
3.0.233 245 8/5/2025
3.0.232 251 8/5/2025
3.0.231 221 8/5/2025
3.0.230 212 8/5/2025
3.0.229 492 7/24/2025
3.0.228 168 7/14/2025
3.0.227 161 7/11/2025
3.0.226 174 7/9/2025
3.0.225 173 7/9/2025
3.0.224 170 7/8/2025
3.0.223 173 7/8/2025
3.0.222 179 7/8/2025
3.0.221 170 7/3/2025
3.0.220 164 7/2/2025
3.0.219 162 7/1/2025
3.0.218 132 6/28/2025
3.0.217 124 6/28/2025
3.0.216 100 6/28/2025
3.0.215 96 6/28/2025
3.0.214 102 6/28/2025
3.0.213 126 6/27/2025
3.0.212 119 6/27/2025
3.0.211 341 6/12/2025
3.0.210 316 6/11/2025
3.0.209 335 6/11/2025
3.0.208 315 6/11/2025
3.0.207 317 6/10/2025
3.0.206 314 6/10/2025
3.0.205 177 6/3/2025
3.0.204 190 5/28/2025
3.0.203 175 5/28/2025
3.0.202 176 5/28/2025
3.0.201 174 5/27/2025
3.0.200 172 5/27/2025
3.0.199 168 5/27/2025
3.0.198 175 5/27/2025
3.0.197 144 5/23/2025
3.0.196 146 5/23/2025
3.0.195 167 5/23/2025
3.0.194 181 5/23/2025
3.0.193 180 5/23/2025
3.0.192 194 5/22/2025
3.0.190 207 5/19/2025
3.0.189 188 5/18/2025
3.0.188 132 5/18/2025
3.0.187 271 5/14/2025
3.0.186 259 5/14/2025
3.0.185 264 5/14/2025
3.0.184 250 5/13/2025
3.0.183 255 5/13/2025
3.0.182 299 5/13/2025
3.0.181 186 5/8/2025
3.0.180 195 5/8/2025
3.0.179 178 5/8/2025
3.0.178 192 5/8/2025
3.0.177 175 5/8/2025
3.0.176 197 5/8/2025
3.0.175 173 5/8/2025
3.0.174 207 5/8/2025
3.0.173 181 5/7/2025
3.0.172 184 5/5/2025
3.0.171 168 5/5/2025
3.0.170 192 5/5/2025
3.0.169 171 5/5/2025
3.0.168 173 5/5/2025
3.0.167 179 5/5/2025
3.0.166 195 5/5/2025
3.0.165 175 5/5/2025
3.0.163 211 5/5/2025
3.0.162 210 4/11/2025
3.0.161 196 4/9/2025
3.0.160 188 4/9/2025
3.0.159 190 4/9/2025
3.0.158 196 4/8/2025
3.0.157 205 4/8/2025
3.0.156 214 4/8/2025
3.0.154 182 4/8/2025
3.0.153 179 4/8/2025
3.0.152 205 4/8/2025
3.0.151 184 4/8/2025
3.0.150 205 4/8/2025
3.0.149 185 4/8/2025
3.0.148 203 4/8/2025
3.0.147 183 4/8/2025
3.0.146 193 4/8/2025
3.0.145 213 4/8/2025
3.0.144 184 4/8/2025
3.0.143 194 4/7/2025
3.0.142 194 4/7/2025
3.0.141 198 4/7/2025
3.0.140 191 4/7/2025
3.0.139 211 4/7/2025
3.0.138 217 4/7/2025
3.0.137 207 4/7/2025
3.0.136 213 4/7/2025
3.0.135 206 4/7/2025
3.0.134 210 4/7/2025
3.0.133 233 4/7/2025
3.0.132 203 4/7/2025
3.0.131 232 4/7/2025
3.0.130 194 4/7/2025
3.0.129 212 4/7/2025
3.0.128 218 4/7/2025
3.0.127 218 4/7/2025
3.0.126 201 4/6/2025
3.0.125 203 4/6/2025
3.0.124 192 4/6/2025
3.0.123 236 4/6/2025
3.0.122 168 4/6/2025
3.0.121 168 4/6/2025
3.0.120 153 4/6/2025
3.0.119 149 4/6/2025
3.0.118 163 4/6/2025
3.0.117 141 4/5/2025
3.0.116 143 4/5/2025
3.0.115 125 4/5/2025
3.0.114 138 4/5/2025
3.0.113 118 4/5/2025
3.0.112 130 4/5/2025
3.0.111 132 4/5/2025
3.0.110 120 4/4/2025
3.0.109 134 4/4/2025
3.0.108 161 4/4/2025
3.0.107 193 4/4/2025
3.0.106 172 4/4/2025
3.0.105 178 4/4/2025
3.0.104 193 4/4/2025
3.0.103 181 4/4/2025
3.0.102 188 4/3/2025
3.0.101 194 4/1/2025
3.0.100 206 4/1/2025
3.0.99 187 4/1/2025
3.0.98 186 4/1/2025
3.0.97 178 4/1/2025
3.0.96 191 4/1/2025
3.0.95 205 4/1/2025
3.0.94 196 4/1/2025
3.0.93 208 4/1/2025
3.0.92 179 4/1/2025
3.0.91 203 4/1/2025
3.0.90 184 4/1/2025
3.0.89 201 4/1/2025
3.0.88 213 4/1/2025
3.0.87 192 3/31/2025
3.0.86 200 3/31/2025
3.0.85 192 3/31/2025
3.0.84 207 3/29/2025
3.0.83 144 3/29/2025
3.0.82 136 3/29/2025
3.0.81 123 3/29/2025
3.0.80 146 3/29/2025
3.0.79 127 3/29/2025
3.0.78 156 3/28/2025
3.0.77 165 3/27/2025
3.0.76 169 3/27/2025
3.0.75 178 3/27/2025
3.0.74 495 3/26/2025
3.0.73 509 3/26/2025
3.0.72 496 3/25/2025
3.0.71 511 3/25/2025
3.0.70 493 3/25/2025
3.0.69 511 3/25/2025
3.0.68 148 3/22/2025
3.0.67 107 3/22/2025
3.0.66 119 3/21/2025
3.0.65 143 3/21/2025
3.0.64 142 3/21/2025
3.0.63 168 3/21/2025
3.0.62 181 3/19/2025
3.0.61 180 3/19/2025
3.0.60 179 3/18/2025
3.0.59 179 3/18/2025
3.0.58 182 3/18/2025
3.0.57 175 3/18/2025
3.0.56 181 3/18/2025
3.0.55 183 3/18/2025
3.0.54 188 3/18/2025
3.0.53 184 3/18/2025
3.0.52 173 3/16/2025
3.0.51 169 3/16/2025
3.0.50 135 3/15/2025
3.0.49 134 3/15/2025
3.0.48 134 3/15/2025
3.0.47 113 3/15/2025
3.0.46 139 3/15/2025
3.0.45 115 3/15/2025
3.0.44 185 3/14/2025
3.0.43 202 3/13/2025
3.0.42 197 3/12/2025
3.0.41 213 3/12/2025
3.0.40 216 3/11/2025
3.0.39 199 3/11/2025
3.0.38 216 3/11/2025
3.0.37 236 3/11/2025
3.0.36 207 3/11/2025
3.0.35 235 3/11/2025
3.0.34 209 3/11/2025
3.0.33 245 3/7/2025
3.0.32 278 3/7/2025
3.0.31 279 3/7/2025
3.0.30 239 3/7/2025
3.0.29 252 3/7/2025
3.0.28 282 3/7/2025
3.0.27 240 3/7/2025
3.0.26 254 3/7/2025
3.0.25 252 3/7/2025
3.0.24 248 3/4/2025
3.0.23 242 3/4/2025
3.0.22 254 3/3/2025
3.0.21 252 3/3/2025
3.0.20 133 3/3/2025
3.0.19 170 3/3/2025
3.0.18 151 3/3/2025
3.0.17 148 3/2/2025
3.0.15 151 3/2/2025
3.0.14 162 3/2/2025
3.0.13 144 3/2/2025
3.0.12 149 3/2/2025
3.0.11 160 3/2/2025
3.0.10 150 3/2/2025
3.0.9 154 3/2/2025
3.0.8 154 3/2/2025
3.0.7 151 3/1/2025
3.0.6 138 3/1/2025
3.0.5 171 3/1/2025
3.0.4 145 3/1/2025
3.0.3 146 3/1/2025
3.0.2 141 3/1/2025
3.0.1 131 3/1/2025