1. Overlays
  2. Tooltips


Tailwind CSS Tooltips

A tooltip is a floating, non-actionable label used to explain a user interface element or feature.

Requires JS

When to use

Purpose of content

Tooltips are meant to be exactly that, a hint or tip on what a tool or other interaction does. They are meant to clarify or help you use the content that they hover over, not add additional content:

Image Description

Since tooltips are only meant to tell the purpose of an element they should be short and to the point "Click X to do X" or "User post count"


Tooltips are typically only visible on hover, for that reason if you need to be able to read the content while interacting with other parts of the page then a tooltip will not work.


If you want to give a small few word hint on how or what an element on the page does use a tooltip.

Although it should be noted due to accessibility problems, potential SEO issues, and lack of discovery of the tooltip, it's not recommended unless you absolutely need it.

Basic usage


Hover over the buttons below to see the four tooltips directions: top, right, bottom, and left.