Feedback
Tooltip
A tooltip is a small ink label that names an icon-only control when the person points at it or reaches it with the keyboard.
In kanso-ui as Tooltip
Live in kanso-ui
Tooltip from kanso-ui as it draws today, in Kanso’s tokens. Press, hover and tab through it: the shapes, the springs and the sizes are the library’s own.
The design
The Kanso design system's own drawing of it, in HTML and CSS with kanso-ui's tokens: the look kanso-ui's component moves to with its family's release.
When to use
- Use it on icon buttons, to show their name ("Notifications") and, on the web, a keyboard shortcut.
- Don't use it for anything the person needs to finish a task, for links or buttons, or for more than a short phrase: write it on the page, or use InlineAlert or Sheet.
- Don't add one to a control whose name is already written on it.