> ## Documentation Index
> Fetch the complete documentation index at: https://omer-914cc1c6.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 工具提示

> 将鼠标悬停在文本上时显示定义

使用工具提示可在用户将鼠标悬停在一段文本上时提供额外的上下文或定义。工具提示还可以包含可选的行动呼吁链接。

**示例**: <Tooltip tip="应用程序编程接口：一组使软件应用能够相互通信的协议。" cta="阅读我们的 API 指南" href="/zh/api-reference">API</Tooltip> 文档有助于开发者了解如何与您的服务集成。

```mdx Tooltip example wrap theme={null}
<Tooltip tip="应用程序编程接口：软件应用程序之间通信的协议集合。" cta="阅读我们的 API 指南" href="/api-reference">API</Tooltip> 文档帮助开发者了解如何与您的服务进行集成。
```

<div id="properties">
  ## 属性
</div>

<ResponseField name="tip" type="string" required>
  悬浮提示中显示的文本。
</ResponseField>

<ResponseField name="cta" type="string">
  悬浮提示内链接的行动呼吁文本。
</ResponseField>

<ResponseField name="href" type="string">
  行动呼吁链接的URL。使用 `cta` 时为必填。
</ResponseField>
