Tooltip - Icon
A tooltip - icon is a contextual message that appears when users interact with an icon or icon button, providing specific context.
Example
Illustrates the animations that happen when the Tooltip - Icon component enters and exits from view. You can see an animated example of this component here.
Enter transition
When a tooltip - icon enters view, it moves 4px away from the point where it was activated at 150ms. It can move down, up, left or right depending on its ending position.
| Property | Cubic Bezier | Easing token | Notes |
|---|---|---|---|
| Translate X or Y | (.45, 0, .55, 1) | $easing-functional | Moves away 4px from point of activation at 150ms |
| Opacity | (.45, 0, .55, 1) | $easing-functional | Tooltip - icon gently fades into view at 150ms |
Exit transition
When a tooltip - icon exits view, it moves 4px towards the point where it was activated at 100ms. It can move down, up, left or right depending on its starting position. Exit transitions are always quicker than entry.
| Property | Cubic Bezier | Easing token | Notes |
|---|---|---|---|
| Translate X or Y | (.45, 0, .55, 1) | $easing-functional | Moves 4px towards point of activation at 100ms |
| Opacity | (.45, 0, .55, 1) | $easing-functional | Tooltip - icon gently fades out of view at 100ms |