Tooltip

A short label attached to whatever it wraps.

import { Tooltip } from '@textui/core';

<Tooltip text="Restarts every worker">
  <text content="Restart all" />
</Tooltip>

Props

| Prop | Type | Default | | | — | — | — | — | | text | string | required | |

Plus everything on BoxProps.

Role: tooltip.

A terminal has no hover for most inputs, so this shows on focus rather than on pointer - which means it only ever appears on something focusable.

That makes it weaker than a tooltip on the web, and a KeyHints line or a description prop is often the better answer.

See also


Back to top

MIT licensed. Pre-1.0 - the surface is still moving.