Example

Basic tooltip with a button as a trigger.
Properties
Required
The text label to display in the tooltip.
The widget that triggers the tooltip on .
Layout
The position where the tooltip appears relative to the child widget.
Behavior
The delay before showing the tooltip on hover. Does not affect long press behavior on mobile.
Enums
NeoTooltipPosition
Position where the tooltip appears relative to the child widget.top
: Tooltip appears above the childright
: Tooltip appears to the right of the childbottom
: Tooltip appears below the childleft
: Tooltip appears to the left of the child
Best Practices
- Accessibility: Tooltips are essential for icon-only buttons and helpful for providing additional context.
Integration Notes
- Interaction Methods:
- Desktop: Hover to show tooltip after the specified delay
- Mobile: Long press to show tooltip immediately
- Dismissal: Tooltips automatically hide when:
- Mouse leaves the child area (desktop)
- User taps outside the tooltip (mobile, after long press)
- User performs other interactions