ComponentsTooltip

Tooltip

Explain compact controls without adding permanent labels to the toolbar.

Example

Setup

Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.

Placement

Prefer the top, bottom, left, or right. The tooltip adjusts near viewport edges.

Example

Shortcut hint

Explain a keyboard option alongside its action.

Example

Disabled control

Use a focusable wrapper to explain why the action is unavailable.

Example

Usage

AccessReveal the tooltip by hover or keyboard focus. Escape dismisses it.
ContentKeep the description short and noninteractive. Give icon-only controls their own accessible label.