gentleface

Gentleface › Layout & interface › cursor-text

cursor-text icon

Cursor text: text cursor, i beam, insertion point, text caret. 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="M8.5 8C8.641 8 8.759 8.048 8.856 8.144C8.952 8.241 9 8.359 9 8.5C9 8.641 8.952 8.759 8.856 8.856C8.759 8.952 8.641 9 8.5 9L8 9L8 11.5C8 11.691 8.035 11.875 8.105 12.052C8.182 12.245 8.293 12.414 8.439 12.561C8.586 12.707 8.755 12.818 8.948 12.895C9.125 12.965 9.309 13 9.5 13C9.641 13 9.759 13.048 9.856 13.144C9.952 13.241 10 13.359 10 13.5C10 13.641 9.952 13.759 9.856 13.856C9.759 13.952 9.641 14 9.5 14C9.182 14 8.875 13.941 8.58 13.824C8.259 13.697 7.976 13.512 7.732 13.268C7.648 13.183 7.57 13.094 7.5 13.001C7.43 13.094 7.352 13.183 7.268 13.268C7.024 13.512 6.741 13.697 6.42 13.824C6.125 13.941 5.818 14 5.5 14C5.359 14 5.241 13.952 5.144 13.856C5.048 13.759 5 13.641 5 13.5C5 13.359 5.048 13.241 5.144 13.144C5.241 13.048 5.359 13 5.5 13C5.691 13 5.875 12.965 6.052 12.895C6.245 12.818 6.414 12.707 6.561 12.561C6.707 12.414 6.818 12.245 6.895 12.052C6.965 11.875 7 11.691 7 11.5L7 9L6.5 9C6.359 9 6.241 8.952 6.144 8.856C6.048 8.759 6 8.641 6 8.5C6 8.359 6.048 8.241 6.144 8.144C6.241 8.048 6.359 8 6.5 8L7 8L7 3.5C7 3.309 6.965 3.125 6.895 2.948C6.818 2.755 6.707 2.586 6.561 2.439C6.414 2.293 6.245 2.182 6.052 2.105C5.875 2.035 5.691 2 5.5 2C5.359 2 5.241 1.952 5.144 1.856C5.048 1.759 5 1.641 5 1.5C5 1.359 5.048 1.241 5.144 1.144C5.241 1.048 5.359 1 5.5 1C5.818 1 6.125 1.059 6.42 1.176C6.741 1.303 7.024 1.488 7.268 1.732C7.352 1.817 7.43 1.906 7.5 1.999C7.57 1.906 7.648 1.817 7.732 1.732C7.976 1.488 8.259 1.303 8.58 1.176C8.875 1.059 9.182 1 9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5C10 1.641 9.952 1.759 9.856 1.856C9.759 1.952 9.641 2 9.5 2C9.309 2 9.125 2.035 8.948 2.105C8.755 2.182 8.586 2.293 8.439 2.439C8.293 2.586 8.182 2.755 8.105 2.948C8.035 3.125 8 3.309 8 3.5L8 8L8.5 8Z"/></svg>
React
// Gentleface "cursor-text" (line-round), MIT. https://gentleface.com/icons/cursor-text
import type { SVGProps } from 'react';

export function CursorTextIcon(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="M8.5 8C8.641 8 8.759 8.048 8.856 8.144C8.952 8.241 9 8.359 9 8.5C9 8.641 8.952 8.759 8.856 8.856C8.759 8.952 8.641 9 8.5 9L8 9L8 11.5C8 11.691 8.035 11.875 8.105 12.052C8.182 12.245 8.293 12.414 8.439 12.561C8.586 12.707 8.755 12.818 8.948 12.895C9.125 12.965 9.309 13 9.5 13C9.641 13 9.759 13.048 9.856 13.144C9.952 13.241 10 13.359 10 13.5C10 13.641 9.952 13.759 9.856 13.856C9.759 13.952 9.641 14 9.5 14C9.182 14 8.875 13.941 8.58 13.824C8.259 13.697 7.976 13.512 7.732 13.268C7.648 13.183 7.57 13.094 7.5 13.001C7.43 13.094 7.352 13.183 7.268 13.268C7.024 13.512 6.741 13.697 6.42 13.824C6.125 13.941 5.818 14 5.5 14C5.359 14 5.241 13.952 5.144 13.856C5.048 13.759 5 13.641 5 13.5C5 13.359 5.048 13.241 5.144 13.144C5.241 13.048 5.359 13 5.5 13C5.691 13 5.875 12.965 6.052 12.895C6.245 12.818 6.414 12.707 6.561 12.561C6.707 12.414 6.818 12.245 6.895 12.052C6.965 11.875 7 11.691 7 11.5L7 9L6.5 9C6.359 9 6.241 8.952 6.144 8.856C6.048 8.759 6 8.641 6 8.5C6 8.359 6.048 8.241 6.144 8.144C6.241 8.048 6.359 8 6.5 8L7 8L7 3.5C7 3.309 6.965 3.125 6.895 2.948C6.818 2.755 6.707 2.586 6.561 2.439C6.414 2.293 6.245 2.182 6.052 2.105C5.875 2.035 5.691 2 5.5 2C5.359 2 5.241 1.952 5.144 1.856C5.048 1.759 5 1.641 5 1.5C5 1.359 5.048 1.241 5.144 1.144C5.241 1.048 5.359 1 5.5 1C5.818 1 6.125 1.059 6.42 1.176C6.741 1.303 7.024 1.488 7.268 1.732C7.352 1.817 7.43 1.906 7.5 1.999C7.57 1.906 7.648 1.817 7.732 1.732C7.976 1.488 8.259 1.303 8.58 1.176C8.875 1.059 9.182 1 9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5C10 1.641 9.952 1.759 9.856 1.856C9.759 1.952 9.641 2 9.5 2C9.309 2 9.125 2.035 8.948 2.105C8.755 2.182 8.586 2.293 8.439 2.439C8.293 2.586 8.182 2.755 8.105 2.948C8.035 3.125 8 3.309 8 3.5L8 8L8.5 8Z" />
    </svg>
  );
}
Vue
Vue: see /icons/cursor-text.md
Svelte
Svelte: see /icons/cursor-text.md
HTML img
HTML img: see /icons/cursor-text.md
CSS
CSS: see /icons/cursor-text.md
Data URL
Data URL: see /icons/cursor-text.md
Sprite
Sprite: see /icons/cursor-text.md
SwiftUI
SwiftUI: see /icons/cursor-text.md
Compose
Compose: see /icons/cursor-text.md
Android XML
Android XML: see /icons/cursor-text.md
Flutter
Flutter: see /icons/cursor-text.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 { CursorTextIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
text cursor, i beam, insertion point, text caret
Alternatives
Don’t confuse with
  • type: type is the text tool or text in general (text)
Also fits
  • cursor: the I-beam text cursor (text-cursor)
  • text field: the text cursor itself (text-cursor)
  • text tool: the I-beam text cursor (text-cursor)
Tags
cursor, text, i-beam, caret, insert, type, edit
Category
Layout & interface
Component name
CursorTextIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

More layout & interface icons

For agents

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