Soenneker.Blazor.Floating.Tooltips 3.0.5

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.5
                    
NuGet\Install-Package Soenneker.Blazor.Floating.Tooltips -Version 3.0.5
                    
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.5" />
                    
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.5" />
                    
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.5
                    
#r "nuget: Soenneker.Blazor.Floating.Tooltips, 3.0.5"
                    
#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.5
                    
#: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.5
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Blazor.Floating.Tooltips&version=3.0.5
                    
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.161 0 9/18/2025
3.0.160 0 9/18/2025
3.0.159 0 9/18/2025
3.0.158 31 9/17/2025
3.0.157 30 9/17/2025
3.0.156 34 9/17/2025
3.0.155 37 9/17/2025
3.0.154 35 9/17/2025
3.0.153 34 9/16/2025
3.0.152 33 9/16/2025
3.0.151 36 9/16/2025
3.0.150 43 9/16/2025
3.0.149 137 9/9/2025
3.0.148 129 9/9/2025
3.0.147 126 9/9/2025
3.0.146 126 9/9/2025
3.0.145 126 9/9/2025
3.0.144 129 9/9/2025
3.0.143 126 9/9/2025
3.0.142 127 9/9/2025
3.0.141 124 9/9/2025
3.0.140 114 9/7/2025
3.0.139 99 9/6/2025
3.0.138 102 9/6/2025
3.0.137 97 9/6/2025
3.0.136 102 9/6/2025
3.0.135 74 9/5/2025
3.0.134 76 9/5/2025
3.0.133 79 9/5/2025
3.0.132 91 9/5/2025
3.0.131 141 9/4/2025
3.0.130 141 9/3/2025
3.0.129 137 9/3/2025
3.0.128 140 9/3/2025
3.0.127 139 9/3/2025
3.0.126 134 9/3/2025
3.0.125 139 9/3/2025
3.0.124 138 9/3/2025
3.0.123 135 9/3/2025
3.0.122 148 9/3/2025
3.0.121 141 9/3/2025
3.0.120 137 9/3/2025
3.0.119 144 9/3/2025
3.0.118 138 9/3/2025
3.0.117 90 8/22/2025
3.0.116 114 8/16/2025
3.0.115 125 8/15/2025
3.0.114 137 8/14/2025
3.0.113 135 8/12/2025
3.0.112 130 8/12/2025
3.0.111 130 8/11/2025
3.0.110 129 8/11/2025
3.0.109 131 8/11/2025
3.0.108 137 8/11/2025
3.0.107 122 8/11/2025
3.0.106 126 8/11/2025
3.0.105 125 8/11/2025
3.0.104 123 8/11/2025
3.0.103 128 8/11/2025
3.0.102 128 8/11/2025
3.0.101 209 8/6/2025
3.0.100 217 8/5/2025
3.0.99 221 8/5/2025
3.0.98 223 8/5/2025
3.0.97 223 8/5/2025
3.0.96 203 8/5/2025
3.0.95 200 8/5/2025
3.0.94 110 7/29/2025
3.0.93 459 7/24/2025
3.0.92 267 7/14/2025
3.0.91 144 7/13/2025
3.0.90 150 7/9/2025
3.0.89 139 7/9/2025
3.0.88 143 7/9/2025
3.0.87 141 7/9/2025
3.0.86 144 7/8/2025
3.0.85 144 7/8/2025
3.0.84 143 7/4/2025
3.0.83 151 7/3/2025
3.0.82 140 7/2/2025
3.0.81 145 6/28/2025
3.0.80 66 6/28/2025
3.0.79 69 6/28/2025
3.0.78 68 6/28/2025
3.0.77 64 6/28/2025
3.0.76 70 6/27/2025
3.0.75 66 6/27/2025
3.0.74 80 6/27/2025
3.0.73 86 6/27/2025
3.0.72 158 6/24/2025
3.0.71 413 6/11/2025
3.0.70 295 6/11/2025
3.0.69 295 6/11/2025
3.0.68 295 6/10/2025
3.0.67 285 6/10/2025
3.0.66 293 6/10/2025
3.0.65 285 6/10/2025
3.0.64 305 6/9/2025
3.0.63 162 6/3/2025
3.0.62 156 6/2/2025
3.0.61 164 6/1/2025
3.0.60 159 5/28/2025
3.0.59 148 5/28/2025
3.0.58 148 5/28/2025
3.0.57 155 5/27/2025
3.0.56 152 5/27/2025
3.0.55 158 5/27/2025
3.0.54 152 5/27/2025
3.0.53 153 5/27/2025
3.0.52 149 5/27/2025
3.0.51 151 5/27/2025
3.0.50 114 5/25/2025
3.0.49 113 5/23/2025
3.0.48 117 5/23/2025
3.0.47 126 5/23/2025
3.0.46 143 5/23/2025
3.0.45 130 5/23/2025
3.0.44 147 5/23/2025
3.0.43 141 5/23/2025
3.0.42 149 5/22/2025
3.0.41 149 5/22/2025
3.0.40 178 5/19/2025
3.0.39 148 5/18/2025
3.0.38 116 5/18/2025
3.0.37 245 5/15/2025
3.0.36 242 5/15/2025
3.0.35 240 5/15/2025
3.0.34 232 5/14/2025
3.0.33 241 5/13/2025
3.0.32 190 5/8/2025
3.0.31 163 5/8/2025
3.0.30 155 5/8/2025
3.0.29 168 5/8/2025
3.0.28 156 5/8/2025
3.0.27 151 5/8/2025
3.0.26 156 5/8/2025
3.0.25 151 5/8/2025
3.0.24 168 5/8/2025
3.0.23 160 5/7/2025
3.0.22 156 5/7/2025
3.0.21 154 5/7/2025
3.0.20 165 5/6/2025
3.0.19 152 5/6/2025
3.0.18 157 5/6/2025
3.0.17 147 5/5/2025
3.0.16 150 5/5/2025
3.0.15 150 5/5/2025
3.0.14 157 5/5/2025
3.0.13 159 5/5/2025
3.0.12 159 5/5/2025
3.0.11 175 5/1/2025
3.0.10 174 5/1/2025
3.0.9 160 5/1/2025
3.0.8 168 5/1/2025
3.0.7 172 4/29/2025
3.0.6 159 4/29/2025
3.0.5 112 4/27/2025
3.0.4 102 4/26/2025
3.0.3 156 4/12/2025
3.0.2 113 4/11/2025
3.0.1 107 4/11/2025