Soenneker.Blazor.Floating.Tooltips 3.0.135

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

Logo Soenneker.Blazor.Floating.Tooltips

⚡ A modern Blazor interop library for Floating UI-powered tooltips

🧪 Click here to try the demo

Soenneker.Blazor.Floating.Tooltips is a fully featured Blazor component library that integrates with Floating UI to provide sleek, customizable, and highly interactive tooltips using a pure C# API.


✨ Features

  • ✅ Position-aware and collision-resistant tooltips
  • 🎯 Custom placements, delays, and themes
  • 🧲 Interactive and manually triggered tooltips
  • 🎨 Dark/light theming with optional arrows
  • 🔧 Full control via C# with event callbacks
  • 🪶 Lightweight with optional CDN usage
  • 🔁 Runtime toggle, show, and hide support
  • 💥 Optimized for performance and resilience

📦 Installation

dotnet add package Soenneker.Blazor.Floating.Tooltips

Register:

services.AddFloatingTooltipAsScoped();

🛠️ Usage

Basic example with plain string content:

<FloatingTooltip Text="Hello tooltip!">
    <button class="btn">Hover me</button>
</FloatingTooltip>

With full options and event handling:

<FloatingTooltip
                 Text="This is an interactive tooltip"
                 Placement="FloatingTooltipPlacement.Top"
                 Animate="true"
                 ShowArrow="true"
                 Interactive="true"
                 OnShow="HandleShow"
                 OnHide="HandleHide"
                 Theme="FloatingTooltipTheme.Dark">
    <span class="text-muted">Hover over me</span>
</FloatingTooltip>

@code {
    private void HandleShow() => Console.WriteLine("Tooltip shown!");
    private void HandleHide() => Console.WriteLine("Tooltip hidden!");
}

Using TooltipContent instead of Text:

<FloatingTooltip>
    <TooltipContent>
        <div class="p-2">🧠 <strong>Smart Tooltip</strong><br />Rich content goes here</div>
    </TooltipContent>
    <button class="btn btn-primary">Hover me</button>
</FloatingTooltip>

⚙️ Options

You can use the Options parameter or inline params:

Options = new FloatingTooltipOptions
{
    Animate = true,
    ShowArrow = true,
    Theme = FloatingTooltipTheme.Light,
    MaxWidth = 250,
    ManualTrigger = false,
    UseCdn = true
}

Or shorthand:

Animate="true" Theme="FloatingTooltipTheme.Dark"

🧩 Interop Methods

You can control tooltips programmatically via:

