Placements
Hover or focus the trigger to see the tooltip.
<div class="flex min-h-40 w-full flex-wrap items-center justify-center gap-6">
<x-components.tooltip content="Top tooltip" position="top">
<x-components.button variant="secondary">Hover me</x-components.button>
</x-components.tooltip>
<x-components.tooltip content="Now to the right" position="right">
<x-components.button variant="secondary">And me</x-components.button>
</x-components.tooltip>
<x-components.tooltip content="Below the button" position="bottom">
<x-components.button variant="secondary">Me too</x-components.button>
</x-components.tooltip>
</div>