Tooltips are small floating labels that appear near a UI element on hover. WindUI renders them in a dedicatedDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Footagesus/WindUI/llms.txt
Use this file to discover all available pages before exploring further.
ScreenGui layer (WindUI/Tooltips) so they always display above all other UI elements.
There are two main ways tooltips appear in WindUI:
- Slider
IsTooltip— shows the current value above the slider thumb while dragging or hovering. - Tab
Desc— shows a description tooltip when hovering a tab in the sidebar.
Slider tooltip
SetIsTooltip = true on a slider to show the current numeric value in a tooltip above the drag handle.
Slider without a title or textbox
IsTooltip works on sliders that have no title or textbox, making the tooltip the only visible indicator of the current value:
Slider with range icons and tooltip
Tab description tooltip
Tabs accept aDesc field. When Desc is set, hovering the tab in the sidebar reveals a tooltip with that description text.
The tooltip appears to the right of the sidebar tab, not below it. Its position adjusts to stay within the screen bounds.
Tooltip appearance
Tooltips are rendered as pill-shaped labels using the theme’sTooltip color token. They animate in with a scale and fade transition and animate out the same way.
Tooltip module
Internally, tooltips are created withTooltip.New(Title, Parent, IsArrow, ColorType, Size, IsTextWrap) from src/components/ui/Tooltip.lua. The returned object exposes two methods:
| Method | Description |
|---|---|
:Open() | Fades the tooltip in and scales it to full size. |
:Close(IsDestroy) | Fades the tooltip out. Destroys the container by default (IsDestroy defaults to true). |