Tooltip

Floating label on bits-ui Tooltip. Shows on focus and hover with a zoom-fade keyed to the trigger corner; dismisses on blur or Esc.

Usage

Sides

Tooltip.Provider props

Wrap your tooltip-rich region once. Inherits bits-ui Tooltip.Provider props via spread.

PropTypeDescription
numberMilliseconds of hover before the tooltip opens.
booleanWhen true, moving onto the tooltip content does not keep it open.

Tooltip.Content props

PropTypeDescription
'top' | 'right' | 'bottom' | 'left'Preferred anchor edge. Collision logic may flip.
numberDistance in px between the trigger and the content.
ComponentProps<Tooltip.Portal>Forwarded to the internal portal.