Overview
Tooltips display informative text when users hover over, focus on, or tap an element.
Usage
Position your tooltip using the
sgds-tooltip is-tooltip-*position*
class.
Colours
Assign colours to your tooltip using the
sgds-tooltip is-tooltip-*stateColor*
class.
Component code
When to use
Tooltips should be used:
- When you want to give a brief description of a feature or page element.
- Information should be brief and helpful to your user.
- For example, in a Form, tooltips help to explain what a certain field does.
Tooltips should not be used for:
- Critical or important information to the user.
- Information that is needed for your users to complete a task.
Can't find a component?
Let us know what you need and we’ll be happy to look into it
Request component