--- title: App Tooltip sidebar_position: 6 sidebar_custom_props: icon: TbTooltip --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import appTooltipCode from '!!raw-loader!@site/src/ui/display/appTooltipCode.js' import overflowingTextWithTooltipCode from '!!raw-loader!@site/src/ui/display/overflowingTextWithTooltipCode.js' import { SandpackEditor} from '@site/src/ui/SandpackEditor' A brief message that displays additional information when a user interacts with an element.
Props Type Description
className string Optional CSS class for additional styling
anchorSelect CSS selector Selector for the tooltip anchor (the element that triggers the tooltip)
content string The content you want to display within the tooltip
delayHide number The delay in seconds before hiding the tooltip after the cursor leaves the anchor
offset number The offset in pixels for positioning the tooltip
noArrow boolean If `true`, hides the arrow on the tooltip
isOpen boolean If `true`, the tooltip is open by default
place `PlacesType` string from `react-tooltip` Specifies the placement of the tooltip. Values include `bottom`, `left`, `right`, `top`, `top-start`, `top-end`, `right-start`, `right-end`, `bottom-start`, `bottom-end`, `left-start`, and `left-end`
positionStrategy `PositionStrategy` string from `react-tooltip` Position strategy for the tooltip. Has two values: `absolute` and `fixed`
## Overflowing Text with Tooltip Handles overflowing text and displays a tooltip when the text overflows.
Props Type Description
text string The content you want to display in the overflowing text area