The JavaScript Tooltip is a pop-up control that displays additional information or a message when users hover, click, focus, or touch an image, button, anchor tag, etc. A Tooltip can contain simple text, images, hyperlinks, or custom templates.
The JavaScript Tooltip has twelve different options to position it around the target. Also, Tooltips can be configured to follow or not follow the mouse. Tip pointer positions are right, left, top, and bottom.
The JavaScript Tooltip intelligently auto positions its content and arrows. It also fits in the best location of the view port or container.
Load content dynamically to JS Tooltip on demand using the AJAX callback.
Show or hide the JavaScript Tooltip with smooth animations and control the animation via effect, duration, and delay.
The tooltip content can be loaded with HTML elements, images, hyperlinks, iframe, videos, maps, etc. Users can also add a title to the content.
Show or hide an HTML5 Tooltip using hover, click, double-click, focus, and custom modes. Use the custom mode to show or hide a tooltip.
Customize the offset position of a tooltip from a target element.
Prevent the tooltip from hiding after a short duration using the sticky mode.
Show the JavaScript Tooltip on hover, click, touch, and focus on any element.
The HTML5 Tooltip can be fully customized using CSS styles.
HTML5 Tooltip is shipped with several built-in themes such as Bootstrap 5, Fluent, Tailwind CSS, Material, high contrast, and more. Users can customize any one of these built-in themes or create new themes by either simply overriding SASS variables or using the Theme Studio application.
Users just need a message and target element to make the JS Tooltip fully functional. It will work out of the box. However, it provides many options to change the position, animation, and appearance.
Best user experience on touch devices such as phones and tablets by recognizing touch gestures.
JavaScript Tooltip supports both SVG and canvas elements. Users can directly attach tooltips to HTML5 <svg> or <canvas> elements to show data visualization elements.
Several built-in, Sass-based themes are available: Fluent, Tailwind CSS, Bootstrap 5, Bootstrap, Material, and high contrast. Users can customize these themes by either overriding the existing Sass styles or creating custom themes using the Theme Studio application.
The Tooltip component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different Tooltip platforms from the links below,
Fully supports WAI-ARIA accessibility to make it accessible to screen readers and assistive devices.
Based on the WCAG 2.0 standard, UI visual elements such as foreground color, background color, line spacing, text, and images are designed.
Follows WAI-ARIA best practices best practices for implementing keyboard interaction.
In JS Tooltip, users can control all the UI elements and behaviors. A rich set of developer-friendly APIs provides the best user experience..
Easily get started with the JavaScript Tooltip (HTML5 Tooltip) using a few simple lines of HTML and TS code, as demonstrated below. Also explore our JavaScript Tooltip example that shows you how to render and configure the Tooltip in JS.
<div style="margin: 50px;">
<!--element which is going to render-->
<span id='target'>Show Tooltip</span>
</div>
import { Tooltip } from '@syncfusion/ej2-popups';
// initialize tooltip component
let tooltip: Tooltip = new Tooltip({
content: 'Tooltip content'
});
// render initialized tooltip
tooltip.appendTo('#target');
We do not sell the JavaScript Tooltip separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the JavaScript Tooltip. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
You can find our JavaScript Tooltip demo here.
No, our 1,800+ components and frameworks for web, mobile, and desktop, including our JavaScript Tooltip, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their Tooltip control alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.