Tooltip — a small floating bubble that describes the element it's placed
inside. Render <Tooltip> as a child of the element it annotates; it
doesn't affect that element's layout.
Shows on hover (after delay) and on keyboard focus; dismisses on mouse
leave, blur, Escape, or when the anchor scrolls away. On touch devices it
opens on press-and-hold (a tap never surfaces it) and lingers briefly after
release. Pinned under the anchor by default — pass follow to make it track
the cursor instead.
Requires @antadesign/anta/elements to be imported (client-side only)
to register the underlying custom element.
Tooltip — a small floating bubble that describes the element it's placed inside. Render
<Tooltip>as a child of the element it annotates; it doesn't affect that element's layout.Shows on hover (after
delay) and on keyboard focus; dismisses on mouse leave, blur, Escape, or when the anchor scrolls away. On touch devices it opens on press-and-hold (a tap never surfaces it) and lingers briefly after release. Pinned under the anchor by default — passfollowto make it track the cursor instead.Requires
@antadesign/anta/elementsto be imported (client-side only) to register the underlying custom element.