Skip to content

InfoTip ​

A `?` that explains the thing beside it: a field's label, a table column, a figure.

Open in Storybook to try every prop.

When to use ​

  • A short explanation most people won't need, beside the label it explains.
  • Fields have it built in: helperPlacement="icon" on Input, InputNumber, InputDate, Select and RadioGroup.

When not to use ​

  • Anything people need to complete the task: put it on the page (e.g. helper text below the label).
  • Naming an icon button: use Tooltip.
  • Anything interactive: use Popover.

Anatomy ​

PartRequiredNotes
buttonYes16px ? icon with 2px padding, fully rounded.
panelYesPopover panel above it, up to 256px wide, 12px text.

Properties ​

PropertyTypeDefaultDescription
textstring—Required. A sentence or two.
labelstring—Required. Accessible name, e.g. "About attendance".

States ​

StateAppearanceNotes
EnabledBlack icon.
Hovered / openBlack 10% circle behind it.
Focused2px focus ring.Keyboard only.

Behaviour ​

  • Opens on hover, and on click / tap, which keeps it open (so it works on touch). Escape or clicking outside closes it.
  • Focus never moves into it, so typing in a nearby field isn't interrupted.

Accessibility ​

  • A button named by label, with text as its description, so screen readers hear the explanation without opening it.
  • In a field, the field's control is described by the same text, so it's heard there too.

Platform adaptation ​

PlatformImplementationDifferences
Web / desktop (Vue)InfoTip.vueBuilt on Popover (hover mode).
iOS (SwiftUI)—questionmark.circle button showing a .popover.
Android (Compose)—Icon button with a RichTooltip.

Tokens used ​

TokenUsed for
color-focusFocus ring

Released under the PolyForm Noncommercial License 1.0.0.