Overview

The Help Tooltip component is based on the Popover component and the Icon Button component.

Edit this section, Opens in new window

Usage

Style

The Help Tooltip component is based on the Popover component and the Icon Button component, but the Help Tooltip Popover is only BR 1, BROWN, never red.

Principles

Interaction

Mobile

If user touch and holds on the question mark icon the Help Tooltip should be displayed while holding. Technical

The component should not insert or move any elements in the DOM. The component should not self-initiate automatically. A dynamic update of tooltip text should be possible. Sizing

Positioning

If the Help Tooltip button is over a certain treshold in the viewport, the Help Tooltip Popover should automatically be placed over or under the Help Tooltip button.

Desktop

The Help Tooltip is center aligned with the button, top or bottom, and the arrow should also be aligned accordingly. In situations where the Help Tooltip Popover would be placed outside of the viewport horizonally to the left, the Help Tooltip Popover is aligned to the left of the container. The arrow is always aligned to where it is initiated from.

Mobile

The Help Tooltip is always centered in the viewport and the arrow is always centered to the button.

Edit this section, Opens in new window

Behaviours

There is currently no documentation for this section yet. However, there might be some more documentation after this section.
Contact the Design System team, Opens in new window for questions.

If you want to contribute, you can also add the documentation yourself!, Opens in new window

Edit this section, Opens in new window

Accessibility

Touch/Click area

The click/touch area for the Help Tooltip Button is 48x48 px.

  1. Touch area
  2. Button
Edit this section, Opens in new window

Anatomy

Help Tooltip
  1. Icon Button with Help Icon
  2. Popover
  3. Close
  4. Title (optional)
  5. Text
Edit this section, Opens in new window
Contact us, Opens in new window