Skip to main content

Tooltip

A tooltip is a non-modal, non-interactive overlay that contains supplemental information for user interfaces. It is hidden by default and becomes unhidden when an associated element is hovered or focused. A tooltip can't be selected or interacted with directly.

Variants

Props

PropsDatatypeValues/Example
showboolean"true" | "false"
placementstring"left" | "right" | "top" | "bottom"
titlestring"Cancel"
onClickfunctionfunction from parent component
stylePropObjectfont-size: var(--base-text)
classPropObjectfont-size: var(--base-text)