Tooltip for svelte with use directive. Just copy the component to your project and use/modify however you like.
use:action from Svelte Docs
https://svelte.dev/repl/cb5f410f70ff4498bb125092b80712b6