ComponentsTooltip
Tooltip
Explain compact controls without adding permanent labels to the toolbar.
Change who can approve a review.
See recent changes to this project.
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.
Preferred placement: left.
Preferred placement: top.
Preferred placement: bottom.
Preferred placement: right.
Shortcut hint
Explain a keyboard option alongside its action.
Activate with Enter or Space.
Disabled control
Use a focusable wrapper to explain why the action is unavailable.
Resolve the outstanding review before publishing.
Usage
| Access | Reveal the tooltip by hover or keyboard focus. Escape dismisses it. |
|---|---|
| Content | Keep the description short and noninteractive. Give icon-only controls their own accessible label. |