Tooltips

Provide additional information about the UI through tooltips.

UsageOverview

Tooltips provide complementary information for an element on a mouse hover or keyboard focus action. They are an important part of creating a good usability pattern so use them consistently thought.

How to use

Tooltips can be attached to:

Because tooltips are initiated by a hover gesture generally requiring the use of a mouse, use popovers for touchscreen devices.

How not to use

More best practices


AnatomyWriting & Tone

Use “we,” “our” and “you” to create a sense that we are speaking directly to our customers.


BehaviorTriggers / events

Tooltips show when a hovering specific inline element.

  1. Mouse cursor enters target area: display visual feedback within 0.1 seconds;
  2. The tooltip displays as long as the cursor is over the specific element;
  3. Tooltips fade after the cursor has left the specific inline element.

VariationsDefault tooltip

Used for most cases, the default tooltip uses a strong contrast.


Order & Alignment

Position

There are four possible positions: top (default), bottom, left, and right. Depending on the position the target object is relative to the screen, you might want to change the position the tooltip is in to ensure it is readable.


Best Practices Responsive Design

Because tooltips are initiated by a hover gesture generally requiring the use of a mouse, use popovers for touchscreen devices.

Accessibility

Include ARIA attributes in the trigger and display elements.


Feedback

We would like to get your feedback. Tell us how you use this component in your projects and how we can improve it.

Style

Behavior Specification

See popover's behavior specification on the floating trait that tooltips have.