The Blazor Tooltip UI component replaces the default browser tooltip and enables you to enrich displayed information with text, images, HTML and even other components. The Tooltip control offers full range of customization through its templates, configuration of position and exposed events and works for both Blazor WebAssembly (WASM) and Server-side Blazor apps.
The Tooltip component location can be configured according to its target element using the Position parameter. Depending on your Blazor app scenario, the Tooltip component can be set to the following positions:
The content of the Tooltip component can easily be customized using the tooltip template, which enables styling with text, images, HTML or components. This is possible via the template context object which provides access to the tooltip target metadata (data attributes and title) and can easily be related to the tooltip content.
Using the ShowOn parameter in the Tooltip component, you can control in your Blazor apps which interaction would invoke the display of the tooltip. By default, the Tooltip shows on hover (mouseover) of its target, just like the browser tooltips that the Tooltip component replaces. Additionally, you can trigger the Tooltip display with the click event.
The Telerik Blazor Tooltip has several built-in themes such as Default (our own styling), Material (based on the Material Design guidelines) and Bootstrap (which looks like the Bootstrap styling to integrate better). You can easily customize any of out-of-the-box themes with a few lines of CSS, or create new theme to match your colors and branding by using the Telerik SASS ThemeBuilder application.