Tooltip, popover, dropdown, and menu library
➡️ View the latest demo & docs here
# npm
npm i tippy.js
# Yarn
yarn add tippy.jsImport the tippy constructor and the core CSS:
import tippy from 'tippy.js';
import 'tippy.js/dist/tippy.css';<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>The core CSS comes bundled with the default unpkg import.
For detailed usage information, visit the docs.
MIT
border.css: CSS arrow border
Accessing element.ref was removed in React 19
Migrate from Popper (v2) to Floating UI (Popper successor)
I would love to only show the tippy after the user stops selecting the text
Tippy stopped working on Webflow
Add simple arrow styling to the documentation
Unable to change tooltip style in Webflow
Reference HTML elements in a data-tippy attribute
tippy('span.class'): if new spans are created, they don't have tippys
Tippy tooltip does not hide when reference element is scrolled out of view