Tooltip

Tooltips will appear when users hover on an element, it display contextual information related to the element.

Basic

Basic usage of Tooltip.

Customize

Tooltip content can be customize as well.

Placement

There are 9 placement options for tooltip, it occupies the top position by default.

API

Tooltip
PropDescriptionTypeDefault
disabledWhether to disable tooltip toggleboolean-
isOpenWhether to display tooltip by defaultbooleanfalse
placementTooltip placement'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end''top'
titleTooltip contentstring | ReactNode
wrapperClassClass for tooltip wrapperstring-