Fluid Tooltip Component

A grouped tooltip system that preserves spatial orientation while people scan related icon controls.

Features

  • Uses a deliberate first pointer delay, then opens sibling tooltips immediately.
  • Moves new labels eight pixels from left or right in horizontal groups and from top or bottom in vertical groups.
  • Keeps the tooltip surface continuous while its anchor and content change.
  • Places horizontal tooltips above their triggers and vertical tooltips to the right by default, with collision-aware flipping.
  • Shows keyboard tooltips immediately without directional travel.
  • Removes travel for reduced-motion preferences and leaves coarse-pointer controls usable.
  • Built on Base UI for tooltip semantics, positioning, collision handling, and accessible descriptions.

Playground

Adjust the group delay and orientation, then move between the controls.

Controls
Controls

Installation

Usage

Props

PropertyTypeDefaultDescription
childrenReactNoderequiredRelated tooltip roots rendered inside the group.
orientationFluidTooltipOrientation"auto"Axis used to calculate directional content entry.
openDelaynumber350Delay before the first pointer tooltip opens, in milliseconds.
closeDelaynumber100Grace period before a pointer tooltip closes, in milliseconds.
disabledbooleanfalseDisables tooltip behavior for every trigger in the group.
classNamestringundefinedAdditional CSS classes for the positioned tooltip surface.