MetalUI / Soft Hardware

React · SwiftUI · agent guides

Tooltip

Names an icon-only control and its key: a graphite pill chip in the label role, SELECT · V with the key dimmed, 10 from the trigger after 120 ms, grouped so the next trigger shows at once; flips near the edge; fades on settle. Built on Base UI Tooltip. wrap makes a longer note that wraps at 280 with its detail in Tooltip.Dim.

Use it for

  • Every icon-only control: a tool, a lens bar pin, a close button. The name and its key.

Don't use it for

  • Where a cue came from: use the ProvenanceTooltip block (a wrapped note with its detail in Tooltip.Dim).
  • Anything to click or read at length: use a popover or a menu. A tooltip holds no controls.
  • A control that already shows its name in words.

Read the Tooltip agent guide · Copy registry source

Explore the documentation · Agent index · Source on GitHub