Soenneker.Maui.Blazor.Bridge 3.0.24

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.24
                    
NuGet\Install-Package Soenneker.Maui.Blazor.Bridge -Version 3.0.24
                    
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.24" />
                    
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.24" />
                    
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.24
                    
#r "nuget: Soenneker.Maui.Blazor.Bridge, 3.0.24"
                    
#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.24
                    
#: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.24
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Maui.Blazor.Bridge&version=3.0.24
                    
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.289 0 11/25/2025
3.0.288 285 11/21/2025
3.0.287 296 11/21/2025
3.0.286 324 11/21/2025
3.0.285 323 11/20/2025
3.0.284 326 11/20/2025
3.0.283 324 11/20/2025
3.0.282 266 11/11/2025
3.0.281 225 11/11/2025
3.0.280 225 11/11/2025
3.0.279 227 11/11/2025
3.0.278 228 11/11/2025
3.0.277 223 11/11/2025
3.0.276 208 11/10/2025
3.0.267 162 10/17/2025
3.0.266 162 10/16/2025
3.0.265 160 10/16/2025
3.0.264 155 10/15/2025
3.0.263 165 10/15/2025
3.0.262 160 10/14/2025
3.0.261 160 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 170 9/10/2025
3.0.256 168 9/10/2025
3.0.255 177 9/9/2025
3.0.254 168 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 142 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 167 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 175 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 219 8/5/2025
3.0.230 212 8/5/2025
3.0.229 492 7/24/2025
3.0.228 167 7/14/2025
3.0.227 160 7/11/2025
3.0.226 174 7/9/2025
3.0.225 172 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 161 7/2/2025
3.0.219 161 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 340 6/12/2025
3.0.210 315 6/11/2025
3.0.209 334 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 189 5/28/2025
3.0.203 172 5/28/2025
3.0.202 176 5/28/2025
3.0.201 173 5/27/2025
3.0.200 171 5/27/2025
3.0.199 168 5/27/2025
3.0.198 174 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 187 5/18/2025
3.0.188 132 5/18/2025
3.0.187 270 5/14/2025
3.0.186 259 5/14/2025
3.0.185 261 5/14/2025
3.0.184 249 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 174 5/8/2025
3.0.176 196 5/8/2025
3.0.175 173 5/8/2025
3.0.174 205 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 191 5/5/2025
3.0.169 171 5/5/2025
3.0.168 172 5/5/2025
3.0.167 177 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 195 4/8/2025
3.0.157 204 4/8/2025
3.0.156 212 4/8/2025
3.0.154 181 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 204 4/8/2025
3.0.149 184 4/8/2025
3.0.148 193 4/8/2025
3.0.147 183 4/8/2025
3.0.146 193 4/8/2025
3.0.145 212 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 197 4/7/2025
3.0.140 190 4/7/2025
3.0.139 210 4/7/2025
3.0.138 216 4/7/2025
3.0.137 204 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 232 4/7/2025
3.0.132 203 4/7/2025
3.0.131 230 4/7/2025
3.0.130 194 4/7/2025
3.0.129 212 4/7/2025
3.0.128 217 4/7/2025
3.0.127 217 4/7/2025
3.0.126 201 4/6/2025
3.0.125 202 4/6/2025
3.0.124 191 4/6/2025
3.0.123 235 4/6/2025
3.0.122 168 4/6/2025
3.0.121 168 4/6/2025
3.0.120 152 4/6/2025
3.0.119 148 4/6/2025
3.0.118 163 4/6/2025
3.0.117 141 4/5/2025
3.0.116 142 4/5/2025
3.0.115 124 4/5/2025
3.0.114 137 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 118 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 192 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 205 4/1/2025
3.0.99 187 4/1/2025
3.0.98 186 4/1/2025
3.0.97 177 4/1/2025
3.0.96 190 4/1/2025
3.0.95 204 4/1/2025
3.0.94 196 4/1/2025
3.0.93 207 4/1/2025
3.0.92 178 4/1/2025
3.0.91 203 4/1/2025
3.0.90 184 4/1/2025
3.0.89 199 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 191 3/31/2025
3.0.84 205 3/29/2025
3.0.83 143 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 154 3/28/2025
3.0.77 164 3/27/2025
3.0.76 169 3/27/2025
3.0.75 177 3/27/2025
3.0.74 494 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 106 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 133 3/15/2025
3.0.48 133 3/15/2025
3.0.47 113 3/15/2025
3.0.46 138 3/15/2025
3.0.45 113 3/15/2025
3.0.44 183 3/14/2025
3.0.43 202 3/13/2025
3.0.42 196 3/12/2025
3.0.41 213 3/12/2025
3.0.40 215 3/11/2025
3.0.39 199 3/11/2025
3.0.38 215 3/11/2025
3.0.37 235 3/11/2025
3.0.36 207 3/11/2025
3.0.35 234 3/11/2025
3.0.34 208 3/11/2025
3.0.33 243 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 253 3/7/2025
3.0.25 251 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 251 3/3/2025
3.0.20 132 3/3/2025
3.0.19 170 3/3/2025
3.0.18 150 3/3/2025
3.0.17 148 3/2/2025
3.0.15 150 3/2/2025
3.0.14 162 3/2/2025
3.0.13 144 3/2/2025
3.0.12 148 3/2/2025
3.0.11 160 3/2/2025
3.0.10 149 3/2/2025
3.0.9 153 3/2/2025
3.0.8 153 3/2/2025
3.0.7 150 3/1/2025
3.0.6 138 3/1/2025
3.0.5 171 3/1/2025
3.0.4 144 3/1/2025
3.0.3 145 3/1/2025
3.0.2 139 3/1/2025
3.0.1 131 3/1/2025