--- title: Tooltip description: >- Displays helpful information in a small overlay when users hover or focus on an element. Use to provide additional context without cluttering the interface. api_name: app-home source_url: html: >- https://shopify.dev/docs/api/app-home/polaris-web-components/overlays/tooltip md: >- https://shopify.dev/docs/api/app-home/polaris-web-components/overlays/tooltip.md --- # Tooltip Displays helpful information in a small overlay when users hover or focus on an element. Use to provide additional context without cluttering the interface. ## Slots * children HTMLElement The content of the Tooltip. Only accepts `Text`, `Paragraph` components, and raw `textContent`. ## Slots * children HTMLElement The content of the Tooltip. Only accepts `Text`, `Paragraph` components, and raw `textContent`. ### Examples * #### Code ##### jsx ```jsx <> Bold B ``` ##### html ```html Bold B ``` ## Examples Component examples ### Basic usage Basic Usage Demonstrates a simple tooltip that provides additional context for a text element when hovered or focused. With Icon Button Shows how to add a tooltip to an icon button, providing a clear explanation of the button's action when hovered. ### Examples * #### Basic Usage ##### Description Demonstrates a simple tooltip that provides additional context for a text element when hovered or focused. ##### jsx ```jsx <> This order has shipping labels. Shipping status ``` ##### html ```html This order has shipping labels. Shipping status ``` * #### With Icon Button ##### Description Shows how to add a tooltip to an icon button, providing a clear explanation of the button's action when hovered. ##### jsx ```jsx <> Delete item permanently ``` ##### html ```html Delete item permanently ```