Used to display a minimal amount of helpful information.

Left
Top
Bottom
Right

Custom Tooltip

Tooltip relative to the parent view.

Props

Themeable

Accepts Popover props.

Use the tooltip key in ThemeProvider to customize the default properties of this component.

asAs

Passes props to Popover’s anchorElement.

The child becomes the trigger for the tooltip, unless it is overridden with popoverProps={{relativeTo: ref}}.

The amount of time in milliseconds before the tooltip closes.

Controls whether the Popover is rendered as open or closed.

keepInViewboolean

Attempts to keep popover in view clipping edges if too large.

openDelaynumber

The amount of time in milliseconds before the tooltip opens.

placementPlacement

'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-start' | 'bottom' | 'bottom-end' | 'left-start' | 'left' | 'left-end'

Where to place the popover.

Accepts any valid Popover props.

renderToHTMLElement | string

Where to render the composed popover into. Accepts an HTML element or selector. Uses the closest fixed parent or document.body by default. This will only be computed once on initial render.

The title of the tooltip. Accepts a string or a React element.

Reveals the tooltip when the cloned child receives focus.

Reveals the tooltip when the cloned child is hovered.

zIndexnumber

Set a specific z-index for Tooltip. (defaults to 10000) This option can be helpful in adjusting elements that overlap visually.