--- title: TooltipProps description: "Learn how to build custom functionality when working with the React Tooltip by Kendo UI with the help of the TooltipProps." api_reference: true type: inner_api slug: api_tooltip_tooltipprops --- # TooltipProps Represents the props of the [KendoReact Tooltip component](https://www.telerik.com/kendo-react-ui/components/tooltip/tooltip).
Name Type Default Description
#### anchorElement? string "pointer" Sets the anchor element of the Tooltip. The available options are: - (Default) `pointer`—Positions the Tooltip where the cursor is located. - `target`—Positions the Tooltip relative to the target element. ```jsx ```
#### appendTo? "null" | HTMLElement Defines the container to which the Tooltip will be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body). If set to `null`, the Tooltip will not use React Portal. ```jsx ```
#### children? any Specifies the children elements of the Tooltip. Used to define the content of the Tooltip. ```jsx Hover over me ```
#### className? string Specifies additional CSS classes for the Tooltip animation container. ```jsx ```
#### content? any Sets the content of the Tooltip ([see example](https://www.telerik.com/kendo-react-ui/components/tooltip/tooltip/templates)). Can be a string, JSX, or a function returning JSX. ```jsx ```
#### filter? (target: HTMLElement) => void Callback function to determine if the Tooltip should be displayed for a specific target element ([see example](https://www.telerik.com/kendo-react-ui/components/tooltip/tooltip/anchor-elements)). ```jsx target.tagName === 'BUTTON'} /> ```
#### id? string Specifies the `id` of the wrapping element of the Tooltip component. Used to uniquely identify the Tooltip element in the DOM. ```jsx ```
#### onClose? (event: [TooltipEvent]({% slug api_tooltip_tooltipevent %})) => void Fires when the Tooltip is hidden. Provides the event details. ```jsx console.log('Tooltip closed', event)} /> ```
#### onOpen? (event: [TooltipEvent]({% slug api_tooltip_tooltipevent %})) => void Fires when the Tooltip is shown. Provides the event details. ```jsx console.log('Tooltip opened', event)} /> ```
#### onPosition? (event: [TooltipPositionEvent]({% slug api_tooltip_tooltippositionevent %})) => { left: number; top: number; } Callback function triggered when the Tooltip calculates its position. Allows customization of the `top` and `left` position values. ```jsx ({ top: 100, left: 200 })} /> ```
#### open? boolean Controls the visibility of the Tooltip. When set, the Tooltip operates in controlled mode ([see example](https://www.telerik.com/kendo-react-ui/components/tooltip/tooltip/controlled-mode)). Requires the `targetElement` property to be set. ```jsx ```
#### openDelay? number 400 Specifies a delay in milliseconds before the Tooltip is displayed. ```jsx ```
#### parentTitle? boolean false Enables the Tooltip to display the title of any parent element with a `title` attribute. ```jsx ```
#### position? TooltipPosition "auto" Sets the position of the Tooltip ([see example](https://www.telerik.com/kendo-react-ui/components/tooltip/tooltip/positioning)). The available options are: - (Default) `auto`—Automatically positions the Tooltip based on available space. - `right`—Positions the Tooltip to the right of the element. - `left`—Positions the Tooltip to the left of the element. - `bottom`—Positions the Tooltip below the element. - `top`—Positions the Tooltip above the element. ```jsx ```
#### setCalloutOnPositionAuto? any Specifies the starting point of the Tooltip callout when the position is set to `auto`. Accepts a pixel value. ```jsx ```
#### showCallout? boolean true Determines whether the Tooltip callout (arrow) is displayed. ```jsx ```
#### showOption? [TooltipShowOptions]({% slug api_tooltip_tooltipshowoptions %}) Configures when the Tooltip will be displayed. The available options are: - `hover`—Displays the Tooltip when the mouse hovers over the target element (default). - `click`—Displays the Tooltip when the target element is clicked. - `focus`—Displays the Tooltip when the target element is focused. - `keys`—Displays the Tooltip when a specific key is pressed while the target element is focused. - `none`—Disables the Tooltip display. ```jsx ```
#### style? React.CSSProperties Specifies the styles applied to the Tooltip animation container. ```jsx ```
#### targetElement? any Specifies the target element for the Tooltip. Required when the Tooltip is in controlled mode. ```jsx ```
#### themeColor? [TooltipThemeColor]({% slug api_tooltip_tooltipthemecolor %}) Configures the `themeColor` of the Tooltip. The available options are: - `base` - `inverse` - `info` - `success` - `warning` - `error` ```jsx ```
#### tooltipClassName? string Specifies additional CSS classes for the Tooltip DOM element. ```jsx ```
#### tooltipStyle? React.CSSProperties Specifies the styles applied to the Tooltip DOM element. ```jsx ```
#### updateInterval? number Specifies the interval in milliseconds for the Tooltip to check for title changes. By default, the Tooltip does not track title updates. ```jsx ```