gentleface

Gentleface › Layout & interface › cursor

cursor icon

Cursor: cursor, pointer, select tool, mouse pointer. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.

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="M12.304 8.103C12.435 8.203 12.5 8.335 12.5 8.5C12.5 8.641 12.452 8.759 12.356 8.856C12.259 8.952 12.141 9 12 9L8.809 9L10.345 12.072C10.449 12.28 10.509 12.499 10.525 12.731C10.542 12.984 10.506 13.23 10.415 13.468C10.325 13.705 10.189 13.913 10.007 14.091C9.842 14.254 9.651 14.378 9.436 14.464C9.218 14.551 8.991 14.595 8.757 14.596C8.502 14.597 8.257 14.547 8.023 14.447C7.788 14.347 7.584 14.204 7.409 14.019C7.247 13.848 7.123 13.654 7.036 13.436L5.847 10.464L3.884 12.82C3.784 12.94 3.656 13 3.5 13C3.359 13 3.241 12.952 3.144 12.856C3.048 12.759 3 12.641 3 12.5L3 2C3 1.887 3.034 1.786 3.103 1.696C3.187 1.587 3.297 1.523 3.434 1.504C3.571 1.486 3.694 1.519 3.804 1.603L12.304 8.103ZM5.079 9.824C5.183 9.699 5.311 9.605 5.461 9.542C5.636 9.469 5.817 9.447 6.004 9.477C6.191 9.506 6.356 9.583 6.499 9.706C6.623 9.813 6.715 9.942 6.776 10.093L7.964 13.064C8.051 13.281 8.202 13.436 8.417 13.528C8.631 13.62 8.847 13.623 9.064 13.536C9.265 13.456 9.404 13.314 9.48 13.112C9.557 12.91 9.547 12.713 9.451 12.519L7.915 9.447C7.843 9.303 7.807 9.151 7.809 8.99C7.811 8.804 7.861 8.632 7.958 8.474C8.056 8.316 8.188 8.195 8.353 8.11C8.496 8.037 8.648 8 8.809 8L10.523 8L4 3.012L4 11.119L5.079 9.824Z"/></svg>
React
// Gentleface "cursor" (line-round), MIT. https://gentleface.com/icons/cursor
import type { SVGProps } from 'react';

export function CursorIcon(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="M12.304 8.103C12.435 8.203 12.5 8.335 12.5 8.5C12.5 8.641 12.452 8.759 12.356 8.856C12.259 8.952 12.141 9 12 9L8.809 9L10.345 12.072C10.449 12.28 10.509 12.499 10.525 12.731C10.542 12.984 10.506 13.23 10.415 13.468C10.325 13.705 10.189 13.913 10.007 14.091C9.842 14.254 9.651 14.378 9.436 14.464C9.218 14.551 8.991 14.595 8.757 14.596C8.502 14.597 8.257 14.547 8.023 14.447C7.788 14.347 7.584 14.204 7.409 14.019C7.247 13.848 7.123 13.654 7.036 13.436L5.847 10.464L3.884 12.82C3.784 12.94 3.656 13 3.5 13C3.359 13 3.241 12.952 3.144 12.856C3.048 12.759 3 12.641 3 12.5L3 2C3 1.887 3.034 1.786 3.103 1.696C3.187 1.587 3.297 1.523 3.434 1.504C3.571 1.486 3.694 1.519 3.804 1.603L12.304 8.103ZM5.079 9.824C5.183 9.699 5.311 9.605 5.461 9.542C5.636 9.469 5.817 9.447 6.004 9.477C6.191 9.506 6.356 9.583 6.499 9.706C6.623 9.813 6.715 9.942 6.776 10.093L7.964 13.064C8.051 13.281 8.202 13.436 8.417 13.528C8.631 13.62 8.847 13.623 9.064 13.536C9.265 13.456 9.404 13.314 9.48 13.112C9.557 12.91 9.547 12.713 9.451 12.519L7.915 9.447C7.843 9.303 7.807 9.151 7.809 8.99C7.811 8.804 7.861 8.632 7.958 8.474C8.056 8.316 8.188 8.195 8.353 8.11C8.496 8.037 8.648 8 8.809 8L10.523 8L4 3.012L4 11.119L5.079 9.824Z" />
    </svg>
  );
}
Vue
Vue: see /icons/cursor.md
Svelte
Svelte: see /icons/cursor.md
HTML img
HTML img: see /icons/cursor.md
CSS
CSS: see /icons/cursor.md
Data URL
Data URL: see /icons/cursor.md
Sprite
Sprite: see /icons/cursor.md
SwiftUI
SwiftUI: see /icons/cursor.md
Compose
Compose: see /icons/cursor.md
Android XML
Android XML: see /icons/cursor.md
Flutter
Flutter: see /icons/cursor.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 { CursorIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
cursor, pointer, select tool, mouse pointer, mouse cursor, pointer tool
Alternatives
  • hand-pointer: the pointing hand over a link or a clickable element (link-cursor)
  • cursor-text: the I-beam text cursor (text-cursor)
  • mouse: the mouse device itself (mouse)
  • move: the move tool, in editors that split select and move (move)
Also fits
  • link cursor: the default arrow pointer (cursor)
Not for
  • mouse (use mouse): the pointer on the screen (cursor)
Tags
cursor, pointer, arrow, mouse, select, click, selection-tool
Category
Layout & interface
Component name
CursorIcon
History
  • added
  • 16 px redrawn, released in 0.1.0
  • 16 px redrawn, 20 px drawn, 24 px drawn
  • changed in 0.2.0
Since
version 0.1.0

Family 13

More layout & interface icons

For agents

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