Skip to main content
The Tooltip component shows helpful information when users hover over or focus on an element.

Installation

Usage

Components

TooltipProvider

number
default:"600"
Delay before showing tooltip (ms).
number
default:"300"
Delay before hiding tooltip (ms).
Wrap your app or component tree to share tooltip settings.

Tooltip (Root)

boolean
Controlled open state.
boolean
Default open state.
function
Callback when state changes.

TooltipPositioner

string
default:"top"
Preferred side. Options: top, right, bottom, left
string
default:"center"
Alignment. Options: start, center, end

TooltipPopup

boolean
default:"false"
Hide the arrow.
The tooltip content with arrow and animations.

Examples

Basic Tooltip

Different Positions

Without Arrow

Custom Delay

Accessibility

  • Built on @base-ui/react for accessibility
  • Appears on hover and focus
  • Keyboard accessible
  • Proper ARIA attributes
  • Does not trap focus
  • Collision detection for viewport edges