Getting started

InstallUsageGuidelinesContributeRelease

Foundation

Navigation

Overlay

Confirmation DialogDrawerFilter MenuMenuTooltip

Tooltip

Contextual help or information about specific components that appears on hover.

#

#

Use the placement prop to change the placement of the tooltip.

#

Use the openSpeed prop to change the delay before showing the tooltip.

#

Use the keyboardShortcut prop to display a keyboard shortcut in the tooltip.

For a list of supported keys see Mousetrap.

#

#

  • Show the same data in a different format, such as date or timestamps.
  • Display a full string of text that is shortened with an ellipsis (…).
  • Explain why a button is disabled.
  • Provide context for icon buttons.

#

  • When a message contains anything else than text, like links or buttons.
  • When user is expected to take an action inside a tooltip.

#

#

NameDefaultDescription
isDisabledfalseboolean

Disable the tooltip.

message

string

Tooltip message.

keyboardShortcut

string

The keyboard shortcut to display in the tooltip. Use the `+` symbol to separate characters.

placement"top"PlacementWithLogical

The placement of the tooltip.

children

ReactNode

Element to show tooltip around.

openSpeed"immediate""immediate" | "slow"

Show the tooltip immediately or wait 500ms.

On this page

  • Usage
  • Placement
  • Open speed
  • Keyboard shortcut
  • Guidelines
  • When to use
  • When not to use
  • Content
  • Props