# pencil-line icon

Pencil line. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/pencil-line

- Category: Actions
- Use it for: rename
- Tags: rename, edit, pencil, line, text, write, label, title
- Family: pencil, pencil-gear, pencil-off, pencil-sparkle, pencil-square, pencil-squiggle
- Component name: PencilLineIcon
- Added: 2026-10-15

## Alternatives

- `pencil`: edit the content, not the name

## Don't confuse with

- `signature`: signature means sign, not rename

## Also fits

- edit: rename

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/pencil-line.svg · PNG https://gentleface.com/png/line-round/16/pencil-line.png · https://gentleface.com/png/line-round/32/pencil-line.png · https://gentleface.com/png/line-round/48/pencil-line.png
- line-soft: https://gentleface.com/svg/line-soft/16/pencil-line.svg · PNG https://gentleface.com/png/line-soft/16/pencil-line.png · https://gentleface.com/png/line-soft/32/pencil-line.png · https://gentleface.com/png/line-soft/48/pencil-line.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/pencil-line.svg · PNG https://gentleface.com/png/line-sharp/16/pencil-line.png · https://gentleface.com/png/line-sharp/32/pencil-line.png · https://gentleface.com/png/line-sharp/48/pencil-line.png
- solid-round: https://gentleface.com/svg/solid-round/16/pencil-line.svg · PNG https://gentleface.com/png/solid-round/16/pencil-line.png · https://gentleface.com/png/solid-round/32/pencil-line.png · https://gentleface.com/png/solid-round/48/pencil-line.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/pencil-line.svg · PNG https://gentleface.com/png/solid-soft/16/pencil-line.png · https://gentleface.com/png/solid-soft/32/pencil-line.png · https://gentleface.com/png/solid-soft/48/pencil-line.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/pencil-line.svg · PNG https://gentleface.com/png/solid-sharp/16/pencil-line.png · https://gentleface.com/png/solid-sharp/32/pencil-line.png · https://gentleface.com/png/solid-sharp/48/pencil-line.png

The SVG of every style: https://gentleface.com/icons/pencil-line.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```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="M10.146 3.146C10.319 2.974 10.516 2.84 10.74 2.743C10.982 2.638 11.236 2.586 11.5 2.586C11.764 2.586 12.018 2.638 12.26 2.743C12.484 2.84 12.681 2.974 12.854 3.146C13.026 3.319 13.16 3.516 13.257 3.74C13.362 3.982 13.414 4.236 13.414 4.5C13.414 4.764 13.362 5.018 13.257 5.26C13.16 5.484 13.026 5.681 12.854 5.854L7.561 11.146C7.051 11.656 6.474 12.072 5.829 12.394L2.724 13.947C2.598 14.01 2.47 14.02 2.341 13.977C2.212 13.934 2.116 13.85 2.053 13.724C1.978 13.575 1.978 13.425 2.053 13.276L3.606 10.171C3.928 9.526 4.344 8.949 4.854 8.439L10.146 3.146ZM12.146 5.146C12.325 4.968 12.414 4.752 12.414 4.5C12.414 4.248 12.325 4.032 12.146 3.854C11.968 3.675 11.752 3.586 11.5 3.586C11.248 3.586 11.032 3.675 10.854 3.854L5.561 9.146C5.442 9.265 5.329 9.388 5.223 9.515L6.485 10.777C6.612 10.671 6.735 10.558 6.854 10.439L12.146 5.146ZM5.382 11.5C5.473 11.455 5.562 11.407 5.65 11.357L4.643 10.35C4.593 10.438 4.545 10.527 4.5 10.618L3.618 12.382L5.382 11.5ZM8.144 13.856C8.048 13.759 8 13.641 8 13.5C8 13.359 8.048 13.241 8.144 13.144C8.241 13.048 8.359 13 8.5 13L13.5 13C13.641 13 13.759 13.048 13.856 13.144C13.952 13.241 14 13.359 14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L8.5 14C8.359 14 8.241 13.952 8.144 13.856Z"/></svg>
```

### React

```tsx
// Gentleface "pencil-line" (line-round), MIT. https://gentleface.com/icons/pencil-line
import type { SVGProps } from 'react';

