--- 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_version: 2025-10 api_name: admin-extensions source_url: html: >- https://shopify.dev/docs/api/admin-extensions/latest/polaris-web-components/overlays/tooltip md: >- https://shopify.dev/docs/api/admin-extensions/latest/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 ``` ## Usage Tooltips only render on devices with a pointer and do not display on mobile devices. ## Best practices * Use for additional, non-essential context only * Provide for icon-only buttons or buttons with keyboard shortcuts * Keep content concise and in sentence case * Don't use for critical information, errors, or blocking messages * Don't contain any links or buttons * Use sparingly. If you need many tooltips, clarify the design and language instead ## Examples Component examples ### Basic usage ### 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 ```