Soenneker.Blazor.Interops.Floating 4.0.128

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Blazor.Interops.Floating --version 4.0.128
                    
NuGet\Install-Package Soenneker.Blazor.Interops.Floating -Version 4.0.128
                    
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.Blazor.Interops.Floating" Version="4.0.128" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Blazor.Interops.Floating" Version="4.0.128" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Blazor.Interops.Floating" />
                    
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.Blazor.Interops.Floating --version 4.0.128
                    
#r "nuget: Soenneker.Blazor.Interops.Floating, 4.0.128"
                    
#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.Blazor.Interops.Floating@4.0.128
                    
#: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.Blazor.Interops.Floating&version=4.0.128
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Blazor.Interops.Floating&version=4.0.128
                    
Install as a Cake Tool

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 alternate text is missing from this package README image

Soenneker.Blazor.Interops.Floating

A small shared loader for the browser builds of Floating UI Core and Floating UI DOM. It makes the FloatingUICore and FloatingUIDOM JavaScript globals available to other Blazor interop libraries.

This package does not expose computePosition or render a tooltip, popover, or floating window by itself. Application code looking for a ready-made component should use a higher-level package such as Soenneker.Blazor.Floating.Tooltips.

Installation

dotnet add package Soenneker.Blazor.Interops.Floating

Registration

using Soenneker.Blazor.Interops.Floating.Registrars;

builder.Services.AddFloatingUiInteropAsScoped();

AddFloatingInteropAsScoped() is retained as an alias for the same registration.

Initialize the browser dependencies

Inject IFloatingUiInterop into the component or interop service that needs the JavaScript globals, then initialize after browser interop is available:

@using Soenneker.Blazor.Interops.Floating.Abstract
@inject IFloatingUiInterop FloatingUi

@code {
    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (firstRender)
            await FloatingUi.Initialize(useCdn: false);
    }
}

With useCdn: true (the default), pinned Floating UI scripts are loaded from jsDelivr with integrity checks. With false, the package's static web assets are loaded instead. The scoped loader initializes once, so all consumers in the same scope should use the same source choice; the first successful call determines it.

Initialization is safe to call repeatedly and concurrently. Cancellation stops a pending caller but does not unload scripts already added to the page. Disposing the scoped service releases its .NET initialization resources; browser globals remain on the page.

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 (3)

Showing the top 3 NuGet packages that depend on Soenneker.Blazor.Interops.Floating:

Package Downloads
Soenneker.Blazor.Floating.Tooltips

A Blazor interop library using the modern library, floating-ui, for tooltips

Soenneker.Bradix.Suite

Radix-style UI primitives, built for Blazor.

Soenneker.Blazor.Floating.Windows

A Blazor UI element for a drag and drop, overlayed window

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.163 0 11/12/2026
11.0.162 0 11/12/2026
11.0.161 0 11/12/2026
11.0.160 0 11/11/2026
11.0.159 0 11/11/2026
11.0.158 4 11/11/2026
11.0.157 33 11/11/2026
11.0.156 54 11/11/2026
11.0.154 136 11/11/2026
11.0.153 43 11/11/2026
11.0.151 71 11/11/2026
11.0.150 59 11/11/2026
11.0.148 2,814 11/4/2026
11.0.147 396 11/3/2026
11.0.146 446 11/3/2026
11.0.145 183 11/3/2026
11.0.144 416 11/3/2026
11.0.143 119 11/3/2026
11.0.142 132 11/3/2026
4.0.128 147 10/15/2026
Loading failed

Updated Multiple NuGet packages