Files
mintlify__docs/components/tooltips.mdx
mintlify[bot] 63f716768d Improve SEO descriptions on 19 pages (#5152)
* Improve SEO descriptions on 19 pages with short metadata

Generated-By: mintlify-agent

* Apply suggestions from code review

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2026-04-06 10:26:12 -07:00

32 lines
1.4 KiB
Plaintext

---
title: "Tooltips"
description: "Add tooltips to display contextual definitions and explanations when users hover over terms, abbreviations, or technical concepts in your documentation."
keywords: ["tooltips", "hover help", "contextual information", "explanatory", "definitions"]
---
Use tooltips to provide additional context or definitions when a user hovers over a string of text. Tooltips can include optional call-to-action links.
**Example**: <Tooltip headline="API" tip="Application Programming Interface: a set of protocols for software applications to communicate." cta="Read our API guide" href="/api-reference">API</Tooltip> documentation helps developers understand how to integrate with your service.
```mdx Tooltip example wrap
<Tooltip headline="API" tip="Application Programming Interface: a set of protocols for software applications to communicate." cta="Read our API guide" href="/api-reference">API</Tooltip> documentation helps developers understand how to integrate with your service.
```
## Properties
<ResponseField name="tip" type="string" required>
The text displayed in the tooltip.
</ResponseField>
<ResponseField name="headline" type="string">
Text displayed above the `tip` text.
</ResponseField>
<ResponseField name="cta" type="string">
The call-to-action text for a link within the tooltip.
</ResponseField>
<ResponseField name="href" type="string">
URL for the call-to-action link. Required when using `cta`.
</ResponseField>