> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tuturuuu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tooltip

> Preview Tooltip, copy setup snippets, review examples, and inspect API exports for @tuturuuu/ui/tooltip.

<Info>
  Explore the live, interactive preview at [tuturuuu.com/ui/components/tooltip](https://tuturuuu.com/ui/components/tooltip).
</Info>

**Category:** Overlays · **Import:** `@tuturuuu/ui/tooltip` · **Status:** Live preview

## Installation

Install the shared UI package, import global styles once, then import the component from its public subpath.

```bash theme={null}
bun add @tuturuuu/ui
```

```tsx theme={null}
import '@tuturuuu/ui/globals.css';
import { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from '@tuturuuu/ui/tooltip';
```

## Usage

Copy the default usage snippet and adapt labels, state, and event handlers to the product surface.

```tsx theme={null}
import { Tooltip, TooltipContent, TooltipTrigger } from '@tuturuuu/ui/tooltip';

<Tooltip><TooltipTrigger>Hover</TooltipTrigger><TooltipContent>Helpful context</TooltipContent></Tooltip>
```

## Examples

Examples reuse the registry snippets so the docs stay aligned with the component catalog.

### Default

A minimal implementation using the current registry snippet.

```tsx theme={null}
import { Tooltip, TooltipContent, TooltipTrigger } from '@tuturuuu/ui/tooltip';

<Tooltip><TooltipTrigger>Hover</TooltipTrigger><TooltipContent>Helpful context</TooltipContent></Tooltip>
```

### Composition

Use the grouped exports when the primitive has slots, triggers, content regions, or providers.

```tsx theme={null}
import {
  Tooltip,
  TooltipTrigger,
  TooltipContent,
  TooltipProvider,
} from '@tuturuuu/ui/tooltip';
```

### Package import

Import through the public package path so workspace and external apps share the same contract.

```tsx theme={null}
// Public package import
import { Tooltip } from '@tuturuuu/ui/tooltip';

// Workspace apps should keep importing through the package boundary.
```

## API reference

The public exports currently available from this component entry.

| Export            | Kind      |
| ----------------- | --------- |
| `Tooltip`         | component |
| `TooltipTrigger`  | component |
| `TooltipContent`  | component |
| `TooltipProvider` | provider  |

## Customization

Common props, states, and composition points to review before using this component.

* Delay
* Side
* Content

## Related components

* [Alert Dialog](./alert-dialog)
* [Context Menu](./context-menu)
* [Dialog](./dialog)
