react-tooltip
react tooltip component
Last updated 9 years ago by wwayne .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install react-tooltip 
SYNC missed versions from official npm registry.

react-tooltip

Version typescript code style: prettier npm download minified minified gzip

If you like the project, please give the project a GitHub 🌟


Why do we show ads on our docs?

  • ReactTooltip is an open source project, this is the way we found to be financed by the community.

Demo

Edit ReactTooltip

Documentation for V4 - Github Page.

Documentation for V5 - ReactTooltip.


Installation

npm install react-tooltip

or

yarn add react-tooltip

Sponsors

Gold Sponsors 🌟

Frigade

React Tooltip is proud to be sponsored by Frigade, a developer tool for building better product onboarding: guided tours, getting started checklists, announcements, etc.

Silver Sponsors ✪

Powered by

Usage

1 . Import the CSS file to set default styling.

[!WARNING]
If you are using a version before than v5.13.0, you must import the CSS file or the tooltip won't show!

import 'react-tooltip/dist/react-tooltip.css'

This needs to be done only once and only if you are using a version before than 5.13.0. We suggest you do it on your src/index.js or equivalent file.

2 . Import react-tooltip after installation.

import { Tooltip } from 'react-tooltip'

or if you want to still use the name ReactTooltip as V4:

import { Tooltip as ReactTooltip } from 'react-tooltip'

3 . Add data-tooltip-id="<tooltip id>" and data-tooltip-content="<your placeholder>" to your element.

data-tooltip-id is the equivalent of V4's data-for.

<a data-tooltip-id="my-tooltip" data-tooltip-content="Hello world!">
  ◕‿‿◕
</a>

4 . Include the <Tooltip /> element.

[!NOTE]
Don't forget to set the id, it won't work without it!

<Tooltip id="my-tooltip" />

Troubleshooting

Before trying these, make sure you're running the latest ReactTooltip version with

npm install react-tooltip@latest

or

yarn add react-tooltip@latest

Please check our troubleshooting section on our docs.

If you can't find your problem here, make sure there isn't an open issue already covering it. If there isn't, feel free to submit a new issue.

Article

How I insert sass into react component

Maintainers

danielbarion Maintainer - Creator of React Tooltip >= V5.

gabrieljablonski Maintainer.

aronhelser (inactive).

alexgurr (inactive).

pdeszynski (inactive).

roggervalf (inactive).

huumanoid (inactive)

wwayne (inactive) - Creator of the original React Tooltip (V1.x ~ V4.x.)

We would gladly accept a new maintainer to help out!

Contributing

We welcome your contribution! Fork the repo, make some changes, submit a pull-request! Our contributing doc has some details.

License

MIT

Current Tags

  • 5.28.0-beta.1224.rc.0                                ...           beta (2 months ago)
  • 5.28.0                                ...           latest (3 months ago)

