Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
Tooltips display support text when users hover over, focus on, or tap an element.
Do
Don't

Go to Setup for instructions on how to import the component.
| Name | Description | Default |
|---|---|---|
| id* | Text that will serve as unique identifier. It's also an important accessibility tool. string | - |
| text* | Text that will be rendered inside the Tooltip. string | - |
| placement | Defines the Tooltip's relative position from the target. "top-start""top""top-end""right-start""right""right-end""bottom-start""left-start" | "top" |
| children* | Target component to which the Tooltip should be applied upon. node | - |
On desktop, a tooltip is displayed upon hovering over it. It is not displayed on mobile. Continuously display the tooltip as long as the user hovers over the element.




* When close to screen limits, keep tooltip position visible with margins of 12px for all sides.
The tooltips color is defined in the scss/variables/_settings.scss file, and can be Black, Teal or Purple. Avoid using Purple tooltips if the project theme is Teal, and vice versa.

Tooltips placement relative to the target is defined by the user through props, and can have one of the 12 following values. The default value is top.
Tooltip text should not be longer than 180 characters and 3 lines. A warn will be thrown in the console if the 180 chars limit is crossed.
Tooltip can also be triggered by an Icon or other elements.