await tooltipRef.Show();
await tooltipRef.Hide();
await tooltipRef.Toggle();
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.149 111 9/9/2025
3.0.148 106 9/9/2025
3.0.147 103 9/9/2025
3.0.146 102 9/9/2025
3.0.145 103 9/9/2025
3.0.144 107 9/9/2025
3.0.143 104 9/9/2025
3.0.142 114 9/9/2025
3.0.141 111 9/9/2025
3.0.140 113 9/7/2025
3.0.139 98 9/6/2025
3.0.138 101 9/6/2025
3.0.137 96 9/6/2025
3.0.136 101 9/6/2025
3.0.135 73 9/5/2025
3.0.134 75 9/5/2025
3.0.133 78 9/5/2025
3.0.132 90 9/5/2025
3.0.131 140 9/4/2025
3.0.130 140 9/3/2025
3.0.129 136 9/3/2025
3.0.128 139 9/3/2025
3.0.127 138 9/3/2025
3.0.126 133 9/3/2025
3.0.125 138 9/3/2025
3.0.124 136 9/3/2025
3.0.123 134 9/3/2025
3.0.122 147 9/3/2025
3.0.121 140 9/3/2025
3.0.120 136 9/3/2025
3.0.119 142 9/3/2025
3.0.118 136 9/3/2025
3.0.117 89 8/22/2025
3.0.116 113 8/16/2025
3.0.115 124 8/15/2025
3.0.114 136 8/14/2025
3.0.113 134 8/12/2025
3.0.112 129 8/12/2025
3.0.111 129 8/11/2025
3.0.110 128 8/11/2025
3.0.109 130 8/11/2025
3.0.108 136 8/11/2025
3.0.107 121 8/11/2025
3.0.106 125 8/11/2025
3.0.105 124 8/11/2025
3.0.104 122 8/11/2025
3.0.103 127 8/11/2025
3.0.102 127 8/11/2025
3.0.101 208 8/6/2025
3.0.100 216 8/5/2025
3.0.99 220 8/5/2025
3.0.98 222 8/5/2025
3.0.97 222 8/5/2025
3.0.96 202 8/5/2025
3.0.95 199 8/5/2025
3.0.94 109 7/29/2025
3.0.93 457 7/24/2025
3.0.92 261 7/14/2025
3.0.91 143 7/13/2025
3.0.90 149 7/9/2025
3.0.89 138 7/9/2025
3.0.88 142 7/9/2025
3.0.87 140 7/9/2025
3.0.86 143 7/8/2025
3.0.85 143 7/8/2025
3.0.84 142 7/4/2025
3.0.83 150 7/3/2025
3.0.82 139 7/2/2025
3.0.81 144 6/28/2025
3.0.80 64 6/28/2025
3.0.79 68 6/28/2025
3.0.78 67 6/28/2025
3.0.77 63 6/28/2025
3.0.76 69 6/27/2025
3.0.75 65 6/27/2025
3.0.74 78 6/27/2025
3.0.73 85 6/27/2025
3.0.72 156 6/24/2025
3.0.71 412 6/11/2025
3.0.70 294 6/11/2025
3.0.69 294 6/11/2025
3.0.68 293 6/10/2025
3.0.67 284 6/10/2025
3.0.66 291 6/10/2025
3.0.65 284 6/10/2025
3.0.64 302 6/9/2025
3.0.63 161 6/3/2025
3.0.62 155 6/2/2025
3.0.61 163 6/1/2025
3.0.60 158 5/28/2025
3.0.59 147 5/28/2025
3.0.58 147 5/28/2025
3.0.57 153 5/27/2025
3.0.56 151 5/27/2025
3.0.55 157 5/27/2025
3.0.54 150 5/27/2025
3.0.53 151 5/27/2025
3.0.52 148 5/27/2025
3.0.51 149 5/27/2025
3.0.50 112 5/25/2025
3.0.49 112 5/23/2025
3.0.48 116 5/23/2025
3.0.47 125 5/23/2025
3.0.46 142 5/23/2025
3.0.45 129 5/23/2025
3.0.44 144 5/23/2025
3.0.43 139 5/23/2025
3.0.42 148 5/22/2025
3.0.41 148 5/22/2025
3.0.40 177 5/19/2025
3.0.39 147 5/18/2025
3.0.38 115 5/18/2025
3.0.37 242 5/15/2025
3.0.36 238 5/15/2025
3.0.35 239 5/15/2025
3.0.34 231 5/14/2025
3.0.33 238 5/13/2025
3.0.32 189 5/8/2025
3.0.31 161 5/8/2025
3.0.30 154 5/8/2025
3.0.29 165 5/8/2025
3.0.28 155 5/8/2025
3.0.27 150 5/8/2025
3.0.26 154 5/8/2025
3.0.25 150 5/8/2025
3.0.24 166 5/8/2025
3.0.23 159 5/7/2025
3.0.22 155 5/7/2025
3.0.21 153 5/7/2025
3.0.20 164 5/6/2025
3.0.19 150 5/6/2025
3.0.18 154 5/6/2025
3.0.17 146 5/5/2025
3.0.16 149 5/5/2025
3.0.15 149 5/5/2025
3.0.14 156 5/5/2025
3.0.13 156 5/5/2025
3.0.12 156 5/5/2025
3.0.11 174 5/1/2025
3.0.10 174 5/1/2025
3.0.9 160 5/1/2025
3.0.8 167 5/1/2025
3.0.7 172 4/29/2025
3.0.6 158 4/29/2025
3.0.5 111 4/27/2025
3.0.4 101 4/26/2025
3.0.3 156 4/12/2025
3.0.2 112 4/11/2025
3.0.1 107 4/11/2025