Skip to main content

Tooltip

A tooltip is a contextual message that appears when users interact with an element, providing additional information or guidance.

Example

Illustrates the animations that happen when the Tooltip component enters and exits from view. You can see an animated example of this component here.

A tooltip skeleton displayed next to an information icon.

Enter transition

When a tooltip enters view, it moves 4px away from the point where it was activated at 200ms. It can move down, up, left or right depending on its ending position.

A chart showing the tooltip's enter transition, with translate and opacity changes over 200ms.
PropertyCubic BezierEasing tokenNotes
Translate X or Y(.45, 0, .55, 1)$easing-functionalMoves away 4px from point of activation at 200ms
Opacity(.45, 0, .55, 1)$easing-functionalTooltip gently fades into view at 200ms

Exit transition

When a tooltip exits view, it moves 4px towards the point where it was activated at 150ms. It can move down, up, left or right depending on its starting position. Exit transitions are always quicker than entry.

A chart showing the tooltip's exit transition, with translate and opacity changes over 150ms.
PropertyCubic BezierEasing tokenNotes
Translate X or Y(.45, 0, .55, 1)$easing-functionalMoves 4px towards point of activation at 150ms
Opacity(.45, 0, .55, 1)$easing-functionalTooltip gently fades out of view at 150ms
Back to top