Tooltips that follow their trigger

Try tooltips above and below a button. Floating UI handles the positioning and fallback placement.

Positioned above this button.
Positioned below this button.
JavaScript
import { createWebcimesTooltip } from 'webcimes-tooltip';

createWebcimesTooltip({
    type: 'button',
    element: '#above',
    placement: 'top',
    arrow: true,
});

More examples