Small floating labels that appear on hover or focus to give a little extra context about an element.
Hover or focus a trigger. placement is
top (default), bottom,
left, or right.
Works on any focusable trigger. trigger="click" toggles
on click instead of hover.
without-arrow hides the arrow;
disabled keeps the tip from ever opening.
short, text-only hints for an icon or control.
Keep content text-only — never put interactive elements inside. The tip is
position:fixed so it escapes
overflow:hidden ancestors and flips on
collision.
role="tooltip" and a unique id; the first focusable slotted trigger gets aria-describedby pointing at it, so screen readers announce the hint with the trigger.pointer-events:none, so it never steals hover from the trigger.