Skip to content

Info Hint

Last updated 6 Nov 2026

NbInfoHint is a small, discreet affordance you drop next to anything whose meaning is not self-evident: a KPI number, a status word, a column header, an abbreviation. It renders a compact icon in a subtle token colour and reveals a short description on hover, focus, or click.

It exists so applications stop hand-rolling little grey question marks with hardcoded colours. Every colour here comes from the semantic token layer, so the hint follows the theme without the host knowing anything about it.

10
24
vue
<template>
  <span>Archived</span>
  <NbInfoHint
    text="Items moved out of the active list. Kept for 90 days, then deleted."
  />
</template>

Where it earns its place ​

Put a hint next to a label whose meaning a new user cannot guess. Do not use it for content that belongs in the interface itself: if every user needs the sentence, write the sentence.

Hover, focus and touch ​

The popover opens on hover for pointer users and on focus for keyboard users. A click or tap pins it open, which is what makes it usable on touch devices, where there is no hover at all. A pinned popover is dismissed by clicking the icon again, pressing Escape, or clicking anywhere outside it.

Placement ​

placement is a preference, not a guarantee. When the preferred side would push the popover off-screen it flips to the opposite side, then to the orthogonal sides, and finally clamps itself inside the viewport with the arrow re-aimed at the icon.

Inside clickable rows and cards ​

A hint routinely lives inside something that is itself clickable. NbInfoHint stops click, mousedown and pointerdown from propagating, so opening a hint never triggers the host's action.