Skip to content
GitHub

Hint

A lightweight, minimal tooltip that shows information.

For the full Tooltip component, check out the Tooltip component.

Installation

Usage

Hint vs Tooltip

  • Hint: A lightweight, minimal tooltip that shows information

  • Tooltip: A more complex component that provides a more full-featured tooltip with a variety of options.

Controlled

Pass open and onOpenChange to controlled hint.

Examples

Positions

API Reference

Hint

Root wrapper. Provides hint context to trigger and content.

HintTrigger

Shows the hint on hover or focus. Button by default; use asChild for custom elements.

HintContent

Hint content shown in a popover on hover or focus.

HintArrow

Arrow pointing to the trigger. Rendered inside HintContent by default.