edible-tooltip
A styled tooltip that replaces the browser's unstyled
title attribute. Place
<edible-tooltip> as a child of any interactive
element — it registers on its parent and shows on hover or keyboard
focus.
On a button
Hover or focus the button to reveal the tooltip.
On a link
Works on any focusable element.
Learn moreOn an icon button
Useful for icon-only controls where the label is not visible on screen. The tooltip serves as the accessible description.
Multiple tooltips in a row
Each element gets its own independent tooltip instance.
|
Name
|
Role
|
Status
|
|---|---|---|
| Alice | Admin | Active |
| Bob | Editor | Inactive |
Long tooltip text
The popup wraps at 280 px max-width.