# book-pencil icon

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

- Category: Files & folders
- Use it for: edit book, write book, rename book
- Example: Edit a title in a library catalogue
- Built from: book + pencil
- Tags: book, closed-book, ebook, read, publication, novel, guide, manual, pencil
- Family: book, book-a, book-alert, book-arrow-down, book-arrow-up, book-bookmark, book-check, book-clock, book-code, book-headphones, book-heart, book-info, book-lock, book-open, book-open-off, book-plus, book-search, book-sparkle, book-star, book-sync, book-tag, book-user, book-x, library
- Component name: BookPencilIcon
- Added: 2026-11-07
- Since: version 0.6.0
- npm: `import { BookPencilIcon } from '@gentleface/react';` (@gentleface/react 0.6.0)

## Files

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.

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

The SVG of every style: https://gentleface.com/icons/book-pencil.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="M2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L9 1C9.254 1 9.5 1.047 9.736 1.14C9.993 1.242 10.219 1.391 10.414 1.586C10.609 1.781 10.758 2.007 10.86 2.264C10.953 2.5 11 2.746 11 3L11 8.5C11 8.641 10.952 8.759 10.856 8.856C10.759 8.952 10.641 9 10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5L10 3C10 2.724 9.902 2.488 9.707 2.293C9.512 2.098 9.276 2 9 2L5 2L5 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L4 10C3.724 10 3.488 10.098 3.293 10.293C3.098 10.488 3 10.723 3 10.999L3 11C3 11.276 3.098 11.512 3.293 11.707C3.488 11.902 3.724 12 4 12L6.5 12C6.641 12 6.759 12.048 6.856 12.144C6.952 12.241 7 12.359 7 12.5C7 12.641 6.952 12.759 6.856 12.856C6.759 12.952 6.641 13 6.5 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 3ZM3.293 2.293C3.098 2.488 3 2.724 3 3L3 9.268C3.084 9.219 3.172 9.177 3.264 9.14C3.5 9.047 3.746 9 4 9L4 2C3.724 2 3.488 2.098 3.293 2.293ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z"/></svg>
```

### React

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

export function BookPencilIcon(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="M2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L9 1C9.254 1 9.5 1.047 9.736 1.14C9.993 1.242 10.219 1.391 10.414 1.586C10.609 1.781 10.758 2.007 10.86 2.264C10.953 2.5 11 2.746 11 3L11 8.5C11 8.641 10.952 8.759 10.856 8.856C10.759 8.952 10.641 9 10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5L10 3C10 2.724 9.902 2.488 9.707 2.293C9.512 2.098 9.276 2 9 2L5 2L5 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L4 10C3.724 10 3.488 10.098 3.293 10.293C3.098 10.488 3 10.723 3 10.999L3 11C3 11.276 3.098 11.512 3.293 11.707C3.488 11.902 3.724 12 4 12L6.5 12C6.641 12 6.759 12.048 6.856 12.144C6.952 12.241 7 12.359 7 12.5C7 12.641 6.952 12.759 6.856 12.856C6.759 12.952 6.641 13 6.5 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 3ZM3.293 2.293C3.098 2.488 3 2.724 3 3L3 9.268C3.084 9.219 3.172 9.177 3.264 9.14C3.5 9.047 3.746 9 4 9L4 2C3.724 2 3.488 2.098 3.293 2.293ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "book-pencil" (line-round), MIT. https://gentleface.com/icons/book-pencil -->
<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="M2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L9 1C9.254 1 9.5 1.047 9.736 1.14C9.993 1.242 10.219 1.391 10.414 1.586C10.609 1.781 10.758 2.007 10.86 2.264C10.953 2.5 11 2.746 11 3L11 8.5C11 8.641 10.952 8.759 10.856 8.856C10.759 8.952 10.641 9 10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5L10 3C10 2.724 9.902 2.488 9.707 2.293C9.512 2.098 9.276 2 9 2L5 2L5 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L4 10C3.724 10 3.488 10.098 3.293 10.293C3.098 10.488 3 10.723 3 10.999L3 11C3 11.276 3.098 11.512 3.293 11.707C3.488 11.902 3.724 12 4 12L6.5 12C6.641 12 6.759 12.048 6.856 12.144C6.952 12.241 7 12.359 7 12.5C7 12.641 6.952 12.759 6.856 12.856C6.759 12.952 6.641 13 6.5 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 3ZM3.293 2.293C3.098 2.488 3 2.724 3 3L3 9.268C3.084 9.219 3.172 9.177 3.264 9.14C3.5 9.047 3.746 9 4 9L4 2C3.724 2 3.488 2.098 3.293 2.293ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "book-pencil" (line-round), MIT. https://gentleface.com/icons/book-pencil -->
<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="M2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L9 1C9.254 1 9.5 1.047 9.736 1.14C9.993 1.242 10.219 1.391 10.414 1.586C10.609 1.781 10.758 2.007 10.86 2.264C10.953 2.5 11 2.746 11 3L11 8.5C11 8.641 10.952 8.759 10.856 8.856C10.759 8.952 10.641 9 10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5L10 3C10 2.724 9.902 2.488 9.707 2.293C9.512 2.098 9.276 2 9 2L5 2L5 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L4 10C3.724 10 3.488 10.098 3.293 10.293C3.098 10.488 3 10.723 3 10.999L3 11C3 11.276 3.098 11.512 3.293 11.707C3.488 11.902 3.724 12 4 12L6.5 12C6.641 12 6.759 12.048 6.856 12.144C6.952 12.241 7 12.359 7 12.5C7 12.641 6.952 12.759 6.856 12.856C6.759 12.952 6.641 13 6.5 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 3ZM3.293 2.293C3.098 2.488 3 2.724 3 3L3 9.268C3.084 9.219 3.172 9.177 3.264 9.14C3.5 9.047 3.746 9 4 9L4 2C3.724 2 3.488 2.098 3.293 2.293ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "book-pencil" (line-round), MIT. https://gentleface.com/icons/book-pencil. 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/book-pencil.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "book-pencil" (line-round), MIT. https://gentleface.com/icons/book-pencil. Takes the text color. */
.icon-book-pencil {
  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='M2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L9 1C9.254 1 9.5 1.047 9.736 1.14C9.993 1.242 10.219 1.391 10.414 1.586C10.609 1.781 10.758 2.007 10.86 2.264C10.953 2.5 11 2.746 11 3L11 8.5C11 8.641 10.952 8.759 10.856 8.856C10.759 8.952 10.641 9 10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5L10 3C10 2.724 9.902 2.488 9.707 2.293C9.512 2.098 9.276 2 9 2L5 2L5 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L4 10C3.724 10 3.488 10.098 3.293 10.293C3.098 10.488 3 10.723 3 10.999L3 11C3 11.276 3.098 11.512 3.293 11.707C3.488 11.902 3.724 12 4 12L6.5 12C6.641 12 6.759 12.048 6.856 12.144C6.952 12.241 7 12.359 7 12.5C7 12.641 6.952 12.759 6.856 12.856C6.759 12.952 6.641 13 6.5 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 3ZM3.293 2.293C3.098 2.488 3 2.724 3 3L3 9.268C3.084 9.219 3.172 9.177 3.264 9.14C3.5 9.047 3.746 9 4 9L4 2C3.724 2 3.488 2.098 3.293 2.293ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z'/%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='M2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L9 1C9.254 1 9.5 1.047 9.736 1.14C9.993 1.242 10.219 1.391 10.414 1.586C10.609 1.781 10.758 2.007 10.86 2.264C10.953 2.5 11 2.746 11 3L11 8.5C11 8.641 10.952 8.759 10.856 8.856C10.759 8.952 10.641 9 10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5L10 3C10 2.724 9.902 2.488 9.707 2.293C9.512 2.098 9.276 2 9 2L5 2L5 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L4 10C3.724 10 3.488 10.098 3.293 10.293C3.098 10.488 3 10.723 3 10.999L3 11C3 11.276 3.098 11.512 3.293 11.707C3.488 11.902 3.724 12 4 12L6.5 12C6.641 12 6.759 12.048 6.856 12.144C6.952 12.241 7 12.359 7 12.5C7 12.641 6.952 12.759 6.856 12.856C6.759 12.952 6.641 13 6.5 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 3ZM3.293 2.293C3.098 2.488 3 2.724 3 3L3 9.268C3.084 9.219 3.172 9.177 3.264 9.14C3.5 9.047 3.746 9 4 9L4 2C3.724 2 3.488 2.098 3.293 2.293ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z'/%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='M2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L9 1C9.254 1 9.5 1.047 9.736 1.14C9.993 1.242 10.219 1.391 10.414 1.586C10.609 1.781 10.758 2.007 10.86 2.264C10.953 2.5 11 2.746 11 3L11 8.5C11 8.641 10.952 8.759 10.856 8.856C10.759 8.952 10.641 9 10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5L10 3C10 2.724 9.902 2.488 9.707 2.293C9.512 2.098 9.276 2 9 2L5 2L5 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L4 10C3.724 10 3.488 10.098 3.293 10.293C3.098 10.488 3 10.723 3 10.999L3 11C3 11.276 3.098 11.512 3.293 11.707C3.488 11.902 3.724 12 4 12L6.5 12C6.641 12 6.759 12.048 6.856 12.144C6.952 12.241 7 12.359 7 12.5C7 12.641 6.952 12.759 6.856 12.856C6.759 12.952 6.641 13 6.5 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 3ZM3.293 2.293C3.098 2.488 3 2.724 3 3L3 9.268C3.084 9.219 3.172 9.177 3.264 9.14C3.5 9.047 3.746 9 4 9L4 2C3.724 2 3.488 2.098 3.293 2.293ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "book-pencil" (line-round), MIT. https://gentleface.com/icons/book-pencil
     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#book-pencil"/></svg>
```

