gentleface

Gentleface › Layout & interface › cursor-hover

cursor-hover icon

Cursor hover: hover, mouseover, mouse over, on hover. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated cursor-hover-highlight · line-round

The pointer rests on the button and a highlight spreads out from under its tip to fill the button. The pointer slides away off the right edge and the highlight shrinks back and clears, then the pointer comes back and stops on the button again.

Download SVG

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.25 s to 2.3 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 8C15 8.039 14.999 8.078 14.997 8.117C14.988 8.257 14.933 8.373 14.832 8.463C14.73 8.554 14.609 8.595 14.468 8.587C14.328 8.578 14.212 8.524 14.122 8.422C14.031 8.32 13.99 8.199 13.998 8.058C13.999 8.039 14 8.019 14 8L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 8C2 8.276 2.098 8.512 2.293 8.707C2.488 8.902 2.724 9 3 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3 10C2.746 10 2.5 9.953 2.264 9.86C2.007 9.758 1.781 9.609 1.586 9.414C1.391 9.219 1.242 8.993 1.14 8.736C1.047 8.5 1 8.254 1 8L1 5C1 4.746 1.047 4.5 1.14 4.264ZM14.856 10.856C14.759 10.952 14.641 11 14.5 11L12.5 11C12.246 11 12.002 11.049 11.767 11.146C11.533 11.243 11.326 11.381 11.146 11.561L8.854 13.854C8.756 13.951 8.638 14 8.5 14C8.359 14 8.241 13.952 8.144 13.856C8.048 13.759 8 13.641 8 13.5L8 6.5C8 6.399 8.028 6.307 8.084 6.223C8.162 6.105 8.268 6.033 8.401 6.007C8.535 5.98 8.66 6.006 8.777 6.084L14.777 10.084C14.926 10.183 15 10.322 15 10.5C15 10.641 14.952 10.759 14.856 10.856ZM12.5 10L12.849 10L9 7.434L9 12.293L10.439 10.854C10.713 10.58 11.028 10.37 11.385 10.222C11.742 10.074 12.114 10 12.5 10Z"/></svg>
React
// Gentleface "cursor-hover" (line-round), MIT. https://gentleface.com/icons/cursor-hover
import type { SVGProps } from 'react';

export function CursorHoverIcon(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="M1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 8C15 8.039 14.999 8.078 14.997 8.117C14.988 8.257 14.933 8.373 14.832 8.463C14.73 8.554 14.609 8.595 14.468 8.587C14.328 8.578 14.212 8.524 14.122 8.422C14.031 8.32 13.99 8.199 13.998 8.058C13.999 8.039 14 8.019 14 8L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 8C2 8.276 2.098 8.512 2.293 8.707C2.488 8.902 2.724 9 3 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3 10C2.746 10 2.5 9.953 2.264 9.86C2.007 9.758 1.781 9.609 1.586 9.414C1.391 9.219 1.242 8.993 1.14 8.736C1.047 8.5 1 8.254 1 8L1 5C1 4.746 1.047 4.5 1.14 4.264ZM14.856 10.856C14.759 10.952 14.641 11 14.5 11L12.5 11C12.246 11 12.002 11.049 11.767 11.146C11.533 11.243 11.326 11.381 11.146 11.561L8.854 13.854C8.756 13.951 8.638 14 8.5 14C8.359 14 8.241 13.952 8.144 13.856C8.048 13.759 8 13.641 8 13.5L8 6.5C8 6.399 8.028 6.307 8.084 6.223C8.162 6.105 8.268 6.033 8.401 6.007C8.535 5.98 8.66 6.006 8.777 6.084L14.777 10.084C14.926 10.183 15 10.322 15 10.5C15 10.641 14.952 10.759 14.856 10.856ZM12.5 10L12.849 10L9 7.434L9 12.293L10.439 10.854C10.713 10.58 11.028 10.37 11.385 10.222C11.742 10.074 12.114 10 12.5 10Z" />
    </svg>
  );
}
Vue
Vue: see /icons/cursor-hover.md
Svelte
Svelte: see /icons/cursor-hover.md
HTML img
HTML img: see /icons/cursor-hover.md
CSS
CSS: see /icons/cursor-hover.md
Data URL
Data URL: see /icons/cursor-hover.md
Sprite
Sprite: see /icons/cursor-hover.md
SwiftUI
SwiftUI: see /icons/cursor-hover.md
Compose
Compose: see /icons/cursor-hover.md
Android XML
Android XML: see /icons/cursor-hover.md
Flutter
Flutter: see /icons/cursor-hover.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 { CursorHoverIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
hover, mouseover, mouse over, on hover, hover state
Alternatives
Don’t confuse with
  • tooltip: tooltip is the hint that appears on hover, not the hover trigger
Tags
cursor, pointer, hover, mouseover, mouse, over, element, button, interaction, prototype, trigger, ui, mouseenter, highlight
Category
Layout & interface
Component name
CursorHoverIcon
History
  • added
  • released in 0.2.0
  • 20 px drawn, 24 px drawn
Since
version 0.2.0

Family 11

More layout & interface icons

For agents

Metadata: /icons/cursor-hover.json · Markdown: /icons/cursor-hover.md · SVG: https://gentleface.com/svg/{style}/16/cursor-hover.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/cursor-hover.png