Tooltip

<vn.Tooltip> Import as <vn.Tooltip>

A tooltip that follows the pointer and stays inside the viewport.

Renders as <span> Underlying HTML element

Preview

Example

<vn.Tooltip content="Open settings"><vn.Button>Settings</vn.Button></vn.Tooltip>

Attributes

Attribute Component-specific prop Accepts Values or types it accepts
contentAny string
positionautotopbottomleftright
childrenSnippet