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 ButtonLink with text alongside a component.
Appearance
The informer consists of the following elements:
- ButtonLink with the
Info
icon and without text, withmargin-left: 4px
- DescriptionTooltip with the message (appears on clicking or pressing Enter/Space on the icon)
TIP
Avoid using the Informer
with the h1
title. This title typically pertains to hero blocks and similar elements. Adding tooltips to the main page title might seem unusual.
Font size | Icon size | Usage |
---|---|---|
36px (--fs-700 ), 32px (--fs-600 ) | L | Use exclusively for the largest titles and controls. |
Smaller than 24px (--fs-500 ) | M | Suitable for text sizes smaller than 24px. |
Interaction
State | Styles |
---|---|
Normal | color: var(--intergalactic-icon-secondary-neutral) |
Hover and active | color: var(--intergalactic-icon-secondary-neutral-hover-active) , cursor: pointer |
Click zone
Icon size | Target zone size | Appearance example |
---|---|---|
L | 24px * 24px | |
M | 16px * 16px |
Tooltip
For comprehensive details, refer to Tooltip.
Usage in UX/UI
When the Informer
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 Informer
adjacent to the labels.