Search the design system

Components

Tooltip

Tooltip gives contextual information about a design element.

tooltip: tooltip

Usage

Tooltips provide short, contextual information about an element — often used to describe icons, condensed labels, or actions when space is limited. They appear on hover or focus and disappear automatically when the element is no longer active.

Anatomy

The tooltip consists of three elements: the label that provides context, the container that holds the information, and the tip that indicates direction toward the anchor.

tooltip: tooltip
  1. Label – the message text providing context or clarification.
  2. Container – the background surface that holds the label, styled with rounded corners.
  3. Tip (Caret) – a small directional triangle that points toward the anchor element to indicate its relationship.

Properties

Label

The label displays the accessible name of the trigger element. Keep text short and meaningful. Avoid wrapping where possible; wrap to a second line only when necessary.

tooltip: Label

Behaviour

Presentation

Tooltips appear after a short delay (around 700 ms) when an element is hovered or focused.
They fade in smoothly and hide immediately when the element is no longer active.
Only one tooltip is visible at a time.

tooltip: Presentation

Dismissing

The tooltip disappears when the anchor loses hover or focus or when another tooltip is triggered.

tooltip: Dismissing

Text overflow

Avoid long text. When wrapping occurs, the tip remains visually centered relative to the anchor.

tooltip: Text overflow

Placement

Tooltips position themselves automatically based on available space.
The default placement is above the trigger element, but they can also appear below, to the left, or to the right when needed.

tooltip: Placement

The tooltip automatically repositions to stay visible within the viewport, and the tip adjusts to indicate direction.

Best practice

Long labels

tooltip: Long labels — Keep labels short and simple.
Keep labels short and simple.
tooltip: Long labels — Avoid long or complex sentences that slow down scanning.
Avoid long or complex sentences that slow down scanning.

Multiple tooltips

tooltip: Multiple tooltips — Show one tooltip at a time.
Show one tooltip at a time.
tooltip: Multiple tooltips — Avoid multiple tooltips simultaneously.
Avoid multiple tooltips simultaneously.

Width

tooltip: Width — Let the tooltip size adapt to its content.
Let the tooltip size adapt to its content.
tooltip: Width — Avoid a fixed width for the tooltip.
Avoid a fixed width for the tooltip.

Specs

tooltip: tooltip
ComponentsToggle Group / Code
ComponentsTooltip / Code

© DesignTech - AB Svenska Spel

What's newTerms of useAccessibility statementCookiesTeams channel [Internal]
@svs/ui version
4.2.1

Feedback

We always want to improve the Design System and would be thrilled to get your feedback.

Please share your wisdom with us.

Microsoft Teams [internal]

Designsystem@svenskaspel.se