### SwiftUI

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

struct BookPencilIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 2, y: 3))
        p.addCurve(to: CGPoint(x: 2.14, y: 2.264), control1: CGPoint(x: 2, y: 2.746), control2: CGPoint(x: 2.047, y: 2.5))
        p.addCurve(to: CGPoint(x: 2.586, y: 1.586), control1: CGPoint(x: 2.242, y: 2.007), control2: CGPoint(x: 2.391, y: 1.781))
        p.addCurve(to: CGPoint(x: 3.264, y: 1.14), control1: CGPoint(x: 2.781, y: 1.391), control2: CGPoint(x: 3.007, y: 1.242))
        p.addCurve(to: CGPoint(x: 4, y: 1), control1: CGPoint(x: 3.5, y: 1.047), control2: CGPoint(x: 3.746, y: 1))
        p.addLine(to: CGPoint(x: 9, y: 1))
        p.addCurve(to: CGPoint(x: 9.736, y: 1.14), control1: CGPoint(x: 9.254, y: 1), control2: CGPoint(x: 9.5, y: 1.047))
        p.addCurve(to: CGPoint(x: 10.414, y: 1.586), control1: CGPoint(x: 9.993, y: 1.242), control2: CGPoint(x: 10.219, y: 1.391))
        p.addCurve(to: CGPoint(x: 10.86, y: 2.264), control1: CGPoint(x: 10.609, y: 1.781), control2: CGPoint(x: 10.758, y: 2.007))
        p.addCurve(to: CGPoint(x: 11, y: 3), control1: CGPoint(x: 10.953, y: 2.5), control2: CGPoint(x: 11, y: 2.746))
        p.addLine(to: CGPoint(x: 11, y: 8.5))
        p.addCurve(to: CGPoint(x: 10.856, y: 8.856), control1: CGPoint(x: 11, y: 8.641), control2: CGPoint(x: 10.952, y: 8.759))
        p.addCurve(to: CGPoint(x: 10.5, y: 9), control1: CGPoint(x: 10.759, y: 8.952), control2: CGPoint(x: 10.641, y: 9))
        p.addCurve(to: CGPoint(x: 10.144, y: 8.856), control1: CGPoint(x: 10.359, y: 9), control2: CGPoint(x: 10.241, y: 8.952))
        p.addCurve(to: CGPoint(x: 10, y: 8.5), control1: CGPoint(x: 10.048, y: 8.759), control2: CGPoint(x: 10, y: 8.641))
        p.addLine(to: CGPoint(x: 10, y: 3))
        p.addCurve(to: CGPoint(x: 9.707, y: 2.293), control1: CGPoint(x: 10, y: 2.724), control2: CGPoint(x: 9.902, y: 2.488))
        p.addCurve(to: CGPoint(x: 9, y: 2), control1: CGPoint(x: 9.512, y: 2.098), control2: CGPoint(x: 9.276, y: 2))
        p.addLine(to: CGPoint(x: 5, y: 2))
        p.addLine(to: CGPoint(x: 5, y: 9))
        p.addLine(to: CGPoint(x: 9.5, y: 9))
        p.addCurve(to: CGPoint(x: 9.856, y: 9.144), control1: CGPoint(x: 9.641, y: 9), control2: CGPoint(x: 9.759, y: 9.048))
        p.addCurve(to: CGPoint(x: 10, y: 9.5), control1: CGPoint(x: 9.952, y: 9.241), control2: CGPoint(x: 10, y: 9.359))
        p.addCurve(to: CGPoint(x: 9.856, y: 9.856), control1: CGPoint(x: 10, y: 9.641), control2: CGPoint(x: 9.952, y: 9.759))
        p.addCurve(to: CGPoint(x: 9.5, y: 10), control1: CGPoint(x: 9.759, y: 9.952), control2: CGPoint(x: 9.641, y: 10))
        p.addLine(to: CGPoint(x: 4, y: 10))
        p.addCurve(to: CGPoint(x: 3.293, y: 10.293), control1: CGPoint(x: 3.724, y: 10), control2: CGPoint(x: 3.488, y: 10.098))
        p.addCurve(to: CGPoint(x: 3, y: 10.999), control1: CGPoint(x: 3.098, y: 10.488), control2: CGPoint(x: 3, y: 10.723))
        p.addLine(to: CGPoint(x: 3, y: 11))
        p.addCurve(to: CGPoint(x: 3.293, y: 11.707), control1: CGPoint(x: 3, y: 11.276), control2: CGPoint(x: 3.098, y: 11.512))
        p.addCurve(to: CGPoint(x: 4, y: 12), control1: CGPoint(x: 3.488, y: 11.902), control2: CGPoint(x: 3.724, y: 12))
        p.addLine(to: CGPoint(x: 6.5, y: 12))
        p.addCurve(to: CGPoint(x: 6.856, y: 12.144), control1: CGPoint(x: 6.641, y: 12), control2: CGPoint(x: 6.759, y: 12.048))
        p.addCurve(to: CGPoint(x: 7, y: 12.5), control1: CGPoint(x: 6.952, y: 12.241), control2: CGPoint(x: 7, y: 12.359))
        p.addCurve(to: CGPoint(x: 6.856, y: 12.856), control1: CGPoint(x: 7, y: 12.641), control2: CGPoint(x: 6.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 6.5, y: 13), control1: CGPoint(x: 6.759, y: 12.952), control2: CGPoint(x: 6.641, y: 13))
        p.addLine(to: CGPoint(x: 4, y: 13))
        p.addCurve(to: CGPoint(x: 3.264, y: 12.86), control1: CGPoint(x: 3.746, y: 13), control2: CGPoint(x: 3.5, y: 12.953))
        p.addCurve(to: CGPoint(x: 2.586, y: 12.414), control1: CGPoint(x: 3.007, y: 12.758), control2: CGPoint(x: 2.781, y: 12.609))
        p.addCurve(to: CGPoint(x: 2.14, y: 11.736), control1: CGPoint(x: 2.391, y: 12.219), control2: CGPoint(x: 2.242, y: 11.993))
        p.addCurve(to: CGPoint(x: 2, y: 11), control1: CGPoint(x: 2.047, y: 11.5), control2: CGPoint(x: 2, y: 11.254))
        p.addLine(to: CGPoint(x: 2, y: 3))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3.293, y: 2.293))
        p.addCurve(to: CGPoint(x: 3, y: 3), control1: CGPoint(x: 3.098, y: 2.488), control2: CGPoint(x: 3, y: 2.724))
        p.addLine(to: CGPoint(x: 3, y: 9.268))
        p.addCurve(to: CGPoint(x: 3.264, y: 9.14), control1: CGPoint(x: 3.084, y: 9.219), control2: CGPoint(x: 3.172, y: 9.177))
        p.addCurve(to: CGPoint(x: 4, y: 9), control1: CGPoint(x: 3.5, y: 9.047), control2: CGPoint(x: 3.746, y: 9))
        p.addLine(to: CGPoint(x: 4, y: 2))
        p.addCurve(to: CGPoint(x: 3.293, y: 2.293), control1: CGPoint(x: 3.724, y: 2), control2: CGPoint(x: 3.488, y: 2.098))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14, y: 7.707))
        p.addCurve(to: CGPoint(x: 14.707, y: 8), control1: CGPoint(x: 14.276, y: 7.707), control2: CGPoint(x: 14.512, y: 7.805))
        p.addLine(to: CGPoint(x: 15, y: 8.293))
        p.addCurve(to: CGPoint(x: 15.293, y: 9), control1: CGPoint(x: 15.195, y: 8.488), control2: CGPoint(x: 15.293, y: 8.724))
        p.addCurve(to: CGPoint(x: 15, y: 9.707), control1: CGPoint(x: 15.293, y: 9.276), control2: CGPoint(x: 15.195, y: 9.512))
        p.addLine(to: CGPoint(x: 12.061, y: 12.646))
        p.addCurve(to: CGPoint(x: 10.4, y: 13.943), control1: CGPoint(x: 11.56, y: 13.147), control2: CGPoint(x: 11.007, y: 13.579))
        p.addLine(to: CGPoint(x: 8.757, y: 14.929))
        p.addCurve(to: CGPoint(x: 8.378, y: 14.988), control1: CGPoint(x: 8.636, y: 15.001), control2: CGPoint(x: 8.51, y: 15.021))
        p.addCurve(to: CGPoint(x: 8.071, y: 14.757), control1: CGPoint(x: 8.246, y: 14.955), control2: CGPoint(x: 8.144, y: 14.878))
        p.addCurve(to: CGPoint(x: 7.999, y: 14.5), control1: CGPoint(x: 8.023, y: 14.677), control2: CGPoint(x: 7.999, y: 14.592))
        p.addCurve(to: CGPoint(x: 8.071, y: 14.243), control1: CGPoint(x: 7.999, y: 14.408), control2: CGPoint(x: 8.023, y: 14.323))
        p.addLine(to: CGPoint(x: 9.057, y: 12.6))
        p.addCurve(to: CGPoint(x: 10.354, y: 10.939), control1: CGPoint(x: 9.421, y: 11.993), control2: CGPoint(x: 9.853, y: 11.44))
        p.addLine(to: CGPoint(x: 13.293, y: 8))
        p.addCurve(to: CGPoint(x: 14, y: 7.707), control1: CGPoint(x: 13.488, y: 7.805), control2: CGPoint(x: 13.724, y: 7.707))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "book-pencil" (line-round), MIT. https://gentleface.com/icons/book-pencil
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 BookPencilIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "book-pencil", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L9 1C9.254 1 9.5 1.047 9.736 1.14C9.993 1.242 10.219 1.391 10.414 1.586C10.609 1.781 10.758 2.007 10.86 2.264C10.953 2.5 11 2.746 11 3L11 8.5C11 8.641 10.952 8.759 10.856 8.856C10.759 8.952 10.641 9 10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5L10 3C10 2.724 9.902 2.488 9.707 2.293C9.512 2.098 9.276 2 9 2L5 2L5 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L4 10C3.724 10 3.488 10.098 3.293 10.293C3.098 10.488 3 10.723 3 10.999L3 11C3 11.276 3.098 11.512 3.293 11.707C3.488 11.902 3.724 12 4 12L6.5 12C6.641 12 6.759 12.048 6.856 12.144C6.952 12.241 7 12.359 7 12.5C7 12.641 6.952 12.759 6.856 12.856C6.759 12.952 6.641 13 6.5 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 3ZM3.293 2.293C3.098 2.488 3 2.724 3 3L3 9.268C3.084 9.219 3.172 9.177 3.264 9.14C3.5 9.047 3.746 9 4 9L4 2C3.724 2 3.488 2.098 3.293 2.293ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_book_pencil.xml · Gentleface "book-pencil" (line-round), MIT. https://gentleface.com/icons/book-pencil -->
<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="M2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L9 1C9.254 1 9.5 1.047 9.736 1.14C9.993 1.242 10.219 1.391 10.414 1.586C10.609 1.781 10.758 2.007 10.86 2.264C10.953 2.5 11 2.746 11 3L11 8.5C11 8.641 10.952 8.759 10.856 8.856C10.759 8.952 10.641 9 10.5 9C10.359 9 10.241 8.952 10.144 8.856C10.048 8.759 10 8.641 10 8.5L10 3C10 2.724 9.902 2.488 9.707 2.293C9.512 2.098 9.276 2 9 2L5 2L5 9L9.5 9C9.641 9 9.759 9.048 9.856 9.144C9.952 9.241 10 9.359 10 9.5C10 9.641 9.952 9.759 9.856 9.856C9.759 9.952 9.641 10 9.5 10L4 10C3.724 10 3.488 10.098 3.293 10.293C3.098 10.488 3 10.723 3 10.999L3 11C3 11.276 3.098 11.512 3.293 11.707C3.488 11.902 3.724 12 4 12L6.5 12C6.641 12 6.759 12.048 6.856 12.144C6.952 12.241 7 12.359 7 12.5C7 12.641 6.952 12.759 6.856 12.856C6.759 12.952 6.641 13 6.5 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 3ZM3.293 2.293C3.098 2.488 3 2.724 3 3L3 9.268C3.084 9.219 3.172 9.177 3.264 9.14C3.5 9.047 3.746 9 4 9L4 2C3.724 2 3.488 2.098 3.293 2.293ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(2, 3)
      ..cubicTo(2, 2.746, 2.047, 2.5, 2.14, 2.264)
      ..cubicTo(2.242, 2.007, 2.391, 1.781, 2.586, 1.586)
      ..cubicTo(2.781, 1.391, 3.007, 1.242, 3.264, 1.14)
      ..cubicTo(3.5, 1.047, 3.746, 1, 4, 1)
      ..lineTo(9, 1)
      ..cubicTo(9.254, 1, 9.5, 1.047, 9.736, 1.14)
      ..cubicTo(9.993, 1.242, 10.219, 1.391, 10.414, 1.586)
      ..cubicTo(10.609, 1.781, 10.758, 2.007, 10.86, 2.264)
      ..cubicTo(10.953, 2.5, 11, 2.746, 11, 3)
      ..lineTo(11, 8.5)
      ..cubicTo(11, 8.641, 10.952, 8.759, 10.856, 8.856)
      ..cubicTo(10.759, 8.952, 10.641, 9, 10.5, 9)
      ..cubicTo(10.359, 9, 10.241, 8.952, 10.144, 8.856)
      ..cubicTo(10.048, 8.759, 10, 8.641, 10, 8.5)
      ..lineTo(10, 3)
      ..cubicTo(10, 2.724, 9.902, 2.488, 9.707, 2.293)
      ..cubicTo(9.512, 2.098, 9.276, 2, 9, 2)
      ..lineTo(5, 2)
      ..lineTo(5, 9)
      ..lineTo(9.5, 9)
      ..cubicTo(9.641, 9, 9.759, 9.048, 9.856, 9.144)
      ..cubicTo(9.952, 9.241, 10, 9.359, 10, 9.5)
      ..cubicTo(10, 9.641, 9.952, 9.759, 9.856, 9.856)
      ..cubicTo(9.759, 9.952, 9.641, 10, 9.5, 10)
      ..lineTo(4, 10)
      ..cubicTo(3.724, 10, 3.488, 10.098, 3.293, 10.293)
      ..cubicTo(3.098, 10.488, 3, 10.723, 3, 10.999)
      ..lineTo(3, 11)
      ..cubicTo(3, 11.276, 3.098, 11.512, 3.293, 11.707)
      ..cubicTo(3.488, 11.902, 3.724, 12, 4, 12)
      ..lineTo(6.5, 12)
      ..cubicTo(6.641, 12, 6.759, 12.048, 6.856, 12.144)
      ..cubicTo(6.952, 12.241, 7, 12.359, 7, 12.5)
      ..cubicTo(7, 12.641, 6.952, 12.759, 6.856, 12.856)
      ..cubicTo(6.759, 12.952, 6.641, 13, 6.5, 13)
      ..lineTo(4, 13)
      ..cubicTo(3.746, 13, 3.5, 12.953, 3.264, 12.86)
      ..cubicTo(3.007, 12.758, 2.781, 12.609, 2.586, 12.414)
      ..cubicTo(2.391, 12.219, 2.242, 11.993, 2.14, 11.736)
      ..cubicTo(2.047, 11.5, 2, 11.254, 2, 11)
      ..lineTo(2, 3)
      ..close()
      ..moveTo(3.293, 2.293)
      ..cubicTo(3.098, 2.488, 3, 2.724, 3, 3)
      ..lineTo(3, 9.268)
      ..cubicTo(3.084, 9.219, 3.172, 9.177, 3.264, 9.14)
      ..cubicTo(3.5, 9.047, 3.746, 9, 4, 9)
      ..lineTo(4, 2)
      ..cubicTo(3.724, 2, 3.488, 2.098, 3.293, 2.293)
      ..close()
      ..moveTo(14, 7.707)
      ..cubicTo(14.276, 7.707, 14.512, 7.805, 14.707, 8)
      ..lineTo(15, 8.293)
      ..cubicTo(15.195, 8.488, 15.293, 8.724, 15.293, 9)
      ..cubicTo(15.293, 9.276, 15.195, 9.512, 15, 9.707)
      ..lineTo(12.061, 12.646)
      ..cubicTo(11.56, 13.147, 11.007, 13.579, 10.4, 13.943)
      ..lineTo(8.757, 14.929)
      ..cubicTo(8.636, 15.001, 8.51, 15.021, 8.378, 14.988)
      ..cubicTo(8.246, 14.955, 8.144, 14.878, 8.071, 14.757)
      ..cubicTo(8.023, 14.677, 7.999, 14.592, 7.999, 14.5)
      ..cubicTo(7.999, 14.408, 8.023, 14.323, 8.071, 14.243)
      ..lineTo(9.057, 12.6)
      ..cubicTo(9.421, 11.993, 9.853, 11.44, 10.354, 10.939)
      ..lineTo(13.293, 8)
      ..cubicTo(13.488, 7.805, 13.724, 7.707, 14, 7.707)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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