---
title: Tooltip
slug: wip/tooltip
createdAt: 2023-07-20T14:41:14.934Z
---

# Tooltip

:::hint{type="info"}
Tooltips are floating, user-triggered messages that provide contextual information about a user interface element or feature.

🎨 Figma: The Tooltip is available as a Component that can be accessed in the Assets Panel.

💻 Code: The Tooltip is available as a Web Component.
:::



A Tooltip is an informative message that appears when a user interacts with a user interface element, the target. Tooltips are initiated in one of two ways: By hovering the target element with a mouse cursor or through the focus with a keyboard. In turn, Tooltips disappear when the mouse leaves the target element, or the keyboard focus is removed from the target.

Because a hover gesture or keyboard focus initiates tooltips, they can be used only on devices with a mouse or keyboard. They are not available on touch devices.

:::Iframe{iframeHeight="0" code="<iframe&#xA;  allow=&#x22;clipboard-write *&#x22;&#xA;  height=&#x22;100px&#x22;&#xA;  loading=&#x22;eager&#x22;&#xA;  src=&#x22;https://cosmos-storybook.rbds-production.redbullaws.com/storybook/iframe.html?id=guidance-tooltip--docs&viewMode=docs&blocks=story,table&filter=props,events,methods,slots&#x22;&#xA;  title=&#x22;Embedded storybook from cosmos-storybook.herokuapp.com&#x22;&#xA;></iframe>"}

:::

