---
title: "Tooltip animated icon"
description: "Tooltip animated icon (Onboarding & tips). The target is hovered and its tooltip pops up with the hint. Light: the target dot swells, the bubble ducks into its tail, pops out with an overshoot and settles, and its two text lines write in from the left, the second a beat after the first. Strong: the target taps in and swells, the bubble ducks deeper, pops bigger with a two-beat settle, and the lines write in turn. The bubble grows from its tail tip, so it stays anchored to its target."
canonical: https://generativeicons.com/icons/tooltip/
---

# Tooltip animated icon

The target is hovered and its tooltip pops up with the hint. Light: the target dot swells, the bubble ducks into its tail, pops out with an overshoot and settles, and its two text lines write in from the left, the second a beat after the first. Strong: the target taps in and swells, the bubble ducks deeper, pops bigger with a two-beat settle, and the lines write in turn. The bubble grows from its tail tip, so it stays anchored to its target.

- Id: `tooltip`
- Category: Onboarding & tips
- Search terms: tool tip, hover text, hover hint, popover, info bubble, help text, hint bubble, mouseover, flyout, explainer
- One action, back to rest
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/tooltip.lottie (dotLottie, 5473 bytes, sha256 040b2d22b34eb205c48c96ae9373367d0ea5db520b94e0ca93473099d68dc284)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add tooltip
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/tooltip.mjs';

export function TooltipIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/tooltip.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/tooltip/ · https://generativeicons.com/api/icons/tooltip
