Recently I came across the need to add tooltips and menus to a project. There are some wonderful tooltip solutions out there; however, I was looking for an API that made building not only tooltips, but menus and dropdowns with dynamic floating content super simple.
So I decided to roll an implementation and thought it was a great candidate to pull into a little package and share my three day extraveganza.
While building this, I wanted usage to be really simple:
- Wrap any component with a
- Expose a few basic options to customize interaction
- Render custom components as the content
- Be as extensible as possible for things like adding animation
Alongside a simple API, I wanted to make contributing really simple.
Anyone can fork the repo, install the dependencies, and run
yarn start. A UI will spin up and changes can be made directly
against the example. No friction. ☺️
If you have questions or suggestions feel free to reach out.