Soenneker.Maui.Blazor.Bridge 3.0.259

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.259
                    
NuGet\Install-Package Soenneker.Maui.Blazor.Bridge -Version 3.0.259
                    
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.259" />
                    
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.259" />
                    
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.259
                    
#r "nuget: Soenneker.Maui.Blazor.Bridge, 3.0.259"
                    
#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.259
                    
#: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.259
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Maui.Blazor.Bridge&version=3.0.259
                    
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.267 147 10/17/2025
3.0.266 148 10/16/2025
3.0.265 149 10/16/2025
3.0.264 144 10/15/2025
3.0.263 152 10/15/2025
3.0.262 149 10/14/2025
3.0.261 149 10/14/2025
3.0.260 168 10/1/2025
3.0.259 160 9/30/2025
3.0.258 298 9/16/2025
3.0.257 164 9/10/2025
3.0.256 161 9/10/2025
3.0.255 169 9/9/2025
3.0.254 162 9/9/2025
3.0.253 160 9/9/2025
3.0.252 162 9/9/2025
3.0.251 136 9/7/2025
3.0.250 134 9/6/2025
3.0.249 134 9/6/2025
3.0.248 129 9/5/2025
3.0.247 180 9/3/2025
3.0.246 174 9/3/2025
3.0.245 172 9/3/2025
3.0.244 181 9/3/2025
3.0.243 157 8/15/2025
3.0.242 165 8/14/2025
3.0.241 166 8/12/2025
3.0.240 166 8/11/2025
3.0.239 183 8/11/2025
3.0.238 154 8/11/2025
3.0.237 167 8/11/2025
3.0.236 162 8/11/2025
3.0.235 236 8/7/2025
3.0.234 242 8/5/2025
3.0.233 239 8/5/2025
3.0.232 245 8/5/2025
3.0.231 214 8/5/2025
3.0.230 204 8/5/2025
3.0.229 487 7/24/2025
3.0.228 161 7/14/2025
3.0.227 153 7/11/2025
3.0.226 168 7/9/2025
3.0.225 164 7/9/2025
3.0.224 162 7/8/2025
3.0.223 167 7/8/2025
3.0.222 172 7/8/2025
3.0.221 158 7/3/2025
3.0.220 155 7/2/2025
3.0.219 155 7/1/2025
3.0.218 127 6/28/2025
3.0.217 118 6/28/2025
3.0.216 95 6/28/2025
3.0.215 90 6/28/2025
3.0.214 90 6/28/2025
3.0.213 117 6/27/2025
3.0.212 113 6/27/2025
3.0.211 329 6/12/2025
3.0.210 310 6/11/2025
3.0.209 325 6/11/2025
3.0.208 309 6/11/2025
3.0.207 311 6/10/2025
3.0.206 309 6/10/2025
3.0.205 167 6/3/2025
3.0.204 183 5/28/2025
3.0.203 169 5/28/2025
3.0.202 170 5/28/2025
3.0.201 168 5/27/2025
3.0.200 166 5/27/2025
3.0.199 163 5/27/2025
3.0.198 168 5/27/2025
3.0.197 137 5/23/2025
3.0.196 143 5/23/2025
3.0.195 162 5/23/2025
3.0.194 174 5/23/2025
3.0.193 171 5/23/2025
3.0.192 187 5/22/2025
3.0.190 198 5/19/2025
3.0.189 183 5/18/2025
3.0.188 129 5/18/2025
3.0.187 265 5/14/2025
3.0.186 256 5/14/2025
3.0.185 256 5/14/2025
3.0.184 245 5/13/2025
3.0.183 250 5/13/2025
3.0.182 292 5/13/2025
3.0.181 180 5/8/2025
3.0.180 185 5/8/2025
3.0.179 174 5/8/2025
3.0.178 187 5/8/2025
3.0.177 170 5/8/2025
3.0.176 189 5/8/2025
3.0.175 169 5/8/2025
3.0.174 196 5/8/2025
3.0.173 172 5/7/2025
3.0.172 177 5/5/2025
3.0.171 165 5/5/2025
3.0.170 186 5/5/2025
3.0.169 165 5/5/2025
3.0.168 169 5/5/2025
3.0.167 172 5/5/2025
3.0.166 185 5/5/2025
3.0.165 170 5/5/2025
3.0.163 204 5/5/2025
3.0.162 205 4/11/2025
3.0.161 190 4/9/2025
3.0.160 182 4/9/2025
3.0.159 186 4/9/2025
3.0.158 188 4/8/2025
3.0.157 199 4/8/2025
3.0.156 204 4/8/2025
3.0.154 177 4/8/2025
3.0.153 174 4/8/2025
3.0.152 198 4/8/2025
3.0.151 179 4/8/2025
3.0.150 195 4/8/2025
3.0.149 180 4/8/2025
3.0.148 190 4/8/2025
3.0.147 178 4/8/2025
3.0.146 187 4/8/2025
3.0.145 207 4/8/2025
3.0.144 180 4/8/2025
3.0.143 185 4/7/2025
3.0.142 188 4/7/2025
3.0.141 190 4/7/2025
3.0.140 187 4/7/2025
3.0.139 204 4/7/2025
3.0.138 210 4/7/2025
3.0.137 199 4/7/2025
3.0.136 205 4/7/2025
3.0.135 191 4/7/2025
3.0.134 203 4/7/2025
3.0.133 214 4/7/2025
3.0.132 198 4/7/2025
3.0.131 222 4/7/2025
3.0.130 191 4/7/2025
3.0.129 205 4/7/2025
3.0.128 208 4/7/2025
3.0.127 212 4/7/2025
3.0.126 197 4/6/2025
3.0.125 193 4/6/2025
3.0.124 186 4/6/2025
3.0.123 225 4/6/2025
3.0.122 162 4/6/2025
3.0.121 165 4/6/2025
3.0.120 146 4/6/2025
3.0.119 144 4/6/2025
3.0.118 154 4/6/2025
3.0.117 136 4/5/2025
3.0.116 138 4/5/2025
3.0.115 116 4/5/2025
3.0.114 122 4/5/2025
3.0.113 114 4/5/2025
3.0.112 124 4/5/2025
3.0.111 129 4/5/2025
3.0.110 115 4/4/2025
3.0.109 128 4/4/2025
3.0.108 157 4/4/2025
3.0.107 185 4/4/2025
3.0.106 169 4/4/2025
3.0.105 173 4/4/2025
3.0.104 187 4/4/2025
3.0.103 176 4/4/2025
3.0.102 183 4/3/2025
3.0.101 188 4/1/2025
3.0.100 196 4/1/2025
3.0.99 182 4/1/2025
3.0.98 179 4/1/2025
3.0.97 172 4/1/2025
3.0.96 183 4/1/2025
3.0.95 196 4/1/2025
3.0.94 189 4/1/2025
3.0.93 197 4/1/2025
3.0.92 174 4/1/2025
3.0.91 197 4/1/2025
3.0.90 178 4/1/2025
3.0.89 191 4/1/2025
3.0.88 204 4/1/2025
3.0.87 185 3/31/2025
3.0.86 191 3/31/2025
3.0.85 187 3/31/2025
3.0.84 192 3/29/2025
3.0.83 133 3/29/2025
3.0.82 128 3/29/2025
3.0.81 113 3/29/2025
3.0.80 140 3/29/2025
3.0.79 122 3/29/2025
3.0.78 147 3/28/2025
3.0.77 160 3/27/2025
3.0.76 165 3/27/2025
3.0.75 173 3/27/2025
3.0.74 489 3/26/2025
3.0.73 503 3/26/2025
3.0.72 491 3/25/2025
3.0.71 504 3/25/2025
3.0.70 490 3/25/2025
3.0.69 506 3/25/2025
3.0.68 145 3/22/2025
3.0.67 101 3/22/2025
3.0.66 116 3/21/2025
3.0.65 139 3/21/2025
3.0.64 138 3/21/2025
3.0.63 163 3/21/2025
3.0.62 177 3/19/2025
3.0.61 177 3/19/2025
3.0.60 174 3/18/2025
3.0.59 172 3/18/2025
3.0.58 179 3/18/2025
3.0.57 170 3/18/2025
3.0.56 177 3/18/2025
3.0.55 177 3/18/2025
3.0.54 183 3/18/2025
3.0.53 179 3/18/2025
3.0.52 168 3/16/2025
3.0.51 164 3/16/2025
3.0.50 127 3/15/2025
3.0.49 126 3/15/2025
3.0.48 128 3/15/2025
3.0.47 107 3/15/2025
3.0.46 129 3/15/2025
3.0.45 106 3/15/2025
3.0.44 177 3/14/2025
3.0.43 193 3/13/2025
3.0.42 192 3/12/2025
3.0.41 207 3/12/2025
3.0.40 209 3/11/2025
3.0.39 194 3/11/2025
3.0.38 209 3/11/2025
3.0.37 227 3/11/2025
3.0.36 200 3/11/2025
3.0.35 223 3/11/2025
3.0.34 202 3/11/2025
3.0.33 237 3/7/2025
3.0.32 270 3/7/2025
3.0.31 271 3/7/2025
3.0.30 232 3/7/2025
3.0.29 247 3/7/2025
3.0.28 262 3/7/2025
3.0.27 236 3/7/2025
3.0.26 247 3/7/2025
3.0.25 245 3/7/2025
3.0.24 242 3/4/2025
3.0.23 233 3/4/2025
3.0.22 246 3/3/2025
3.0.21 245 3/3/2025
3.0.20 128 3/3/2025
3.0.19 165 3/3/2025
3.0.18 145 3/3/2025
3.0.17 144 3/2/2025
3.0.15 145 3/2/2025
3.0.14 151 3/2/2025
3.0.13 140 3/2/2025
3.0.12 143 3/2/2025
3.0.11 150 3/2/2025
3.0.10 146 3/2/2025
3.0.9 146 3/2/2025
3.0.8 145 3/2/2025
3.0.7 143 3/1/2025
3.0.6 132 3/1/2025
3.0.5 162 3/1/2025
3.0.4 137 3/1/2025
3.0.3 140 3/1/2025
3.0.2 132 3/1/2025
3.0.1 126 3/1/2025