Tooltip
Give your content string to data-tooltip slot attribute to plant it.
Position
Use top bottom left right classes to control the position of tooltip.
<span class="tooltip bw top" data-tooltip="hello">
<button class="btn solid">top</button>
</span>Preview
Code
HTMLCode
JSX/TSXForce show
Apply show class on it to keep tooltip open.
Preview
Code
HTMLCode
JSX/TSXClick to show
The default function way of tooltip component is hover, but you can apply click-show class on it to change this behavior.
Preview
Code
HTMLCode
JSX/TSX