Documentation

Tooltip

Supplementary text shown on hover or focus. A tooltip never receives or moves keyboard focus and is not a dialog.

<Tooltip content="Keyboard shortcut: Ctrl+S" placement="top" align="end">
  <IconButton
    icon="save"
    color="secondary"
    aria-label="Save document"
    onClick={save}
  />
</Tooltip>
PropDefaultPurpose
content—Supplementary text
children—A single element that forwards ARIA attributes
placementtopPreferred top, bottom, left, or right; flips to fit
aligncenterstart, center, or end
tag, jss—Trigger wrapper element and styling
  • Uses native hint popovers, not dialog.show().
  • Describes the trigger through aria-describedby, preserving existing descriptions.
  • Remains visible while the trigger is focused or the pointer is over the trigger/tooltip.
  • A short pointer grace period permits moving into the tooltip.
  • Escape, Tab from the trigger, and outside clicks dismiss it. Escape leaves enclosing menus and dialogs open.
  • Portaled positioning avoids clipping and constrains long text to the viewport. Long paths wrap rather than scrolling horizontally.

Provide an accessible name independently: tooltip text is a description, not an icon button’s only label. Do not hide essential instructions or interactive controls inside a tooltip; use Popover instead.