export function PencilLineIcon(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="M10.146 3.146C10.319 2.974 10.516 2.84 10.74 2.743C10.982 2.638 11.236 2.586 11.5 2.586C11.764 2.586 12.018 2.638 12.26 2.743C12.484 2.84 12.681 2.974 12.854 3.146C13.026 3.319 13.16 3.516 13.257 3.74C13.362 3.982 13.414 4.236 13.414 4.5C13.414 4.764 13.362 5.018 13.257 5.26C13.16 5.484 13.026 5.681 12.854 5.854L7.561 11.146C7.051 11.656 6.474 12.072 5.829 12.394L2.724 13.947C2.598 14.01 2.47 14.02 2.341 13.977C2.212 13.934 2.116 13.85 2.053 13.724C1.978 13.575 1.978 13.425 2.053 13.276L3.606 10.171C3.928 9.526 4.344 8.949 4.854 8.439L10.146 3.146ZM12.146 5.146C12.325 4.968 12.414 4.752 12.414 4.5C12.414 4.248 12.325 4.032 12.146 3.854C11.968 3.675 11.752 3.586 11.5 3.586C11.248 3.586 11.032 3.675 10.854 3.854L5.561 9.146C5.442 9.265 5.329 9.388 5.223 9.515L6.485 10.777C6.612 10.671 6.735 10.558 6.854 10.439L12.146 5.146ZM5.382 11.5C5.473 11.455 5.562 11.407 5.65 11.357L4.643 10.35C4.593 10.438 4.545 10.527 4.5 10.618L3.618 12.382L5.382 11.5ZM8.144 13.856C8.048 13.759 8 13.641 8 13.5C8 13.359 8.048 13.241 8.144 13.144C8.241 13.048 8.359 13 8.5 13L13.5 13C13.641 13 13.759 13.048 13.856 13.144C13.952 13.241 14 13.359 14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L8.5 14C8.359 14 8.241 13.952 8.144 13.856Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "pencil-line" (line-round), MIT. https://gentleface.com/icons/pencil-line -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M10.146 3.146C10.319 2.974 10.516 2.84 10.74 2.743C10.982 2.638 11.236 2.586 11.5 2.586C11.764 2.586 12.018 2.638 12.26 2.743C12.484 2.84 12.681 2.974 12.854 3.146C13.026 3.319 13.16 3.516 13.257 3.74C13.362 3.982 13.414 4.236 13.414 4.5C13.414 4.764 13.362 5.018 13.257 5.26C13.16 5.484 13.026 5.681 12.854 5.854L7.561 11.146C7.051 11.656 6.474 12.072 5.829 12.394L2.724 13.947C2.598 14.01 2.47 14.02 2.341 13.977C2.212 13.934 2.116 13.85 2.053 13.724C1.978 13.575 1.978 13.425 2.053 13.276L3.606 10.171C3.928 9.526 4.344 8.949 4.854 8.439L10.146 3.146ZM12.146 5.146C12.325 4.968 12.414 4.752 12.414 4.5C12.414 4.248 12.325 4.032 12.146 3.854C11.968 3.675 11.752 3.586 11.5 3.586C11.248 3.586 11.032 3.675 10.854 3.854L5.561 9.146C5.442 9.265 5.329 9.388 5.223 9.515L6.485 10.777C6.612 10.671 6.735 10.558 6.854 10.439L12.146 5.146ZM5.382 11.5C5.473 11.455 5.562 11.407 5.65 11.357L4.643 10.35C4.593 10.438 4.545 10.527 4.5 10.618L3.618 12.382L5.382 11.5ZM8.144 13.856C8.048 13.759 8 13.641 8 13.5C8 13.359 8.048 13.241 8.144 13.144C8.241 13.048 8.359 13 8.5 13L13.5 13C13.641 13 13.759 13.048 13.856 13.144C13.952 13.241 14 13.359 14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L8.5 14C8.359 14 8.241 13.952 8.144 13.856Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "pencil-line" (line-round), MIT. https://gentleface.com/icons/pencil-line -->
<script>
  let props = $props();
</script>

<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="M10.146 3.146C10.319 2.974 10.516 2.84 10.74 2.743C10.982 2.638 11.236 2.586 11.5 2.586C11.764 2.586 12.018 2.638 12.26 2.743C12.484 2.84 12.681 2.974 12.854 3.146C13.026 3.319 13.16 3.516 13.257 3.74C13.362 3.982 13.414 4.236 13.414 4.5C13.414 4.764 13.362 5.018 13.257 5.26C13.16 5.484 13.026 5.681 12.854 5.854L7.561 11.146C7.051 11.656 6.474 12.072 5.829 12.394L2.724 13.947C2.598 14.01 2.47 14.02 2.341 13.977C2.212 13.934 2.116 13.85 2.053 13.724C1.978 13.575 1.978 13.425 2.053 13.276L3.606 10.171C3.928 9.526 4.344 8.949 4.854 8.439L10.146 3.146ZM12.146 5.146C12.325 4.968 12.414 4.752 12.414 4.5C12.414 4.248 12.325 4.032 12.146 3.854C11.968 3.675 11.752 3.586 11.5 3.586C11.248 3.586 11.032 3.675 10.854 3.854L5.561 9.146C5.442 9.265 5.329 9.388 5.223 9.515L6.485 10.777C6.612 10.671 6.735 10.558 6.854 10.439L12.146 5.146ZM5.382 11.5C5.473 11.455 5.562 11.407 5.65 11.357L4.643 10.35C4.593 10.438 4.545 10.527 4.5 10.618L3.618 12.382L5.382 11.5ZM8.144 13.856C8.048 13.759 8 13.641 8 13.5C8 13.359 8.048 13.241 8.144 13.144C8.241 13.048 8.359 13 8.5 13L13.5 13C13.641 13 13.759 13.048 13.856 13.144C13.952 13.241 14 13.359 14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L8.5 14C8.359 14 8.241 13.952 8.144 13.856Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "pencil-line" (line-round), MIT. https://gentleface.com/icons/pencil-line. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/pencil-line.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "pencil-line" (line-round), MIT. https://gentleface.com/icons/pencil-line. Takes the text color. */
.icon-pencil-line {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M10.146 3.146C10.319 2.974 10.516 2.84 10.74 2.743C10.982 2.638 11.236 2.586 11.5 2.586C11.764 2.586 12.018 2.638 12.26 2.743C12.484 2.84 12.681 2.974 12.854 3.146C13.026 3.319 13.16 3.516 13.257 3.74C13.362 3.982 13.414 4.236 13.414 4.5C13.414 4.764 13.362 5.018 13.257 5.26C13.16 5.484 13.026 5.681 12.854 5.854L7.561 11.146C7.051 11.656 6.474 12.072 5.829 12.394L2.724 13.947C2.598 14.01 2.47 14.02 2.341 13.977C2.212 13.934 2.116 13.85 2.053 13.724C1.978 13.575 1.978 13.425 2.053 13.276L3.606 10.171C3.928 9.526 4.344 8.949 4.854 8.439L10.146 3.146ZM12.146 5.146C12.325 4.968 12.414 4.752 12.414 4.5C12.414 4.248 12.325 4.032 12.146 3.854C11.968 3.675 11.752 3.586 11.5 3.586C11.248 3.586 11.032 3.675 10.854 3.854L5.561 9.146C5.442 9.265 5.329 9.388 5.223 9.515L6.485 10.777C6.612 10.671 6.735 10.558 6.854 10.439L12.146 5.146ZM5.382 11.5C5.473 11.455 5.562 11.407 5.65 11.357L4.643 10.35C4.593 10.438 4.545 10.527 4.5 10.618L3.618 12.382L5.382 11.5ZM8.144 13.856C8.048 13.759 8 13.641 8 13.5C8 13.359 8.048 13.241 8.144 13.144C8.241 13.048 8.359 13 8.5 13L13.5 13C13.641 13 13.759 13.048 13.856 13.144C13.952 13.241 14 13.359 14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L8.5 14C8.359 14 8.241 13.952 8.144 13.856Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M10.146 3.146C10.319 2.974 10.516 2.84 10.74 2.743C10.982 2.638 11.236 2.586 11.5 2.586C11.764 2.586 12.018 2.638 12.26 2.743C12.484 2.84 12.681 2.974 12.854 3.146C13.026 3.319 13.16 3.516 13.257 3.74C13.362 3.982 13.414 4.236 13.414 4.5C13.414 4.764 13.362 5.018 13.257 5.26C13.16 5.484 13.026 5.681 12.854 5.854L7.561 11.146C7.051 11.656 6.474 12.072 5.829 12.394L2.724 13.947C2.598 14.01 2.47 14.02 2.341 13.977C2.212 13.934 2.116 13.85 2.053 13.724C1.978 13.575 1.978 13.425 2.053 13.276L3.606 10.171C3.928 9.526 4.344 8.949 4.854 8.439L10.146 3.146ZM12.146 5.146C12.325 4.968 12.414 4.752 12.414 4.5C12.414 4.248 12.325 4.032 12.146 3.854C11.968 3.675 11.752 3.586 11.5 3.586C11.248 3.586 11.032 3.675 10.854 3.854L5.561 9.146C5.442 9.265 5.329 9.388 5.223 9.515L6.485 10.777C6.612 10.671 6.735 10.558 6.854 10.439L12.146 5.146ZM5.382 11.5C5.473 11.455 5.562 11.407 5.65 11.357L4.643 10.35C4.593 10.438 4.545 10.527 4.5 10.618L3.618 12.382L5.382 11.5ZM8.144 13.856C8.048 13.759 8 13.641 8 13.5C8 13.359 8.048 13.241 8.144 13.144C8.241 13.048 8.359 13 8.5 13L13.5 13C13.641 13 13.759 13.048 13.856 13.144C13.952 13.241 14 13.359 14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L8.5 14C8.359 14 8.241 13.952 8.144 13.856Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M10.146 3.146C10.319 2.974 10.516 2.84 10.74 2.743C10.982 2.638 11.236 2.586 11.5 2.586C11.764 2.586 12.018 2.638 12.26 2.743C12.484 2.84 12.681 2.974 12.854 3.146C13.026 3.319 13.16 3.516 13.257 3.74C13.362 3.982 13.414 4.236 13.414 4.5C13.414 4.764 13.362 5.018 13.257 5.26C13.16 5.484 13.026 5.681 12.854 5.854L7.561 11.146C7.051 11.656 6.474 12.072 5.829 12.394L2.724 13.947C2.598 14.01 2.47 14.02 2.341 13.977C2.212 13.934 2.116 13.85 2.053 13.724C1.978 13.575 1.978 13.425 2.053 13.276L3.606 10.171C3.928 9.526 4.344 8.949 4.854 8.439L10.146 3.146ZM12.146 5.146C12.325 4.968 12.414 4.752 12.414 4.5C12.414 4.248 12.325 4.032 12.146 3.854C11.968 3.675 11.752 3.586 11.5 3.586C11.248 3.586 11.032 3.675 10.854 3.854L5.561 9.146C5.442 9.265 5.329 9.388 5.223 9.515L6.485 10.777C6.612 10.671 6.735 10.558 6.854 10.439L12.146 5.146ZM5.382 11.5C5.473 11.455 5.562 11.407 5.65 11.357L4.643 10.35C4.593 10.438 4.545 10.527 4.5 10.618L3.618 12.382L5.382 11.5ZM8.144 13.856C8.048 13.759 8 13.641 8 13.5C8 13.359 8.048 13.241 8.144 13.144C8.241 13.048 8.359 13 8.5 13L13.5 13C13.641 13 13.759 13.048 13.856 13.144C13.952 13.241 14 13.359 14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L8.5 14C8.359 14 8.241 13.952 8.144 13.856Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "pencil-line" (line-round), MIT. https://gentleface.com/icons/pencil-line
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#pencil-line"/></svg>
```

### SwiftUI

```swift
// Gentleface "pencil-line" (line-round), MIT. https://gentleface.com/icons/pencil-line
import SwiftUI

struct PencilLineIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 10.146, y: 3.146))
        p.addCurve(to: CGPoint(x: 10.74, y: 2.743), control1: CGPoint(x: 10.319, y: 2.974), control2: CGPoint(x: 10.516, y: 2.84))
        p.addCurve(to: CGPoint(x: 11.5, y: 2.586), control1: CGPoint(x: 10.982, y: 2.638), control2: CGPoint(x: 11.236, y: 2.586))
        p.addCurve(to: CGPoint(x: 12.26, y: 2.743), control1: CGPoint(x: 11.764, y: 2.586), control2: CGPoint(x: 12.018, y: 2.638))
        p.addCurve(to: CGPoint(x: 12.854, y: 3.146), control1: CGPoint(x: 12.484, y: 2.84), control2: CGPoint(x: 12.681, y: 2.974))
        p.addCurve(to: CGPoint(x: 13.257, y: 3.74), control1: CGPoint(x: 13.026, y: 3.319), control2: CGPoint(x: 13.16, y: 3.516))
        p.addCurve(to: CGPoint(x: 13.414, y: 4.5), control1: CGPoint(x: 13.362, y: 3.982), control2: CGPoint(x: 13.414, y: 4.236))
        p.addCurve(to: CGPoint(x: 13.257, y: 5.26), control1: CGPoint(x: 13.414, y: 4.764), control2: CGPoint(x: 13.362, y: 5.018))
        p.addCurve(to: CGPoint(x: 12.854, y: 5.854), control1: CGPoint(x: 13.16, y: 5.484), control2: CGPoint(x: 13.026, y: 5.681))
        p.addLine(to: CGPoint(x: 7.561, y: 11.146))
        p.addCurve(to: CGPoint(x: 5.829, y: 12.394), control1: CGPoint(x: 7.051, y: 11.656), control2: CGPoint(x: 6.474, y: 12.072))
        p.addLine(to: CGPoint(x: 2.724, y: 13.947))
        p.addCurve(to: CGPoint(x: 2.341, y: 13.977), control1: CGPoint(x: 2.598, y: 14.01), control2: CGPoint(x: 2.47, y: 14.02))
        p.addCurve(to: CGPoint(x: 2.053, y: 13.724), control1: CGPoint(x: 2.212, y: 13.934), control2: CGPoint(x: 2.116, y: 13.85))
        p.addCurve(to: CGPoint(x: 2.053, y: 13.276), control1: CGPoint(x: 1.978, y: 13.575), control2: CGPoint(x: 1.978, y: 13.425))
        p.addLine(to: CGPoint(x: 3.606, y: 10.171))
        p.addCurve(to: CGPoint(x: 4.854, y: 8.439), control1: CGPoint(x: 3.928, y: 9.526), control2: CGPoint(x: 4.344, y: 8.949))
        p.addLine(to: CGPoint(x: 10.146, y: 3.146))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12.146, y: 5.146))
        p.addCurve(to: CGPoint(x: 12.414, y: 4.5), control1: CGPoint(x: 12.325, y: 4.968), control2: CGPoint(x: 12.414, y: 4.752))
        p.addCurve(to: CGPoint(x: 12.146, y: 3.854), control1: CGPoint(x: 12.414, y: 4.248), control2: CGPoint(x: 12.325, y: 4.032))
        p.addCurve(to: CGPoint(x: 11.5, y: 3.586), control1: CGPoint(x: 11.968, y: 3.675), control2: CGPoint(x: 11.752, y: 3.586))
        p.addCurve(to: CGPoint(x: 10.854, y: 3.854), control1: CGPoint(x: 11.248, y: 3.586), control2: CGPoint(x: 11.032, y: 3.675))
        p.addLine(to: CGPoint(x: 5.561, y: 9.146))
        p.addCurve(to: CGPoint(x: 5.223, y: 9.515), control1: CGPoint(x: 5.442, y: 9.265), control2: CGPoint(x: 5.329, y: 9.388))
        p.addLine(to: CGPoint(x: 6.485, y: 10.777))
        p.addCurve(to: CGPoint(x: 6.854, y: 10.439), control1: CGPoint(x: 6.612, y: 10.671), control2: CGPoint(x: 6.735, y: 10.558))
        p.addLine(to: CGPoint(x: 12.146, y: 5.146))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5.382, y: 11.5))
        p.addCurve(to: CGPoint(x: 5.65, y: 11.357), control1: CGPoint(x: 5.473, y: 11.455), control2: CGPoint(x: 5.562, y: 11.407))
        p.addLine(to: CGPoint(x: 4.643, y: 10.35))
        p.addCurve(to: CGPoint(x: 4.5, y: 10.618), control1: CGPoint(x: 4.593, y: 10.438), control2: CGPoint(x: 4.545, y: 10.527))
        p.addLine(to: CGPoint(x: 3.618, y: 12.382))
        p.addLine(to: CGPoint(x: 5.382, y: 11.5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 8.144, y: 13.856))
        p.addCurve(to: CGPoint(x: 8, y: 13.5), control1: CGPoint(x: 8.048, y: 13.759), control2: CGPoint(x: 8, y: 13.641))
        p.addCurve(to: CGPoint(x: 8.144, y: 13.144), control1: CGPoint(x: 8, y: 13.359), control2: CGPoint(x: 8.048, y: 13.241))
        p.addCurve(to: CGPoint(x: 8.5, y: 13), control1: CGPoint(x: 8.241, y: 13.048), control2: CGPoint(x: 8.359, y: 13))
        p.addLine(to: CGPoint(x: 13.5, y: 13))
        p.addCurve(to: CGPoint(x: 13.856, y: 13.144), control1: CGPoint(x: 13.641, y: 13), control2: CGPoint(x: 13.759, y: 13.048))
        p.addCurve(to: CGPoint(x: 14, y: 13.5), control1: CGPoint(x: 13.952, y: 13.241), control2: CGPoint(x: 14, y: 13.359))
        p.addCurve(to: CGPoint(x: 13.856, y: 13.856), control1: CGPoint(x: 14, y: 13.641), control2: CGPoint(x: 13.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 13.5, y: 14), control1: CGPoint(x: 13.759, y: 13.952), control2: CGPoint(x: 13.641, y: 14))
        p.addLine(to: CGPoint(x: 8.5, y: 14))
        p.addCurve(to: CGPoint(x: 8.144, y: 13.856), control1: CGPoint(x: 8.359, y: 14), control2: CGPoint(x: 8.241, y: 13.952))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// PencilLineIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "pencil-line" (line-round), MIT. https://gentleface.com/icons/pencil-line
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val PencilLineIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "pencil-line", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M10.146 3.146C10.319 2.974 10.516 2.84 10.74 2.743C10.982 2.638 11.236 2.586 11.5 2.586C11.764 2.586 12.018 2.638 12.26 2.743C12.484 2.84 12.681 2.974 12.854 3.146C13.026 3.319 13.16 3.516 13.257 3.74C13.362 3.982 13.414 4.236 13.414 4.5C13.414 4.764 13.362 5.018 13.257 5.26C13.16 5.484 13.026 5.681 12.854 5.854L7.561 11.146C7.051 11.656 6.474 12.072 5.829 12.394L2.724 13.947C2.598 14.01 2.47 14.02 2.341 13.977C2.212 13.934 2.116 13.85 2.053 13.724C1.978 13.575 1.978 13.425 2.053 13.276L3.606 10.171C3.928 9.526 4.344 8.949 4.854 8.439L10.146 3.146ZM12.146 5.146C12.325 4.968 12.414 4.752 12.414 4.5C12.414 4.248 12.325 4.032 12.146 3.854C11.968 3.675 11.752 3.586 11.5 3.586C11.248 3.586 11.032 3.675 10.854 3.854L5.561 9.146C5.442 9.265 5.329 9.388 5.223 9.515L6.485 10.777C6.612 10.671 6.735 10.558 6.854 10.439L12.146 5.146ZM5.382 11.5C5.473 11.455 5.562 11.407 5.65 11.357L4.643 10.35C4.593 10.438 4.545 10.527 4.5 10.618L3.618 12.382L5.382 11.5ZM8.144 13.856C8.048 13.759 8 13.641 8 13.5C8 13.359 8.048 13.241 8.144 13.144C8.241 13.048 8.359 13 8.5 13L13.5 13C13.641 13 13.759 13.048 13.856 13.144C13.952 13.241 14 13.359 14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L8.5 14C8.359 14 8.241 13.952 8.144 13.856Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(PencilLineIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_pencil_line.xml · Gentleface "pencil-line" (line-round), MIT. https://gentleface.com/icons/pencil-line -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M10.146 3.146C10.319 2.974 10.516 2.84 10.74 2.743C10.982 2.638 11.236 2.586 11.5 2.586C11.764 2.586 12.018 2.638 12.26 2.743C12.484 2.84 12.681 2.974 12.854 3.146C13.026 3.319 13.16 3.516 13.257 3.74C13.362 3.982 13.414 4.236 13.414 4.5C13.414 4.764 13.362 5.018 13.257 5.26C13.16 5.484 13.026 5.681 12.854 5.854L7.561 11.146C7.051 11.656 6.474 12.072 5.829 12.394L2.724 13.947C2.598 14.01 2.47 14.02 2.341 13.977C2.212 13.934 2.116 13.85 2.053 13.724C1.978 13.575 1.978 13.425 2.053 13.276L3.606 10.171C3.928 9.526 4.344 8.949 4.854 8.439L10.146 3.146ZM12.146 5.146C12.325 4.968 12.414 4.752 12.414 4.5C12.414 4.248 12.325 4.032 12.146 3.854C11.968 3.675 11.752 3.586 11.5 3.586C11.248 3.586 11.032 3.675 10.854 3.854L5.561 9.146C5.442 9.265 5.329 9.388 5.223 9.515L6.485 10.777C6.612 10.671 6.735 10.558 6.854 10.439L12.146 5.146ZM5.382 11.5C5.473 11.455 5.562 11.407 5.65 11.357L4.643 10.35C4.593 10.438 4.545 10.527 4.5 10.618L3.618 12.382L5.382 11.5ZM8.144 13.856C8.048 13.759 8 13.641 8 13.5C8 13.359 8.048 13.241 8.144 13.144C8.241 13.048 8.359 13 8.5 13L13.5 13C13.641 13 13.759 13.048 13.856 13.144C13.952 13.241 14 13.359 14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.5 14L8.5 14C8.359 14 8.241 13.952 8.144 13.856Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "pencil-line" (line-round), MIT. https://gentleface.com/icons/pencil-line
import 'package:flutter/widgets.dart';

class PencilLineIcon extends StatelessWidget {
  const PencilLineIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _PencilLineIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _PencilLineIconPainter extends CustomPainter {
  _PencilLineIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(10.146, 3.146)
      ..cubicTo(10.319, 2.974, 10.516, 2.84, 10.74, 2.743)
      ..cubicTo(10.982, 2.638, 11.236, 2.586, 11.5, 2.586)
      ..cubicTo(11.764, 2.586, 12.018, 2.638, 12.26, 2.743)
      ..cubicTo(12.484, 2.84, 12.681, 2.974, 12.854, 3.146)
      ..cubicTo(13.026, 3.319, 13.16, 3.516, 13.257, 3.74)
      ..cubicTo(13.362, 3.982, 13.414, 4.236, 13.414, 4.5)
      ..cubicTo(13.414, 4.764, 13.362, 5.018, 13.257, 5.26)
      ..cubicTo(13.16, 5.484, 13.026, 5.681, 12.854, 5.854)
      ..lineTo(7.561, 11.146)
      ..cubicTo(7.051, 11.656, 6.474, 12.072, 5.829, 12.394)
      ..lineTo(2.724, 13.947)
      ..cubicTo(2.598, 14.01, 2.47, 14.02, 2.341, 13.977)
      ..cubicTo(2.212, 13.934, 2.116, 13.85, 2.053, 13.724)
      ..cubicTo(1.978, 13.575, 1.978, 13.425, 2.053, 13.276)
      ..lineTo(3.606, 10.171)
      ..cubicTo(3.928, 9.526, 4.344, 8.949, 4.854, 8.439)
      ..lineTo(10.146, 3.146)
      ..close()
      ..moveTo(12.146, 5.146)
      ..cubicTo(12.325, 4.968, 12.414, 4.752, 12.414, 4.5)
      ..cubicTo(12.414, 4.248, 12.325, 4.032, 12.146, 3.854)
      ..cubicTo(11.968, 3.675, 11.752, 3.586, 11.5, 3.586)
      ..cubicTo(11.248, 3.586, 11.032, 3.675, 10.854, 3.854)
      ..lineTo(5.561, 9.146)
      ..cubicTo(5.442, 9.265, 5.329, 9.388, 5.223, 9.515)
      ..lineTo(6.485, 10.777)
      ..cubicTo(6.612, 10.671, 6.735, 10.558, 6.854, 10.439)
      ..lineTo(12.146, 5.146)
      ..close()
      ..moveTo(5.382, 11.5)
      ..cubicTo(5.473, 11.455, 5.562, 11.407, 5.65, 11.357)
      ..lineTo(4.643, 10.35)
      ..cubicTo(4.593, 10.438, 4.545, 10.527, 4.5, 10.618)
      ..lineTo(3.618, 12.382)
      ..lineTo(5.382, 11.5)
      ..close()
      ..moveTo(8.144, 13.856)
      ..cubicTo(8.048, 13.759, 8, 13.641, 8, 13.5)
      ..cubicTo(8, 13.359, 8.048, 13.241, 8.144, 13.144)
      ..cubicTo(8.241, 13.048, 8.359, 13, 8.5, 13)
      ..lineTo(13.5, 13)
      ..cubicTo(13.641, 13, 13.759, 13.048, 13.856, 13.144)
      ..cubicTo(13.952, 13.241, 14, 13.359, 14, 13.5)
      ..cubicTo(14, 13.641, 13.952, 13.759, 13.856, 13.856)
      ..cubicTo(13.759, 13.952, 13.641, 14, 13.5, 14)
      ..lineTo(8.5, 14)
      ..cubicTo(8.359, 14, 8.241, 13.952, 8.144, 13.856)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_PencilLineIconPainter old) => old.color != color;
}
```
