Gentleface › Layout & interface › tooltip
tooltip icon
tooltipTooltip: tooltip, callout, popover, hint bubble. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated tooltip-pop · line-round
The text retracts and the bubble shrinks into the tip of its tail. It then pops back out of the tail past its size and settles, and the text line grows from the middle.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 1.75 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M13.414 10.414C13.219 10.609 12.993 10.758 12.736 10.86C12.5 10.953 12.254 11 12 11L10.5 11C10.246 11 10.002 11.049 9.767 11.146C9.533 11.243 9.326 11.381 9.146 11.561L8.854 11.854C8.681 12.026 8.484 12.16 8.26 12.257C8.018 12.362 7.764 12.414 7.5 12.414C7.236 12.414 6.982 12.362 6.74 12.257C6.516 12.16 6.319 12.026 6.146 11.854L5.854 11.561C5.674 11.381 5.467 11.243 5.233 11.146C4.998 11.049 4.754 11 4.5 11L3 11C2.746 11 2.5 10.953 2.264 10.86C2.007 10.758 1.781 10.609 1.586 10.414C1.391 10.219 1.242 9.993 1.14 9.736C1.047 9.5 1 9.254 1 9L1 4C1 3.746 1.047 3.5 1.14 3.264C1.242 3.007 1.391 2.781 1.586 2.586C1.781 2.391 2.007 2.242 2.264 2.14C2.5 2.047 2.746 2 3 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 9C14 9.254 13.953 9.5 13.86 9.736C13.758 9.993 13.609 10.219 13.414 10.414ZM2.293 9.707C2.488 9.902 2.724 10 3 10L4.5 10C4.886 10 5.258 10.074 5.615 10.222C5.972 10.37 6.287 10.58 6.561 10.854L6.854 11.146C7.032 11.325 7.248 11.414 7.5 11.414C7.752 11.414 7.968 11.325 8.146 11.146L8.439 10.854C8.713 10.58 9.028 10.37 9.385 10.222C9.742 10.074 10.114 10 10.5 10L12 10C12.276 10 12.512 9.902 12.707 9.707C12.902 9.512 13 9.276 13 9L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 9C2 9.276 2.098 9.512 2.293 9.707ZM4.144 6.856C4.048 6.759 4 6.641 4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6L10.5 6C10.641 6 10.759 6.048 10.856 6.144C10.952 6.241 11 6.359 11 6.5C11 6.641 10.952 6.759 10.856 6.856C10.759 6.952 10.641 7 10.5 7L4.5 7C4.359 7 4.241 6.952 4.144 6.856Z"/></svg>
// Gentleface "tooltip" (line-round), MIT. https://gentleface.com/icons/tooltip
import type { SVGProps } from 'react';
export function TooltipIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M13.414 10.414C13.219 10.609 12.993 10.758 12.736 10.86C12.5 10.953 12.254 11 12 11L10.5 11C10.246 11 10.002 11.049 9.767 11.146C9.533 11.243 9.326 11.381 9.146 11.561L8.854 11.854C8.681 12.026 8.484 12.16 8.26 12.257C8.018 12.362 7.764 12.414 7.5 12.414C7.236 12.414 6.982 12.362 6.74 12.257C6.516 12.16 6.319 12.026 6.146 11.854L5.854 11.561C5.674 11.381 5.467 11.243 5.233 11.146C4.998 11.049 4.754 11 4.5 11L3 11C2.746 11 2.5 10.953 2.264 10.86C2.007 10.758 1.781 10.609 1.586 10.414C1.391 10.219 1.242 9.993 1.14 9.736C1.047 9.5 1 9.254 1 9L1 4C1 3.746 1.047 3.5 1.14 3.264C1.242 3.007 1.391 2.781 1.586 2.586C1.781 2.391 2.007 2.242 2.264 2.14C2.5 2.047 2.746 2 3 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 9C14 9.254 13.953 9.5 13.86 9.736C13.758 9.993 13.609 10.219 13.414 10.414ZM2.293 9.707C2.488 9.902 2.724 10 3 10L4.5 10C4.886 10 5.258 10.074 5.615 10.222C5.972 10.37 6.287 10.58 6.561 10.854L6.854 11.146C7.032 11.325 7.248 11.414 7.5 11.414C7.752 11.414 7.968 11.325 8.146 11.146L8.439 10.854C8.713 10.58 9.028 10.37 9.385 10.222C9.742 10.074 10.114 10 10.5 10L12 10C12.276 10 12.512 9.902 12.707 9.707C12.902 9.512 13 9.276 13 9L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 9C2 9.276 2.098 9.512 2.293 9.707ZM4.144 6.856C4.048 6.759 4 6.641 4 6.5C4 6.359 4.048 6.241 4.144 6.144C4.241 6.048 4.359 6 4.5 6L10.5 6C10.641 6 10.759 6.048 10.856 6.144C10.952 6.241 11 6.359 11 6.5C11 6.641 10.952 6.759 10.856 6.856C10.759 6.952 10.641 7 10.5 7L4.5 7C4.359 7 4.241 6.952 4.144 6.856Z" />
</svg>
);
}Vue: see /icons/tooltip.md
Svelte: see /icons/tooltip.md
HTML img: see /icons/tooltip.md
CSS: see /icons/tooltip.md
Data URL: see /icons/tooltip.md
Sprite: see /icons/tooltip.md
SwiftUI: see /icons/tooltip.md
Compose: see /icons/tooltip.md
Android XML: see /icons/tooltip.md
Flutter: see /icons/tooltip.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { TooltipIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- tooltip, callout, popover, hint bubble, callout block
- Alternatives
info: an info icon that reveals help (info)
- Don’t confuse with
message: a speech bubble means a message or a comment
- Also fits
- dialog: a small hint bubble on hover (tooltip)
- Not for
- hover (use
cursor-hover): tooltip is the hint that appears on hover, not the hover trigger
- hover (use
- Tags
- tooltip, tool tip, hint, popover, callout, hover text, help text, info bubble, ui, component
- Category
- Layout & interface
- Component name
TooltipIcon- History
- added
- 20 px drawn, 24 px drawn
- released in 0.2.0
- Since
- version 0.2.0
Family 84
More layout & interface icons
app apps apps-alert apps-check apps-clock apps-gear apps-link apps-pencil apps-plus apps-search apps-sparkle apps-x cards-stacked checkbox checkbox-indeterminate checkbox-off · all layout & interface icons
For agents
Metadata: /icons/tooltip.json · Markdown: /icons/tooltip.md · SVG: https://gentleface.com/svg/{style}/16/tooltip.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/tooltip.png