344 Versions

  • 5.28.0-beta.1224.rc.0                                ...           2 months ago
  • 5.28.0                                ...           3 months ago
  • 6.0.0-beta.1179.rc.2                                ...           4 months ago
  • 5.27.1                                ...           4 months ago
  • 5.27.0-beta.1205.rc.0                                ...           4 months ago
  • 5.27.0-beta.1203.rc.0                                ...           4 months ago
  • 5.27.0                                ...           5 months ago
  • 5.26.4-beta.1196.rc.0                                ...           5 months ago
  • 5.26.4-beta.1194.rc.1                                ...           5 months ago
  • 5.26.4-beta.1194.rc.0                                ...           5 months ago
  • 6.0.0-beta.1179.rc.1                                ...           6 months ago
  • 6.0.0-beta.1179.rc.0                                ...           6 months ago
  • 5.26.4-beta.1148.rc.0                                ...           6 months ago
  • 5.26.4                                ...           7 months ago
  • 5.26.3                                ...           9 months ago
  • 5.26.2                                ...           9 months ago
  • 5.26.1                                ...           9 months ago
  • 5.26.1-beta.1170.0                                ...           9 months ago
  • 5.26.1-beta.1169.0                                ...           9 months ago
  • 5.26.1-beta.1168.0                                ...           9 months ago
  • 5.26.0                                ...           10 months ago
  • 5.25.2                                ...           10 months ago
  • 5.25.2-beta.1149.0                                ...           10 months ago
  • 5.25.2-beta.1148.6                                ...           10 months ago
  • 5.25.2-beta.1148.5                                ...           10 months ago
  • 5.25.2-beta.1148.4                                ...           10 months ago
  • 5.25.2-beta.1148.3                                ...           10 months ago
  • 5.25.2-beta.1148.2                                ...           10 months ago
  • 5.25.2-beta.1148.0                                ...           10 months ago
  • 5.25.1                                ...           a year ago
  • 5.25.1-beta.1145.0                                ...           a year ago
  • 5.25.1-beta.1142.0                                ...           a year ago
  • 5.25.1-beta.1140.0                                ...           a year ago
  • 5.25.1-beta.1137.0                                ...           a year ago
  • 5.25.0                                ...           a year ago
  • 5.24.0                                ...           a year ago
  • 5.23.0                                ...           a year ago
  • 5.22.1-beta.1118.0                                ...           a year ago
  • 5.23.0-beta.1109.0                                ...           a year ago
  • 5.22.0                                ...           a year ago
  • 5.22.0-beta.1109.1                                ...           a year ago
  • 5.21.7                                ...           a year ago
  • 5.21.7-beta.1110.0                                ...           a year ago
  • 5.22.0-beta.1109.0                                ...           a year ago
  • 5.22.0-beta.1108.0                                ...           a year ago
  • 5.22.0-beta.1106.0                                ...           a year ago
  • 5.21.6                                ...           a year ago
  • 5.21.5                                ...           a year ago
  • 5.22.0-beta.1091.1                                ...           a year ago
  • 5.21.4                                ...           a year ago
  • 5.22.0-beta.1091.0 [deprecated]           ...           a year ago
  • 5.21.3                                ...           a year ago
  • 5.21.2                                ...           a year ago
  • 5.21.1                                ...           a year ago
  • 5.21.0                                ...           a year ago
  • 5.20.0                                ...           a year ago
  • 5.19.0                                ...           a year ago
  • 5.19.0-beta.1052.0                                ...           a year ago
  • 5.18.1                                ...           a year ago
  • 5.18.1-beta.1062.0 [deprecated]           ...           a year ago
  • 5.18.1-beta.0                                ...           a year ago
  • 5.18.0                                ...           a year ago
  • 5.17.0                                ...           a year ago
  • 5.16.1                                ...           a year ago
  • 5.16.0                                ...           a year ago
  • 5.15.1                                ...           a year ago
  • 5.16.0-beta.1041.0                                ...           a year ago
  • 5.16.0-beta.10410.0                                ...           a year ago
  • 5.15.0                                ...           a year ago
  • 5.15.0-beta.1045.1                                ...           a year ago
  • 5.15.0-beta.1045.0                                ...           a year ago
  • 5.14.1-beta.1043.0                                ...           a year ago
  • 5.15.0-beta.1041.0                                ...           a year ago
  • 5.14.0                                ...           a year ago
  • 5.13.2                                ...           a year ago
  • 5.13.1                                ...           a year ago
  • 5.13.0                                ...           a year ago
  • 5.12.0-beta.1014.3                                ...           a year ago
  • 5.12.0-beta.1014.2                                ...           a year ago
  • 5.12.0                                ...           a year ago
  • 5.11.2                                ...           2 years ago
  • 5.11.2-beta.1019.0                                ...           2 years ago
  • 5.12.0-beta.1014.1                                ...           2 years ago
  • 5.11.2-beta.0                                ...           2 years ago
  • 5.11.1                                ...           2 years ago
  • 5.11.0 [deprecated]           ...           2 years ago
  • 5.10.6                                ...           2 years ago
  • 5.10.6-beta.1009.1                                ...           2 years ago
  • 5.10.6-beta.1005.2                                ...           2 years ago
  • 5.10.6-beta.1005.1                                ...           2 years ago
  • 5.10.5                                ...           2 years ago
  • 5.10.5-beta.996.1                                ...           2 years ago
  • 5.10.4                                ...           2 years ago
  • 5.10.4-beta.994.1                                ...           2 years ago
  • 5.10.3                                ...           2 years ago
  • 5.10.2-beta.994.1 [deprecated]           ...           2 years ago
  • 5.10.2-beta.4                                ...           2 years ago
  • 5.10.1-beta.6                                ...           2 years ago
  • 5.10.2-beta.3                                ...           2 years ago
  • 5.10.2-beta.2                                ...           2 years ago
  • 5.10.2-beta.1                                ...           2 years ago
  • 5.10.1                                ...           2 years ago
  • 5.10.1-beta-10                                ...           2 years ago
  • 5.10.1-beta-9                                ...           2 years ago
  • 5.10.1-beta-8                                ...           2 years ago
  • 5.10.1-beta-7                                ...           2 years ago
  • 5.10.1-beta-6                                ...           2 years ago
  • 5.10.1-beta.5                                ...           2 years ago
  • 5.10.1-beta.4                                ...           2 years ago
  • 5.10.1-beta.3                                ...           2 years ago
  • 5.10.1-beta.2                                ...           2 years ago
  • 5.10.1-beta.1                                ...           2 years ago
  • 5.10.1-beta.0                                ...           2 years ago
  • 5.10.0                                ...           2 years ago
  • 5.9.1-beta.2                                ...           2 years ago
  • 5.10.0-beta.1                                ...           2 years ago
  • 5.9.1-beta.1                                ...           2 years ago
  • 5.10.0-beta.0                                ...           2 years ago
  • 5.9.1                                ...           2 years ago
  • 5.9.1-beta.0                                ...           2 years ago
  • 5.9.0                                ...           2 years ago
  • 5.8.4-beta.2 [deprecated]           ...           2 years ago
  • 5.8.4-beta.1 [deprecated]           ...           2 years ago
  • 5.8.4-beta.0-esbuild [deprecated]           ...           2 years ago
  • 5.8.4-beta.0                                ...           2 years ago
  • 5.8.3                                ...           2 years ago
  • 5.8.2                                ...           2 years ago
  • 5.8.2-beta.4                                ...           2 years ago
  • 5.8.2-beta.3                                ...           2 years ago
  • 5.8.2-beta.2                                ...           2 years ago
  • 5.8.2-beta.1                                ...           2 years ago
  • 5.8.2-beta.0                                ...           2 years ago
  • 5.8.1                                ...           2 years ago
  • 5.8.0                                ...           2 years ago
  • 5.8.0-beta.0                                ...           2 years ago
  • 5.7.5                                ...           2 years ago
  • 5.7.4                                ...           2 years ago
  • 5.7.4-beta.0                                ...           2 years ago
  • 5.7.3                                ...           2 years ago
  • 5.7.2                                ...           2 years ago
  • 5.7.1                                ...           2 years ago
  • 5.7.0                                ...           2 years ago
  • 5.6.0                                ...           2 years ago
  • 5.5.2                                ...           2 years ago
  • 5.5.1                                ...           2 years ago
  • 5.5.0                                ...           2 years ago
  • 5.4.0                                ...           2 years ago
  • 5.3.4                                ...           2 years ago
  • 5.3.4-beta.2                                ...           2 years ago
  • 5.3.4-beta.1                                ...           2 years ago
  • 5.3.4-beta.0                                ...           2 years ago
  • 5.3.3                                ...           2 years ago
  • 5.3.3-beta.0                                ...           2 years ago
  • 5.3.2                                ...           2 years ago
  • 5.3.1                                ...           2 years ago
  • 5.3.0                                ...           2 years ago
  • 5.2.0                                ...           2 years ago
  • 5.1.3                                ...           2 years ago
  • 5.1.2                                ...           2 years ago
  • 5.1.1                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.1.0-beta.1                                ...           2 years ago
  • 5.1.0-beta.0                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 5.0.0-beta.2                                ...           2 years ago
  • 5.0.0-beta.1                                ...           2 years ago
  • 5.0.0-beta.0                                ...           2 years ago
  • 4.5.1                                ...           2 years ago
  • 4.5.0                                ...           2 years ago
  • 4.4.5                                ...           2 years ago
  • 4.4.4                                ...           2 years ago
  • 4.4.3                                ...           2 years ago
  • 4.4.2                                ...           2 years ago
  • 4.4.0                                ...           2 years ago
  • 4.3.1                                ...           2 years ago
  • 4.3.0                                ...           2 years ago
  • 4.2.21                                ...           3 years ago
  • 4.2.20                                ...           3 years ago
  • 4.2.19                                ...           4 years ago
  • 4.2.18                                ...           4 years ago
  • 4.2.17                                ...           4 years ago
  • 4.2.16                                ...           4 years ago
  • 4.2.15                                ...           4 years ago
  • 4.2.14                                ...           4 years ago
  • 4.2.13                                ...           4 years ago
  • 4.2.12                                ...           4 years ago
  • 4.2.11                                ...           4 years ago
  • 4.2.10                                ...           4 years ago
  • 4.2.9                                ...           4 years ago
  • 4.2.8                                ...           4 years ago
  • 4.2.7                                ...           4 years ago
  • 4.2.6                                ...           5 years ago
  • 4.2.5                                ...           5 years ago
  • 4.2.4                                ...           5 years ago
  • 4.2.3                                ...           5 years ago
  • 4.2.2                                ...           5 years ago
  • 4.2.1                                ...           5 years ago
  • 4.2.0                                ...           5 years ago
  • 4.1.5                                ...           5 years ago
  • 4.1.4                                ...           5 years ago
  • 4.1.3                                ...           5 years ago
  • 4.1.2                                ...           5 years ago
  • 4.1.1                                ...           5 years ago
  • 4.0.5                                ...           5 years ago
  • 4.1.0                                ...           5 years ago
  • 4.0.3                                ...           5 years ago
  • 4.0.2                                ...           5 years ago
  • 4.0.1                                ...           5 years ago
  • 4.0.0                                ...           5 years ago
  • 3.11.6                                ...           5 years ago
  • 3.11.5                                ...           5 years ago
  • 3.11.4                                ...           5 years ago
  • 3.11.3                                ...           5 years ago
  • 3.11.2                                ...           5 years ago
  • 3.11.1                                ...           5 years ago
  • 3.11.0                                ...           5 years ago
  • 3.10.1                                ...           5 years ago
  • 3.10.0                                ...           6 years ago
  • 3.9.2                                ...           6 years ago
  • 3.9.1                                ...           6 years ago
  • 3.9.0                                ...           6 years ago
  • 3.8.4                                ...           6 years ago
  • 3.8.3                                ...           6 years ago
  • 3.8.2                                ...           6 years ago
  • 3.8.1                                ...           6 years ago
  • 3.8.0                                ...           6 years ago
  • 3.7.0                                ...           6 years ago
  • 3.6.1                                ...           6 years ago
  • 3.6.0                                ...           7 years ago
  • 3.5.1                                ...           7 years ago
  • 3.5.0                                ...           7 years ago
  • 3.4.3                                ...           7 years ago
  • 3.4.2                                ...           7 years ago
  • 3.4.1                                ...           7 years ago
  • 3.4.0                                ...           7 years ago
  • 3.3.1                                ...           7 years ago
  • 3.3.0                                ...           8 years ago
  • 3.2.10                                ...           8 years ago
  • 3.2.9                                ...           8 years ago
  • 3.2.8                                ...           8 years ago
  • 3.2.7                                ...           8 years ago
  • 3.2.6                                ...           8 years ago
  • 3.2.5                                ...           8 years ago
  • 3.2.4                                ...           8 years ago
  • 3.2.3                                ...           8 years ago
  • 3.2.2                                ...           8 years ago
  • 3.2.1                                ...           8 years ago
  • 3.2.0                                ...           8 years ago
  • 3.1.8                                ...           8 years ago
  • 3.1.7                                ...           8 years ago
  • 3.1.6                                ...           8 years ago
  • 3.1.5                                ...           8 years ago
  • 3.1.4                                ...           8 years ago
  • 3.1.3                                ...           8 years ago
  • 3.1.2                                ...           8 years ago
  • 3.1.1                                ...           8 years ago
  • 3.1.0                                ...           8 years ago
  • 3.0.13                                ...           8 years ago
  • 3.0.10                                ...           8 years ago
  • 3.0.9                                ...           8 years ago
  • 3.0.8                                ...           8 years ago
  • 3.0.7                                ...           8 years ago
  • 3.0.6                                ...           8 years ago
  • 3.0.5                                ...           8 years ago
  • 3.0.4                                ...           8 years ago
  • 3.0.3                                ...           8 years ago
  • 3.0.2                                ...           8 years ago
  • 3.0.1                                ...           8 years ago
  • 3.0.0                                ...           8 years ago
  • 2.0.3                                ...           8 years ago
  • 2.0.2                                ...           8 years ago
  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.2.1                                ...           9 years ago
  • 1.2.0                                ...           9 years ago
  • 1.1.4                                ...           9 years ago
  • 1.1.3                                ...           9 years ago
  • 1.1.2                                ...           9 years ago
  • 1.1.1                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.7                                ...           9 years ago
  • 1.0.6                                ...           9 years ago
  • 1.0.5                                ...           9 years ago
  • 1.0.4                                ...           9 years ago
  • 1.0.3                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.9.8                                ...           9 years ago
  • 0.9.7                                ...           9 years ago
  • 0.9.6                                ...           9 years ago
  • 0.9.5                                ...           9 years ago
  • 0.9.4                                ...           9 years ago
  • 0.9.3                                ...           9 years ago
  • 0.9.2                                ...           9 years ago
  • 0.9.1                                ...           9 years ago
  • 0.9.0                                ...           9 years ago
  • 0.8.6                                ...           9 years ago
  • 0.8.5                                ...           9 years ago
  • 0.8.4                                ...           9 years ago
  • 0.8.3                                ...           9 years ago
  • 0.8.2                                ...           9 years ago
  • 0.8.1                                ...           9 years ago
  • 0.8.0                                ...           9 years ago
  • 0.7.5                                ...           9 years ago
  • 0.7.4                                ...           9 years ago
  • 0.7.3                                ...           9 years ago
  • 0.7.2                                ...           9 years ago
  • 0.7.1                                ...           9 years ago
  • 0.7.0                                ...           9 years ago
  • 0.6.4                                ...           9 years ago
  • 0.6.3                                ...           9 years ago
  • 0.6.2                                ...           9 years ago
  • 0.6.1                                ...           9 years ago
  • 0.6.0                                ...           9 years ago
  • 0.5.1                                ...           9 years ago
  • 0.5.0                                ...           9 years ago
  • 0.3.8                                ...           9 years ago
  • 0.3.7                                ...           9 years ago
  • 0.3.6                                ...           9 years ago
  • 0.3.5                                ...           9 years ago
  • 0.3.4                                ...           9 years ago
  • 0.3.3                                ...           9 years ago
  • 0.3.2                                ...           9 years ago
  • 0.3.1                                ...           9 years ago
  • 0.3.0                                ...           9 years ago
  • 0.2.7                                ...           9 years ago
  • 0.2.6                                ...           9 years ago
  • 0.2.5                                ...           9 years ago
  • 0.2.4                                ...           9 years ago
  • 0.2.3                                ...           9 years ago
  • 0.2.2                                ...           9 years ago
  • 0.2.1                                ...           9 years ago
  • 0.2.0                                ...           9 years ago
  • 0.1.8                                ...           10 years ago
  • 0.1.7                                ...           10 years ago
  • 0.1.6                                ...           10 years ago
  • 0.1.5                                ...           10 years ago
  • 0.1.4                                ...           10 years ago
  • 0.1.3                                ...           10 years ago
  • 0.1.2                                ...           10 years ago
  • 0.1.1                                ...           10 years ago
  • 0.1.0                                ...           10 years ago
  • 0.0.1                                ...           10 years ago
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (15)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE