Tooltip
A short label, or a small card with a title and description, shown on hover or keyboard focus. Eight tail placements, three sizes, light or dark.
Add a light Orvain Tooltip, 2X-Small (24), placed top left with a tail, reading “Insert Tooltip”.
When to use#
- To name an icon-only button: Copy, Archive, More actions.
- To show a keyboard shortcut or the full text of a truncated value.
- For one short, optional fact that is not needed to complete the task.
When not to use
- Use a Popover for interactive content, such as links, buttons or form fields, or for longer content.
- Use help text on the page for information people need to succeed, such as a field's format.
Anatomy#
The element being described. It keeps its own focus and hit area.
2X-Small: 12px text, 4px radius. X-Small: 14px text, 8px radius. Large: a 268px card with a globe icon, title, description and close, 16px radius.
A rounded-tip notch, 8×4 or 12×6, 8, 12 or 16px from the bubble's corner, or centred.
States#
Top or bottom (left, centre, right) or the sides; flips or shifts when there is no room.
White with a #f2f2f2 stroke, or #070707 with white text.
The bubble alone, for dense layouts.
After a short hover delay, or at once on keyboard focus; Esc closes it.
Source#
The Tooltip ships in the free packages, @orvain/react and @orvain/vue, and in the Figma library with every variant and state shown above. The code on this page is the code you install.

