Tooltip
A lightweight help bubble built with the Popover API. Popover is now Baseline 2025 across major browsers, while anchor positioning remains a progressive enhancement for more exact placement.
Preview
Browser Compatibility
| Feature | Chrome | Edge | Firefox | Safari | Notes | Source |
|---|---|---|---|---|---|---|
popover
Baseline 2025
|
114+ | 114+ | 125+ | 17+ | Newly available across major browsers for the native tooltip surface and declarative toggle interaction. | caniuse |
interestfor
Limited support
|
142+ | 142+ | No | No | Hover and focus tooltip invocation without JavaScript depends on this experimental API, so it is not used here. | caniuse |
| CSS anchor positioning Baseline 2026 | 125+ | 125+ | 147+ | 26+ | Allows the tooltip bubble to lock to its trigger without custom layout code. This lands after the repo's baseline, so it is used as a progressive enhancement. | caniuse |