Examples
Mechanics
Explaining an icon-only button
Hover the button, or click it once and tab away — the label appears in both cases. This is the most common reason a tooltip exists: an icon whose meaning is plausible but not certain.
Different placements
The same tooltip shown in four positions relative to the element. Where it appears matters when the element sits near an edge — a tooltip pointing into the screen edge would get cut off.
Delay before appearing
The first tooltip shows immediately; the second waits 600ms. A short delay (150–300ms is typical) prevents flicker as the mouse moves across the page. Too long, and the tooltip feels broken.
Common use cases
Help icon next to a form label
A small "?" beside a field is the canonical place for "additional context that's nice to know but not required." The label and input stay clean; the help text only appears when the user asks for it.
Why a button is disabled
A disabled button leaves users wondering what they're supposed to do to enable it. A tooltip explains the precondition without cluttering the rest of the page. (The element is a focusable span here, because a true disabled <button> doesn't fire pointer events in some browsers.)
Surfacing keyboard shortcuts
Power users want shortcuts; new users don't need them in their face. Putting the shortcut in a tooltip is a small but high-value pattern for surfacing the keyboard equivalent of a click — visible only to people who go looking.
Examples
Mechanics