Documentation

Asgard

Getting started

Theming

Guides

Layout

Docking

Inputs & forms

Button

Switch

Checkbox

Radio

Select

Slider

TextBox

Upload

ImageCropper

Pickers

Color picker

Calendar

Time picker

DateTime input

Data display

Card

Accordion

Typography

Progress

DataTable

TreeView

SyntaxColor

MarkdownRenderer

Terminal

Layout & docking

Grid

Splitter

SDiv

Dock

Theme switcher

Media query

Feedback & overlays

Alert

Toast

Tooltip

Popups

Drawer

FloatingPanel

FloatingWindow

Navigation & chrome

Breadcrumb

Stepper

Toolbar

Ribbon

ContextMenu

FeatureTour

Documentation

Asgard

Getting started

Theming

Guides

Layout

Docking

Inputs & forms

Button

Switch

Checkbox

Radio

Select

Slider

TextBox

Upload

ImageCropper

Pickers

Color picker

Calendar

Time picker

DateTime input

Data display

Card

Accordion

Typography

Progress

DataTable

TreeView

SyntaxColor

MarkdownRenderer

Terminal

Layout & docking

Grid

Splitter

SDiv

Dock

Theme switcher

Media query

Feedback & overlays

Alert

Toast

Tooltip

Popups

Drawer

FloatingPanel

FloatingWindow

Navigation & chrome

Breadcrumb

Stepper

Toolbar

Ribbon

ContextMenu

FeatureTour

Feedback & overlays

Explain on hover or focus.

A lightweight tooltip that displays contextual information on hover or focus.

Key features:

  • Four positions: top, bottom, left, right
  • Configurable delay timing (default 500ms)
  • Supports any ReactNode as content
  • Portal rendering to avoid overflow clipping
Loading preview…
When to use it
  • Labels for icon-only buttons
  • Definitions and shortcuts
  • Full text for truncated labels
  • Tuning hover delay for dense toolbars
Properties
PropTypeDefaultDescription
contentReactNodeThe content to display inside the tooltip. Can be a string or any React node.
childrenReactElementA single child element that the tooltip wraps. The tooltip is triggered by hover and focus events on this element.
delaynumber500Delay in milliseconds before the tooltip appears after the trigger event.
position'top' | 'bottom' | 'left' | 'right''bottom'The preferred position of the tooltip relative to the child element.
disabledbooleanfalseWhen true, the tooltip will not appear on hover or focus.
Notes
  • Wraps a single child element. If you need to tooltip a component that does not forward refs, wrap it in a <span> or <div>.
  • Uses portal rendering to avoid clipping by parent containers with overflow: hidden.
Presets