Soenneker.Maui.Blazor.Bridge 3.0.262

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.262
                    
NuGet\Install-Package Soenneker.Maui.Blazor.Bridge -Version 3.0.262
                    
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.262" />
                    
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.262" />
                    
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.262
                    
#r "nuget: Soenneker.Maui.Blazor.Bridge, 3.0.262"
                    
#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.262
                    
#: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.262
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Maui.Blazor.Bridge&version=3.0.262
                    
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 152 10/17/2025
3.0.266 153 10/16/2025
3.0.265 152 10/16/2025
3.0.264 148 10/15/2025
3.0.263 158 10/15/2025
3.0.262 153 10/14/2025
3.0.261 153 10/14/2025
3.0.260 170 10/1/2025
3.0.259 161 9/30/2025
3.0.258 298 9/16/2025
3.0.257 164 9/10/2025
3.0.256 162 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 138 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 159 8/15/2025
3.0.242 165 8/14/2025
3.0.241 166 8/12/2025
3.0.240 167 8/11/2025
3.0.239 184 8/11/2025
3.0.238 155 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 246 8/5/2025
3.0.231 215 8/5/2025
3.0.230 207 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 165 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 162 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 96 6/28/2025
3.0.215 91 6/28/2025
3.0.214 93 6/28/2025
3.0.213 118 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 327 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 171 6/3/2025
3.0.204 183 5/28/2025
3.0.203 169 5/28/2025
3.0.202 171 5/28/2025
3.0.201 169 5/27/2025
3.0.200 167 5/27/2025
3.0.199 164 5/27/2025
3.0.198 169 5/27/2025
3.0.197 138 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 257 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 182 5/8/2025
3.0.180 187 5/8/2025
3.0.179 174 5/8/2025
3.0.178 187 5/8/2025
3.0.177 171 5/8/2025
3.0.176 189 5/8/2025
3.0.175 169 5/8/2025
3.0.174 198 5/8/2025
3.0.173 174 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 186 5/5/2025
3.0.165 170 5/5/2025
3.0.163 205 5/5/2025
3.0.162 206 4/11/2025
3.0.161 192 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 202 4/8/2025
3.0.156 204 4/8/2025
3.0.154 178 4/8/2025
3.0.153 177 4/8/2025
3.0.152 198 4/8/2025
3.0.151 179 4/8/2025
3.0.150 198 4/8/2025
3.0.149 181 4/8/2025
3.0.148 191 4/8/2025
3.0.147 179 4/8/2025
3.0.146 188 4/8/2025
3.0.145 208 4/8/2025
3.0.144 181 4/8/2025
3.0.143 188 4/7/2025
3.0.142 189 4/7/2025
3.0.141 194 4/7/2025
3.0.140 188 4/7/2025
3.0.139 205 4/7/2025
3.0.138 211 4/7/2025
3.0.137 201 4/7/2025
3.0.136 206 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 224 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 198 4/6/2025
3.0.125 197 4/6/2025
3.0.124 187 4/6/2025
3.0.123 226 4/6/2025
3.0.122 162 4/6/2025
3.0.121 165 4/6/2025
3.0.120 148 4/6/2025
3.0.119 144 4/6/2025
3.0.118 157 4/6/2025
3.0.117 136 4/5/2025
3.0.116 138 4/5/2025
3.0.115 118 4/5/2025
3.0.114 124 4/5/2025
3.0.113 115 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 188 4/4/2025
3.0.106 170 4/4/2025
3.0.105 174 4/4/2025
3.0.104 188 4/4/2025
3.0.103 177 4/4/2025
3.0.102 186 4/3/2025
3.0.101 190 4/1/2025
3.0.100 197 4/1/2025
3.0.99 184 4/1/2025
3.0.98 181 4/1/2025
3.0.97 174 4/1/2025
3.0.96 184 4/1/2025
3.0.95 197 4/1/2025
3.0.94 189 4/1/2025
3.0.93 200 4/1/2025
3.0.92 174 4/1/2025
3.0.91 199 4/1/2025
3.0.90 179 4/1/2025
3.0.89 192 4/1/2025
3.0.88 205 4/1/2025
3.0.87 185 3/31/2025
3.0.86 191 3/31/2025
3.0.85 188 3/31/2025
3.0.84 196 3/29/2025
3.0.83 135 3/29/2025
3.0.82 129 3/29/2025
3.0.81 116 3/29/2025
3.0.80 142 3/29/2025
3.0.79 123 3/29/2025
3.0.78 149 3/28/2025
3.0.77 161 3/27/2025
3.0.76 166 3/27/2025
3.0.75 174 3/27/2025
3.0.74 490 3/26/2025
3.0.73 503 3/26/2025
3.0.72 491 3/25/2025
3.0.71 506 3/25/2025
3.0.70 490 3/25/2025
3.0.69 506 3/25/2025
3.0.68 146 3/22/2025
3.0.67 101 3/22/2025
3.0.66 116 3/21/2025
3.0.65 140 3/21/2025
3.0.64 139 3/21/2025
3.0.63 163 3/21/2025
3.0.62 178 3/19/2025
3.0.61 178 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 179 3/18/2025
3.0.54 183 3/18/2025
3.0.53 180 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 108 3/15/2025
3.0.46 129 3/15/2025
3.0.45 108 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 211 3/11/2025
3.0.39 194 3/11/2025
3.0.38 211 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 272 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 237 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 146 3/2/2025
3.0.14 152 3/2/2025
3.0.13 141 3/2/2025
3.0.12 144 3/2/2025
3.0.11 151 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 145 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