Stage 01 · Write · Researched comparison
Best JavaScript Tooltip Libraries in 2026
Floating UI is the first pick for most teams that need full control over tooltip and popover positioning, because it is a low-level, framework-agnostic library with an active release cycle. Radix UI Tooltip suits React apps that want accessible behavior out of the box. For zero dependencies, the native Popover API is worth a look.
By Shihab Mia
Published 27 Nov 2026 · 5 tools compared
We run no ads and no affiliate links at launch. The order of a list follows our published method. See how we score.
Prices are the starting prices vendors list publicly. Plans change, so confirm the current price on the vendor page before you buy.
Key takeaways
- Floating UI is free and open source, works with any framework, and handles positioning rather than styling, so you build the tooltip markup yourself.
- Radix UI Tooltip and React Tooltip are free and open source and target React only; neither helps in Vue, Svelte or plain JavaScript projects.
- Bootstrap tooltips ship with the Bootstrap bundle and need Popper for positioning; the native Popover API is built into modern browsers at no cost.
Who each pick is for
- Custom tooltips and popovers in any frameworkFloating UI
- Accessible tooltips in React design systemsRadix UI Tooltip
- Simple tooltips in React appsReact Tooltip
- Tooltips inside an existing Bootstrap projectBootstrap tooltips
- Zero-dependency popovers in modern browsersNative Popover API
Comparison
| Tool | Best for | Standout feature | Listed starting price | Free plan or trial |
|---|---|---|---|---|
| 1Floating UI | Custom tooltips and popovers in any framework | Framework-agnostic positioning engine | Free (open source) | Free plan |
| 2Radix UI Tooltip | Accessible tooltips in React design systems | Keyboard and screen reader behavior handled | Free (open source) | Free plan |
| 3React Tooltip | Simple tooltips in React apps | Small API with data-attribute and hook usage | Free (open source) | Free plan |
| 4Bootstrap tooltips | Tooltips inside an existing Bootstrap project | No extra dependency beyond Bootstrap and Popper | Free (open source) | Free plan |
| 5Native Popover API | Zero-dependency popovers in modern browsers | Built into the browser with no library to ship | Free | Free plan |
How we picked
We picked libraries that genuinely handle tooltip or popover display and positioning, then compared them on fit for the job, supported frameworks, licence and price, whether tooltip content stays in the browser, and their main limits. Sources are vendor documentation pages, project repositories and public pricing pages. We did not run benchmarks or collect user reviews. Prices and maintenance status change, so confirm details on the vendor site before you commit.
The tools, one by one
Floating UI
Best for custom tooltips and popovers in any framework

What it is and where it fits
Floating UI is the successor to Popper and focuses on one job: placing a floating element such as a tooltip, popover or dropdown next to a reference element. It ships packages for React, Vue, Svelte and plain DOM, plus middleware for flipping, shifting, arrow placement and size detection when a tooltip would overflow the viewport.
The library gives you positioning and nothing else. You create the tooltip element, attach the CSS and manage show and hide behavior, which is why it fits design systems that already have their own components. Because it runs in the browser as a bundled dependency, no data leaves the page.
It is free under an open-source licence with no paid tier. Skip it if you want a styled tooltip with animation presets out of the box; a component library covers that faster.
Standout: Framework-agnostic positioning engine
Free (open source), as listed by the vendor (Floating UI website). Confirm the current plan price before you buy.
Free plan. Plans change, so confirm on the vendor's pricing page before you buy.
Benefits
- Framework-agnostic positioning engine
- active development and broad middleware set
Drawbacks
- No styling or markup included
- you write the tooltip element and CSS
Skip it if this limit matters to you: no styling or markup included.
Verdict. A sensible pick for custom tooltips and popovers in any framework.
Alternatives in this guide: Radix UI Tooltip, React Tooltip, Bootstrap tooltips
Radix UI Tooltip
Best for accessible tooltips in React design systems

What it is and where it fits
Radix UI Primitives includes a Tooltip component that handles focus, hover, escape-to-close and ARIA attributes. It is unstyled, so you apply your own CSS, and it composes with the rest of the Radix primitives if you already use them for dialogs or menus.
The component is part of a larger React library, so adopting it means pulling in the Radix primitives package and its peer dependencies. It does not work outside React, and it does not position tooltips on its own in the way Floating UI does; Radix manages that internally.
It is free and open source with no paid tier. Choose it when accessibility behavior matters more than a ready-made visual theme, and skip it for Vue, Svelte or plain JavaScript projects.
Standout: Keyboard and screen reader behavior handled
Free (open source), as listed by the vendor (Radix UI Tooltip website). Confirm the current plan price before you buy.
Free plan. Plans change, so confirm on the vendor's pricing page before you buy.
Benefits
- Keyboard and screen reader behavior handled
- unstyled so it fits any design system
Drawbacks
- React only
- you supply all visual styling
Skip it if this limit matters to you: react only.
Verdict. A sensible pick for accessible tooltips in React design systems.
Alternatives in this guide: Floating UI, React Tooltip, Bootstrap tooltips
React Tooltip
Best for simple tooltips in React apps

