Skip to content
LyEve UI v0.60.1

Overlays

Tooltip

A short hint that appears on hover or focus. Wraps any inline element and positions itself in one of four directions. Keep tooltips short: anything longer than a sentence belongs in an Alert or a docs link.

Basic

Positions

Inline icon hint

Workspace slug

API

PropTypeDefaultDescription
text requiredstring no defaultTooltip body, on one line with no line breaks.
position 'top' | 'bottom' | 'left' | 'right''top'Where the tooltip appears relative to the trigger.
class string no defaultExtra classes on the trigger wrapper.
children requiredSnippet no defaultThe element the tooltip is attached to.
describe booleantrueMakes the text the trigger's description for screen readers. Turn it off where the trigger's name already says the same words.