gentleface

Gentleface › Design › pen-tool

pen-tool icon

Pen tool: pen tool, vector, bezier, path. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated pen-tool-draw · line-round

The nib dips, its band following a moment later, and a curve runs out from the point and ends on an anchor. The curve runs back into the point and the nib rises past its place.

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.2 s to 2.6 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="M13.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L12.207 6.5C12.012 6.695 11.776 6.793 11.5 6.793C11.224 6.793 10.988 6.695 10.793 6.5L8.5 4.207C8.305 4.012 8.207 3.776 8.207 3.5C8.207 3.224 8.305 2.988 8.5 2.793L9.793 1.5C9.988 1.305 10.224 1.207 10.5 1.207C10.776 1.207 11.012 1.305 11.207 1.5L13.5 3.793ZM11.5 5.793L12.793 4.5L10.5 2.207L9.207 3.5L11.5 5.793ZM1.222 8.385C1.37 8.028 1.58 7.713 1.854 7.439L4.086 5.207C4.266 5.027 4.472 4.887 4.706 4.786C4.959 4.676 5.224 4.621 5.5 4.621C5.776 4.621 6.041 4.676 6.294 4.786C6.528 4.887 6.734 5.027 6.914 5.207L9.793 8.086C9.973 8.266 10.113 8.472 10.214 8.706C10.324 8.959 10.379 9.224 10.379 9.5C10.379 9.776 10.324 10.041 10.214 10.294C10.113 10.528 9.973 10.734 9.793 10.914L7.561 13.146C7.287 13.42 6.972 13.63 6.615 13.778C6.258 13.926 5.886 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.166 13.821 2.073 13.775 1.984 13.723C1.839 13.638 1.707 13.535 1.586 13.414C1.476 13.304 1.381 13.185 1.301 13.056C1.293 13.042 1.285 13.029 1.277 13.016C1.225 12.927 1.179 12.834 1.14 12.736C1.047 12.5 1 12.254 1 12L1 9.5C1 9.114 1.074 8.742 1.222 8.385ZM6.233 12.854C6.467 12.757 6.674 12.619 6.854 12.439L9.086 10.207C9.281 10.012 9.379 9.776 9.379 9.5C9.379 9.224 9.281 8.988 9.086 8.793L6.207 5.914C6.012 5.719 5.776 5.621 5.5 5.621C5.224 5.621 4.988 5.719 4.793 5.914L2.561 8.146C2.381 8.326 2.243 8.533 2.146 8.767C2.049 9.002 2 9.246 2 9.5L2 12C2 12.091 2.011 12.178 2.032 12.261L4.146 10.146C4.244 10.049 4.362 10 4.5 10C4.638 10 4.756 10.049 4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854L2.739 12.968C2.822 12.989 2.909 13 3 13L5.5 13C5.754 13 5.998 12.951 6.233 12.854ZM5.293 8.293C5.488 8.098 5.724 8 6 8C6.276 8 6.512 8.098 6.707 8.293C6.902 8.488 7 8.724 7 9C7 9.276 6.902 9.512 6.707 9.707C6.512 9.902 6.276 10 6 10C5.724 10 5.488 9.902 5.293 9.707C5.098 9.512 5 9.276 5 9C5 8.724 5.098 8.488 5.293 8.293Z"/></svg>
React
// Gentleface "pen-tool" (line-round), MIT. https://gentleface.com/icons/pen-tool
import type { SVGProps } from 'react';

