Tooltip

Tooltips are small contextual overlays that provide additional information when users hover or focus on elements.

tooltip/main

Resources

Intro & Anatomy

Tooltips are small contextual overlays that provide additional, non-crucial information when users hover over or focus on elements. Use tooltips to explain functionality, provide context, or offer supplementary details without cluttering the main interface, e.g. explaining icon meanings, providing definitions, or showing additional context.

Tooltips include optional arrows that can be positioned on any side (top, left, bottom, right) to point toward the triggering element.

tooltip/anatomy

 


 

Options & Styles

Text & Icon

Tooltips can include optional elements for flexible information display:

Icon & Title are optional
Description is mandatory and contains the main tooltip content

tooltip/textIcon

Arrow Position

Arrow/tip is optional and can be positioned at top left/right, left, bottom left/right, or right to point toward the triggering element.

tooltip/tips

 


 

Best Practice & Usage

Tooltips should provide helpful supplementary information without hiding critical content. Use tooltips to enhance user understanding whilst ensuring all essential information remains visible in the main interface.

tooltip/Usage/do1
tooltip/Usage/dont1
tooltip/Usage/do2
tooltip/Usage/dont2
tooltip/Usage/do3
tooltip/Usage/dont3

 


 

Theming

You can customise colours, shadows, border width and radius, and font styles to match your design requirements.

When not using MDX icons, a slot is available to use your own icon library or SVG icons within tooltip content.