Component

Tooltip

Reveal brief contextual information about a UI element on hover, focus, or tap. Nexus provides Tooltip for Desktop / Tablet and MobileTooltip for Mobile Application, both wired to the --components-tooltips-* tokens.

Storybook
Playground
Size
Position
Label text
Preview
JSX
<Tooltip
  size="sm"
  position="bottom-left"
  label="This is a Tooltip"
>
  <button aria-label="More info">i</button>
</Tooltip>

Props

The full Tooltip API for Desktop / Tablet. Use size="sm" for a single label, or size="lg" for a title with optional support content.

PropTypeDefaultDescription
size
"sm" | "lg""sm"Tooltip variant — controls layout and sizing. SM shows a single label and hugs its content (min 48px / max 320px); LG shows a title with optional support content and a close icon at a fixed 280px width (min 88px / max 560px).
position
"top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | "left-center" | "right-center""bottom-left"Which edge the arrow sits on (and its alignment) relative to the trigger. 8 positions; the 20×12 arrow is inset 12px from the corner and overlaps the bubble by 2px internally.
label
string"This is a Tooltip"SM only — tooltip text. Truncates at 2 lines.
title
string"This is a Tooltip Title"LG only — tooltip heading text. Truncates at 2 lines.
supportContent
string"Tooltips are used to describe or identify an element…"LG only — supporting description text. Truncates at 3 lines.
showSupportContent
booleantrueLG only — show / hide the support description.
childrenRequired
ReactNodeThe focusable trigger element the tooltip wraps. The tooltip opens on hover and focus.