export function PenToolIcon(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.5 3.793C13.695 3.988 13.793 4.224 13.793 4.5C13.793 4.776 13.695 5.012 13.5 5.207L12.207 6.5C12.012 6.695 11.776 6.793 11.5 6.793C11.224 6.793 10.988 6.695 10.793 6.5L8.5 4.207C8.305 4.012 8.207 3.776 8.207 3.5C8.207 3.224 8.305 2.988 8.5 2.793L9.793 1.5C9.988 1.305 10.224 1.207 10.5 1.207C10.776 1.207 11.012 1.305 11.207 1.5L13.5 3.793ZM11.5 5.793L12.793 4.5L10.5 2.207L9.207 3.5L11.5 5.793ZM1.222 8.385C1.37 8.028 1.58 7.713 1.854 7.439L4.086 5.207C4.266 5.027 4.472 4.887 4.706 4.786C4.959 4.676 5.224 4.621 5.5 4.621C5.776 4.621 6.041 4.676 6.294 4.786C6.528 4.887 6.734 5.027 6.914 5.207L9.793 8.086C9.973 8.266 10.113 8.472 10.214 8.706C10.324 8.959 10.379 9.224 10.379 9.5C10.379 9.776 10.324 10.041 10.214 10.294C10.113 10.528 9.973 10.734 9.793 10.914L7.561 13.146C7.287 13.42 6.972 13.63 6.615 13.778C6.258 13.926 5.886 14 5.5 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.166 13.821 2.073 13.775 1.984 13.723C1.839 13.638 1.707 13.535 1.586 13.414C1.476 13.304 1.381 13.185 1.301 13.056C1.293 13.042 1.285 13.029 1.277 13.016C1.225 12.927 1.179 12.834 1.14 12.736C1.047 12.5 1 12.254 1 12L1 9.5C1 9.114 1.074 8.742 1.222 8.385ZM6.233 12.854C6.467 12.757 6.674 12.619 6.854 12.439L9.086 10.207C9.281 10.012 9.379 9.776 9.379 9.5C9.379 9.224 9.281 8.988 9.086 8.793L6.207 5.914C6.012 5.719 5.776 5.621 5.5 5.621C5.224 5.621 4.988 5.719 4.793 5.914L2.561 8.146C2.381 8.326 2.243 8.533 2.146 8.767C2.049 9.002 2 9.246 2 9.5L2 12C2 12.091 2.011 12.178 2.032 12.261L4.146 10.146C4.244 10.049 4.362 10 4.5 10C4.638 10 4.756 10.049 4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854L2.739 12.968C2.822 12.989 2.909 13 3 13L5.5 13C5.754 13 5.998 12.951 6.233 12.854ZM5.293 8.293C5.488 8.098 5.724 8 6 8C6.276 8 6.512 8.098 6.707 8.293C6.902 8.488 7 8.724 7 9C7 9.276 6.902 9.512 6.707 9.707C6.512 9.902 6.276 10 6 10C5.724 10 5.488 9.902 5.293 9.707C5.098 9.512 5 9.276 5 9C5 8.724 5.098 8.488 5.293 8.293Z" />
    </svg>
  );
}
Vue
Vue: see /icons/pen-tool.md
Svelte
Svelte: see /icons/pen-tool.md
HTML img
HTML img: see /icons/pen-tool.md
CSS
CSS: see /icons/pen-tool.md
Data URL
Data URL: see /icons/pen-tool.md
Sprite
Sprite: see /icons/pen-tool.md
SwiftUI
SwiftUI: see /icons/pen-tool.md
Compose
Compose: see /icons/pen-tool.md
Android XML
Android XML: see /icons/pen-tool.md
Flutter
Flutter: see /icons/pen-tool.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 { PenToolIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
pen tool, vector, bezier, path, bezier tool
Alternatives
Don’t confuse with
Also fits
  • bezier curve: the pen tool that draws a new path
  • feather: the vector pen tool in a design app
  • polygon: draw free vector paths with the pen (pen-tool)
Not for
  • edit (use pencil): the vector pen tool in design apps, not edit
  • stylus (use stylus): the vector pen tool (pen-tool)
Tags
pen, nib, vector, bezier, path, anchor, illustrator
Category
Design
Component name
PenToolIcon
History
  • added
  • released in 0.1.0
  • changed in 0.2.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 3

More design icons

For agents

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