Skip to content

Informer

Description

Informer is a pattern used to show rich tooltips within the interface. It's useful when there is limited space to add, for example, a hint link alongside a component.

Appearance

The informer consists of the following elements:

  • Info icon with margin-left: 4px
  • Tooltip with the message (appears on clicking or pressing Enter/Space on the icon)

TIP

Avoid using the Info icon with the h1 title. This title typically pertains to hero blocks and similar elements. Adding tooltips to the main page title might seem unusual.

Info icon with different title sizes
Font sizeIcon sizeUsage
36px (--fs-700), 32px (--fs-600)LUse exclusively for the largest titles and controls.
Smaller than 24px (--fs-500)MSuitable for text sizes smaller than 24px.

Interaction

Informer states
StateAppearance exampleStyles
Normalcolor: var(--intergalactic-icon-secondary-neutral)
Hover, activecolor: var(--intergalactic-icon-secondary-neutral-hover-active), cursor: pointer.

Click zone

Informer click zone
Icon sizeTarget zone sizeAppearance example
L24px * 24px
M16px * 16px

Tooltip

For comprehensive details, refer to Tooltip.

Usage in UX/UI

When the Info icon contains supplementary information about a control within a group of controls (for example, filters), pay attention to margins.

When controls are accompanied by text labels, position the Info icon adjacent to the labels.

Released under the MIT License.

Released under the MIT License.