04.16 · Micro-Interactions
Tooltip Reveal
A small label fades in after a short pause. Best for icon buttons.
Hover it
Point at an item, tab to it or tap it on a phone, or press Show me.
Inside, the dashed box is the hidden tip; the bars are its life: it waits, fades in, stays while you point, then waits and fades out. Point at an item, or press Show me.
Shows at once: every tip the pointer passes flashes up; Waits a moment: only the item the pointer rests on shows its tip. Move across the items, or press Show me.
Try it
Change a setting, then try it again or press Show me.
Delay before showing
The pause stops tips flashing as the pointer passes.
Speed
How quickly the label fades and grows in.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add tooltips to [the icon buttons, shortened text or fields that need a short explanation]. When the pointer rests on an item, or keyboard focus reaches it, wait a moment, then fade the tooltip in beside it while it grows very slightly from the side facing the item, so it feels light rather than like a pop-up. The wait keeps tooltips from flashing while the pointer only passes by. When the pointer leaves, hide it again, after a pause if the settings include one, and let the Escape key close it at once. On touch screens, show and hide it with a tap. If the visitor has reduced motion turned on, fade it without growing. Match the settings listed below.
Your settings
Replace the words in brackets with your own element. Your settings are added at the end.
Free and open source. If this helped, a star on GitHub helps other people find it.
Star on GitHubWhat it is
The full explanation is in README.md.