Tooltip

A tooltip is a descriptive or supplementary element that is displayed when an object is focused or hovered over. They are typically employed to enhance user experience by offering brief and helpful descriptions, instructions or tips without cluttering the interface.

Props

NameTypeDescriptionDefault
position'bottom' | 'top' | 'left' | 'right'Preferred position for displaying the tooltip. It may adjust automatically based on available space.'bottom'
labelstringText to be displayed inside the tooltip.-
childrenReact.ReactNodeContent in which the Tooltip will be displayed.-

Examples

Basic Usage