syncfusion-blazor-toolkit-tooltip

Implement SfTooltip components with positioning, triggers, and accessibility in Blazor applications.

19|8|Updated May 12, 2026
One-click install
npx skills add https://github.com/syncfusion/blazor-toolkit --skill syncfusion-blazor-toolkit-tooltip-syncfusion
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: syncfusion-blazor-toolkit-tooltip
Source: https://github.com/syncfusion/blazor-toolkit/tree/main/.github/skills/syncfusion-blazor-toolkit-popups/tooltip
Command: npx skills add https://github.com/syncfusion/blazor-toolkit --skill syncfusion-blazor-toolkit-tooltip-syncfusion

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Adding contextual help text to Blazor UI elements requires correct trigger configuration, positioning, and ARIA semantics, and common mistakes like wrapping disabled buttons or misusing click triggers silently break tooltips. ## Core Features & Use Cases - Trigger and Positioning Configuration: Configure hover, focus, click, or custom open modes with 12 position slots, arrow pointers, window collision handling, and container constraints. - Content and Animation Control: Render plain text via Content or rich markup via ContentTemplate, with single-effect animations and open/close delays. - Accessibility and Anti-Pattern Guidance: Built-in rules for ARIA role="tooltip", keyboard focus behavior, disabled-control wrappers, and a decision matrix for choosing Tooltip versus Dialog. - Use Case: Add a "Save (Ctrl+S)" hint to an icon button, show validation explanations on a disabled submit button via a focusable wrapper, or programmatically show and hide tooltips with @ref methods. ## Quick Start Add a Syncfusion Blazor tooltip showing "Save (Ctrl+S)" on hover above my save button using SfTooltip with TopCenter positioning.

Frequently Asked Questions about syncfusion-blazor-toolkit-tooltip

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a tooltip to a button in Blazor?▼

Wrap the button in an SfTooltip component and set the Content property with your text. The default OpensOn="Auto" mode shows the tooltip on hover or keyboard focus, and Position controls which of the 12 slots it appears in.

When should I use SfTooltip versus SfDialog in Blazor?▼

Use SfTooltip for brief, non-blocking informational text on hover or focus. Use SfDialog with IsModal="true" for confirmations, required input, or any content that must block user interaction, since tooltips never trap focus or block the page.

Why does my Blazor tooltip not appear on a disabled button?▼

Disabled buttons fire no mouse or focus events, so the tooltip never triggers. Wrap the disabled SfButton in a focusable span with tabindex="0" and attach the tooltip to that wrapper, or render the explanation as visible text instead.

Can SfTooltip display HTML content instead of plain text?▼

Yes, use the ContentTemplate child element to render HTML markup or even nested components like SfButton inside the tooltip. Use the Content property only for plain text strings, never for HTML.

How do I show or hide a Blazor tooltip programmatically?▼

Set OpensOn="Custom", capture the component with @ref, and call its Show and Hide methods from event handlers. The hover and focus lifecycle is bypassed entirely in Custom mode, giving you full manual control.

Is SfTooltip accessible for keyboard and screen reader users?▼

Yes, SfTooltip applies role="tooltip" and sets aria-describedby on the trigger automatically, and Escape dismisses it by default. Use OpensOn="Auto" or "Focus" so keyboard users receive the tooltip when tabbing to the trigger.