Blazor Tooltip Overview

Updated on Jul 23, 2026

The Blazor Tooltip component enhances the default browser tooltips in a beautiful, cross-browser popup. The Tooltip component allows customization of its size, content, position and show event. Attach a single Tooltip instance to multiple targets to optimize the performance.

ninja-iconThe Tooltip component is part of Telerik UI for Blazor, a professional grade UI library with 110+ native components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.Start Free Trial

Creating Blazor Tooltip

The Blazor Tooltip will automatically display the value of title and alt attributes of HTML elements. The example below demonstrates this scenario, but it's also possible to define custom content in a template.

  1. Use the TelerikTooltip tag.
  2. Set the Tooltip's TargetSelector parameter to a string that is a CSS selector or CSS combinator. It should point to the HTML element(s) that will trigger a tooltip.
  3. (optional) Set the Tooltip's Width, Height or Position parameters. They will depend mostly on the Tooltip content and the targets' position on the page.

Basic Tooltip attached to multiple targets

<TelerikTooltip TargetSelector=".tooltip-target" />

<div style="padding: 5em;">
    Hover the button ...

    <TelerikButton Icon="@SvgIcon.Eye" Title="Hello world!" Class="tooltip-target" />

    ... and the question mark:

    <span title="I am a Telerik Blazor Tooltip." class="tooltip-target">
        <TelerikSvgIcon Icon="@SvgIcon.QuestionCircle" />
    </span>
</div>

For better performance, use one single Tooltip instance for multiple targets, especially if the targets are similar and a lot in number.

tip To have the tooltip stretch according to its content, leave both the Width and Height parameters empty. If one of them has a value, the HTML element will have some layout and you may get unexpected results in terms of size and position.

If you will be loading large content on demand, you should set dimensions that will accommodate the expected content and layout.

Position and Collision

The Blazor Tooltip normally appears above its target, but can show on all four sides. If there is not enough space, the component will shift (fit) or flip its position automatically. Learn how to control the Tooltip position and collision settings.

Show Behavior

By default, the Tooltip displays on mouse over, but it is possible to configure it to show on click or tap.

Template

The Blazor Tooltip accepts a nested <Template> tag, which is a standard Blazor RenderFragment. It lets you generate content for the Tooltip based on meta data from the target. You can also fetch data on demand for the Tooltip content through that. See examples in the Tooltip Template article.

Tooltip API

Get familiar with all Tooltip parameters, methods, events, and nested tags in the Tooltip API Reference.

Next Steps

See Also