Standard
Tooltip Up
Tooltip Right
Tooltip Down
Tooltip Left
Container(s) | [data-tooltip] |
Modifiers | [data-tooltip-pos="up"] [data-tooltip-pos="right"] [data-tooltip-pos="down"] [data-tooltip-pos="left"] |
States | [data-tooltip-length="small"] [data-tooltip-length="medium"] [data-tooltip-length="large"] [data-tooltip-length="xlarge"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span data-tooltip="Tooltip up!" data-tooltip-pos="up"><i class="sg-icon sg-icon-info-circle"></i></span> | |
<span data-tooltip="Tooltip right!" data-tooltip-pos="right"><i class="sg-icon sg-icon-info-circle"></i></span> | |
<span data-tooltip="Tooltip down!" data-tooltip-pos="down"><i class="sg-icon sg-icon-info-circle"></i></span> | |
<span data-tooltip="Tooltip left!" data-tooltip-pos="left"><i class="sg-icon sg-icon-info-circle"></i></span> |
Guidelines
- Text should be complete sentences and ≤ 140 characters.
- Before using a tooltip, ask first whether the design or nomenclature can be changed.
- Only use tooltips for non-critical information.
- Pick a tooltip orientation using the following order: up, right, left, down.
- Use "Learn more" links when further explanation is warranted. See JS Tooltips below.
- Use the underlined style when you need a more subtle treatment.

