Soenneker.Maui.Blazor.Bridge 3.0.248

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.248
                    
NuGet\Install-Package Soenneker.Maui.Blazor.Bridge -Version 3.0.248
                    
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.248" />
                    
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.248" />
                    
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.248
                    
#r "nuget: Soenneker.Maui.Blazor.Bridge, 3.0.248"
                    
#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.248
                    
#: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.248
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Maui.Blazor.Bridge&version=3.0.248
                    
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.257 114 9/10/2025
3.0.256 112 9/10/2025
3.0.255 111 9/9/2025
3.0.254 116 9/9/2025
3.0.253 112 9/9/2025
3.0.252 114 9/9/2025
3.0.251 99 9/7/2025
3.0.250 99 9/6/2025
3.0.249 99 9/6/2025
3.0.248 85 9/5/2025
3.0.247 145 9/3/2025
3.0.246 136 9/3/2025
3.0.245 138 9/3/2025
3.0.244 139 9/3/2025
3.0.243 121 8/15/2025
3.0.242 133 8/14/2025
3.0.241 132 8/12/2025
3.0.240 132 8/11/2025
3.0.239 130 8/11/2025
3.0.238 122 8/11/2025
3.0.237 133 8/11/2025
3.0.236 130 8/11/2025
3.0.235 204 8/7/2025
3.0.234 219 8/5/2025
3.0.233 213 8/5/2025
3.0.232 220 8/5/2025
3.0.231 192 8/5/2025
3.0.230 180 8/5/2025
3.0.229 458 7/24/2025
3.0.228 139 7/14/2025
3.0.227 131 7/11/2025
3.0.226 145 7/9/2025
3.0.225 141 7/9/2025
3.0.224 139 7/8/2025
3.0.223 142 7/8/2025
3.0.222 136 7/8/2025
3.0.221 136 7/3/2025
3.0.220 130 7/2/2025
3.0.219 128 7/1/2025
3.0.218 105 6/28/2025
3.0.217 93 6/28/2025
3.0.216 70 6/28/2025
3.0.215 67 6/28/2025
3.0.214 68 6/28/2025
3.0.213 80 6/27/2025
3.0.212 81 6/27/2025
3.0.211 294 6/12/2025
3.0.210 288 6/11/2025
3.0.209 288 6/11/2025
3.0.208 286 6/11/2025
3.0.207 289 6/10/2025
3.0.206 287 6/10/2025
3.0.205 136 6/3/2025
3.0.204 152 5/28/2025
3.0.203 147 5/28/2025
3.0.202 148 5/28/2025
3.0.201 144 5/27/2025
3.0.200 144 5/27/2025
3.0.199 141 5/27/2025
3.0.198 143 5/27/2025
3.0.197 114 5/23/2025
3.0.196 120 5/23/2025
3.0.195 130 5/23/2025
3.0.194 133 5/23/2025
3.0.193 135 5/23/2025
3.0.192 148 5/22/2025
3.0.190 161 5/19/2025
3.0.189 152 5/18/2025
3.0.188 106 5/18/2025
3.0.187 230 5/14/2025
3.0.186 233 5/14/2025
3.0.185 234 5/14/2025
3.0.184 220 5/13/2025
3.0.183 227 5/13/2025
3.0.182 258 5/13/2025
3.0.181 157 5/8/2025
3.0.180 149 5/8/2025
3.0.179 150 5/8/2025
3.0.178 153 5/8/2025
3.0.177 146 5/8/2025
3.0.176 159 5/8/2025
3.0.175 145 5/8/2025
3.0.174 154 5/8/2025
3.0.173 149 5/7/2025
3.0.172 144 5/5/2025
3.0.171 142 5/5/2025
3.0.170 152 5/5/2025
3.0.169 141 5/5/2025
3.0.168 145 5/5/2025
3.0.167 145 5/5/2025
3.0.166 149 5/5/2025
3.0.165 145 5/5/2025
3.0.163 166 5/5/2025
3.0.162 174 4/11/2025
3.0.161 167 4/9/2025
3.0.160 158 4/9/2025
3.0.159 164 4/9/2025
3.0.158 163 4/8/2025
3.0.157 161 4/8/2025
3.0.156 170 4/8/2025
3.0.154 154 4/8/2025
3.0.153 150 4/8/2025
3.0.152 166 4/8/2025
3.0.151 158 4/8/2025
3.0.150 164 4/8/2025
3.0.149 158 4/8/2025
3.0.148 162 4/8/2025
3.0.147 155 4/8/2025
3.0.146 161 4/8/2025
3.0.145 170 4/8/2025
3.0.144 158 4/8/2025
3.0.143 162 4/7/2025
3.0.142 164 4/7/2025
3.0.141 167 4/7/2025
3.0.140 165 4/7/2025
3.0.139 170 4/7/2025
3.0.138 173 4/7/2025
3.0.137 176 4/7/2025
3.0.136 181 4/7/2025
3.0.135 170 4/7/2025
3.0.134 169 4/7/2025
3.0.133 179 4/7/2025
3.0.132 176 4/7/2025
3.0.131 187 4/7/2025
3.0.130 166 4/7/2025
3.0.129 168 4/7/2025
3.0.128 174 4/7/2025
3.0.127 180 4/7/2025
3.0.126 166 4/6/2025
3.0.125 172 4/6/2025
3.0.124 165 4/6/2025
3.0.123 188 4/6/2025
3.0.122 138 4/6/2025
3.0.121 144 4/6/2025
3.0.120 122 4/6/2025
3.0.119 121 4/6/2025
3.0.118 123 4/6/2025
3.0.117 114 4/5/2025
3.0.116 115 4/5/2025
3.0.115 92 4/5/2025
3.0.114 100 4/5/2025
3.0.113 92 4/5/2025
3.0.112 99 4/5/2025
3.0.111 106 4/5/2025
3.0.110 93 4/4/2025
3.0.109 106 4/4/2025
3.0.108 135 4/4/2025
3.0.107 153 4/4/2025
3.0.106 146 4/4/2025
3.0.105 150 4/4/2025
3.0.104 162 4/4/2025
3.0.103 154 4/4/2025
3.0.102 161 4/3/2025
3.0.101 165 4/1/2025
3.0.100 161 4/1/2025
3.0.99 157 4/1/2025
3.0.98 152 4/1/2025
3.0.97 150 4/1/2025
3.0.96 161 4/1/2025
3.0.95 161 4/1/2025
3.0.94 157 4/1/2025
3.0.93 162 4/1/2025
3.0.92 152 4/1/2025
3.0.91 159 4/1/2025
3.0.90 154 4/1/2025
3.0.89 161 4/1/2025
3.0.88 168 4/1/2025
3.0.87 164 3/31/2025
3.0.86 159 3/31/2025
3.0.85 166 3/31/2025
3.0.84 159 3/29/2025
3.0.83 99 3/29/2025
3.0.82 98 3/29/2025
3.0.81 91 3/29/2025
3.0.80 106 3/29/2025
3.0.79 98 3/29/2025
3.0.78 124 3/28/2025
3.0.77 137 3/27/2025
3.0.76 141 3/27/2025
3.0.75 139 3/27/2025
3.0.74 467 3/26/2025
3.0.73 478 3/26/2025
3.0.72 470 3/25/2025
3.0.71 470 3/25/2025
3.0.70 468 3/25/2025
3.0.69 482 3/25/2025
3.0.68 102 3/22/2025
3.0.67 79 3/22/2025
3.0.66 94 3/21/2025
3.0.65 117 3/21/2025
3.0.64 117 3/21/2025
3.0.63 140 3/21/2025
3.0.62 156 3/19/2025
3.0.61 156 3/19/2025
3.0.60 152 3/18/2025
3.0.59 150 3/18/2025
3.0.58 157 3/18/2025
3.0.57 147 3/18/2025
3.0.56 154 3/18/2025
3.0.55 155 3/18/2025
3.0.54 152 3/18/2025
3.0.53 154 3/18/2025
3.0.52 146 3/16/2025
3.0.51 143 3/16/2025
3.0.50 90 3/15/2025
3.0.49 89 3/15/2025
3.0.48 91 3/15/2025
3.0.47 84 3/15/2025
3.0.46 92 3/15/2025
3.0.45 84 3/15/2025
3.0.44 153 3/14/2025
3.0.43 156 3/13/2025
3.0.42 170 3/12/2025
3.0.41 173 3/12/2025
3.0.40 176 3/11/2025
3.0.39 173 3/11/2025
3.0.38 186 3/11/2025
3.0.37 191 3/11/2025
3.0.36 178 3/11/2025
3.0.35 185 3/11/2025
3.0.34 180 3/11/2025
3.0.33 215 3/7/2025
3.0.32 226 3/7/2025
3.0.31 234 3/7/2025
3.0.30 210 3/7/2025
3.0.29 223 3/7/2025
3.0.28 224 3/7/2025
3.0.27 214 3/7/2025
3.0.26 224 3/7/2025
3.0.25 224 3/7/2025
3.0.24 220 3/4/2025
3.0.23 212 3/4/2025
3.0.22 225 3/3/2025
3.0.21 221 3/3/2025
3.0.20 105 3/3/2025
3.0.19 142 3/3/2025
3.0.18 124 3/3/2025
3.0.17 122 3/2/2025
3.0.15 111 3/2/2025
3.0.14 123 3/2/2025
3.0.13 113 3/2/2025
3.0.12 114 3/2/2025
3.0.11 116 3/2/2025
3.0.10 119 3/2/2025
3.0.9 114 3/2/2025
3.0.8 115 3/2/2025
3.0.7 108 3/1/2025
3.0.6 108 3/1/2025
3.0.5 117 3/1/2025
3.0.4 114 3/1/2025
3.0.3 115 3/1/2025
3.0.2 109 3/1/2025
3.0.1 105 3/1/2025