Add brief help
Use tooltips for short hints, descriptions, or keyboard shortcuts.
Tooltips display more information when users hover over, focus on, or interact with an element.
Use tooltips for short hints, descriptions, or keyboard shortcuts.
Tooltips add detail to a labelled control or icon, rather than replacing the label.
Tooltips can appear on hover, focus, or click based on the trigger.
Label
Container
Tooltips can be anchored to any side of their target. Choose the side with the most space and least overlap with surrounding content.
Anchors above the target. This is the default placement.
Tooltips can open on hover and focus, or only on a specific interaction. Use click to make the tooltip persistent on touch devices.
Default behaviour, open through mouse hover or keyboard focus.
Tooltip content should stay short enough to read quickly without covering important UI.
Use short content for quick clarification of a control or icon.
Each row is a colour, spacing, or size value the component uses, and the right-most column tells you where in the component you'll see it.
sgds-padding-sm12pxsgds-padding-xs8pxsgds-border-radius-md8pxsgds-font-size-1414pxsgds-dimension-320320pxsgds-z-index-overlay800Use tooltips for brief explanations or shortcut hints on elements that already have a visible affordance.
Information users need to complete a task should be visible without hovering. Use hint text or inline messages.
Aim for a short phrase that fits on one or two lines. Long tooltips are often missed and hard to read.
Only use a tooltip when it explains something the label or icon does not already convey.
Anchor the tooltip on the side with the most space and least overlap so users can read it without losing context.
Hover-only triggers exclude keyboard and touch users. Use the default hover and focus trigger so tabbing also opens it.
role="tooltip".tabindex="0" to non-focusable HTML triggers when they need a tooltip.TabShift+TabShare them with us on Slack → #ask-sgds-v3
Report it on GitHub Issues → sgds/components/tooltip
The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.