Skip to main content
Version: 57.2.0

Tooltip

Tooltip is a floating text label that succinctly describes the function of an interactive element, typically Icon Button. It’s displayed continuously as long as the user hovers over or focuses on the element. Also known as 'Info tip'.

Package: @terreno/ui
Categories: Component
Props interface: TooltipProps
Story source: demo/stories/Tooltip.stories.tsx

Live demo

Props

PropTypeRequiredDescription
childrenReactElementYesThe content of the tooltip.
idealPositionunionThe ideal position of the tooltip.
includeArrowbooleanIf true, an arrow will be included in the tooltip.
textstringThe text content of the tooltip. If text is undefined, the children will be rendered without a tooltip.