What it is and where it fits
React Tooltip is a standalone React component library for tooltips. You can attach tooltips with a data-tooltip-id attribute or through the provided hook, and it supports placement options, custom content and TypeScript typings.
It aims at common cases rather than deep customization. If you need fine control over collision detection or arrow behavior across many edge cases, a positioning engine plus your own component gives more room. For typical app tooltips, the setup is short.
It is free and open source with no paid plan. It runs entirely in the client, so no tooltip content is sent anywhere. Skip it if your project is not React.
Standout: Small API with data-attribute and hook usage
Free (open source), as listed by the vendor (React Tooltip website). Confirm the current plan price before you buy.
Free plan. Plans change, so confirm on the vendor's pricing page before you buy.
Benefits
- Small API with data-attribute and hook usage
- TypeScript types included
Drawbacks
- React only
- fewer positioning controls than a full engine
Skip it if this limit matters to you: react only.
Verdict. A sensible pick for simple tooltips in React apps.
Alternatives in this guide: Floating UI, Radix UI Tooltip, Bootstrap tooltips
Bootstrap tooltips
Best for tooltips inside an existing Bootstrap project

What it is and where it fits
Bootstrap ships a Tooltip component as part of its JavaScript bundle. It depends on Popper for positioning, which Bootstrap includes in its own bundle, and it follows Bootstrap's markup and CSS conventions.
Tooltips are opt-in for performance reasons, so you initialize them with JavaScript and set the title or data-bs-title attribute. The component is designed for Bootstrap pages; using it outside Bootstrap means carrying the framework's CSS and JS for one feature.
It is free and open source. Choose it when the project already uses Bootstrap and you want visual consistency. Skip it for projects that do not use Bootstrap, since a standalone library is lighter.
Standout: No extra dependency beyond Bootstrap and Popper
Free (open source), as listed by the vendor (Bootstrap tooltips website). Confirm the current plan price before you buy.
Free plan. Plans change, so confirm on the vendor's pricing page before you buy.
Benefits
- No extra dependency beyond Bootstrap and Popper
- consistent with Bootstrap styling
Drawbacks
- Tied to the Bootstrap ecosystem
- tooltips are opt-in and need initialization
Skip it if this limit matters to you: tied to the Bootstrap ecosystem.
Verdict. A sensible pick for tooltips inside an existing Bootstrap project.
Alternatives in this guide: Floating UI, Radix UI Tooltip, React Tooltip
Native Popover API
Best for zero-dependency popovers in modern browsers

What it is and where it fits
The Popover API is a browser feature, not a library. You mark an element with the popover attribute and a button with popovertarget, and the browser handles showing, hiding, light dismiss and top-layer stacking. It is supported in current versions of major browsers, though older versions and some features have narrower support.
It covers popovers well but is not a full tooltip system. Positioning is largely left to CSS anchor positioning, which has uneven support, so many teams pair the API with a positioning library. Hover-triggered tooltips also need extra work because the API is built around click and dismiss behavior.
It is free because it ships with the browser. No data leaves the page. Skip it if you must support older browsers or need hover tooltips with precise placement today.
Standout: Built into the browser with no library to ship
Free, as listed by the vendor (Native Popover API website). Confirm the current plan price before you buy.
Free plan. Plans change, so confirm on the vendor's pricing page before you buy.
Benefits
- Built into the browser with no library to ship
- top-layer rendering avoids stacking issues
Drawbacks
- Browser support varies by feature
- limited built-in positioning
Skip it if this limit matters to you: browser support varies by feature.
Verdict. A sensible pick for zero-dependency popovers in modern browsers.
Alternatives in this guide: Floating UI, Radix UI Tooltip, React Tooltip
Who should use what
If you are building a design system and need precise control, start with Floating UI and write your own tooltip component. If you are in a React app and accessibility is the priority, Radix UI Tooltip handles keyboard and screen reader behavior for you. If your project already uses Bootstrap, its built-in tooltip keeps styling consistent. For modern browsers and no dependencies, try the native Popover API.
Questions to settle before you buy
What to check before you buy
- Confirm the library supports your framework and current browser targets, including any older browsers you must serve.
- Check the licence and whether the project is actively maintained or in maintenance mode.
- Verify that tooltip content and any data stay in the browser and are not sent to a third party.
- Test keyboard focus, escape-to-close and screen reader output, not just mouse hover.
- Check how the library handles viewport edges, scrolling containers and stacking contexts.
FAQ
Do I need a library for tooltips?
Not always. The native Popover API and CSS can cover simple cases. A library helps when you need reliable positioning near viewport edges, consistent behavior across browsers, or accessible keyboard and screen reader handling without writing it yourself.
Can I use these libraries outside React?
Floating UI, Bootstrap tooltips and the native Popover API work outside React. Radix UI Tooltip and React Tooltip are React-only. Check the package you plan to use, since some libraries publish separate framework packages.
Are these tooltip libraries free?
All five options listed are free. Four are open source under their project licences, and the native Popover API is a browser feature with no cost. None of the entries here requires a paid plan to use tooltips.
Do tooltips send data anywhere?
The libraries listed run in the browser and do not send tooltip content to a server. Still, avoid putting secrets, tokens or production data into any third-party demo page you use to test tooltip behavior.
Sources we checked
Method: how we score · editorial policy.
Change log. First published 27 Nov 2026.