Skip to main content
For development, import TooltipSurface from @servicetitan/anvil2-ai-kit. For design, find it in the AI Kit Web Component Library file.

Common Examples

Use TooltipSurface when another interaction already knows what to explain and where to place it, such as a chart overlay. It provides no trigger, open state, timing, or positioning.
For ordinary hover and focus help, use a fully wired tooltip instead.content accepts a string or composed nodes. caret places a caret on the matching edge and points its tip away from the pill.

React Accessibility

Pass presentational when the described element already exposes the same accessible name. This hides duplicate tooltip content from assistive tech.
Last modified on October 27, 2026