Svelte UI

Tooltips

Themed tooltips via the use:tooltip action, positioned by the shared anchored engine (flips vs the viewport, top layer). No global handler. It reads — and suppresses — the native title, and backstops aria-label for elements with no accessible name.

Basics

hover this text

Variants

variant colours the bubble + arrow — hover a button.

Sizes

size sets the bubble padding + text.

Placement

Preferred side (flips to the opposite if it won't fit) and cross-axis align. Default is top / center.

Options

Already built in

Button — and every compound built on it: DataTable's icon controls + pagination and Query's clear/help — drive this from their title automatically. Native title tooltips are replaced library-wide.