# pill-pencil icon

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

- Category: Health & medical
- Use it for: edit medication
- Example: Edit a medication entry
- Built from: pill + pencil
- Tags: pill, capsule, medicine, medication, drug, pharmacy, tablet, prescription, dose, pencil
- Family: pill, pill-alert, pill-check, pill-clock, pill-off, pill-plus, pill-question, pill-search, pill-x
- Component name: PillPencilIcon
- Added: 2026-11-07
- Since: version 0.6.0
- npm: `import { PillPencilIcon } 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/pill-pencil.svg · PNG https://gentleface.com/png/line-round/16/pill-pencil.png · https://gentleface.com/png/line-round/32/pill-pencil.png · https://gentleface.com/png/line-round/48/pill-pencil.png
- line-soft: https://gentleface.com/svg/line-soft/16/pill-pencil.svg · PNG https://gentleface.com/png/line-soft/16/pill-pencil.png · https://gentleface.com/png/line-soft/32/pill-pencil.png · https://gentleface.com/png/line-soft/48/pill-pencil.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/pill-pencil.svg · PNG https://gentleface.com/png/line-sharp/16/pill-pencil.png · https://gentleface.com/png/line-sharp/32/pill-pencil.png · https://gentleface.com/png/line-sharp/48/pill-pencil.png
- solid-round: https://gentleface.com/svg/solid-round/16/pill-pencil.svg · PNG https://gentleface.com/png/solid-round/16/pill-pencil.png · https://gentleface.com/png/solid-round/32/pill-pencil.png · https://gentleface.com/png/solid-round/48/pill-pencil.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/pill-pencil.svg · PNG https://gentleface.com/png/solid-soft/16/pill-pencil.png · https://gentleface.com/png/solid-soft/32/pill-pencil.png · https://gentleface.com/png/solid-soft/48/pill-pencil.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/pill-pencil.svg · PNG https://gentleface.com/png/solid-sharp/16/pill-pencil.png · https://gentleface.com/png/solid-sharp/32/pill-pencil.png · https://gentleface.com/png/solid-sharp/48/pill-pencil.png

The SVG of every style: https://gentleface.com/icons/pill-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="M5.854 11.854C5.557 12.15 5.194 12.376 4.765 12.532C4.366 12.677 3.944 12.75 3.5 12.75C3.056 12.75 2.634 12.677 2.235 12.532C1.806 12.376 1.443 12.15 1.146 11.854C0.85 11.557 0.624 11.194 0.468 10.765C0.323 10.366 0.25 9.944 0.25 9.5C0.25 9.056 0.323 8.634 0.468 8.235C0.624 7.806 0.85 7.443 1.146 7.146L7.146 1.146C7.443 0.85 7.806 0.624 8.235 0.468C8.634 0.323 9.056 0.25 9.5 0.25C9.944 0.25 10.366 0.323 10.765 0.468C11.194 0.624 11.557 0.85 11.854 1.146C12.15 1.443 12.376 1.806 12.532 2.235C12.677 2.634 12.75 3.056 12.75 3.5C12.75 3.944 12.677 4.366 12.532 4.765C12.376 5.194 12.15 5.557 11.854 5.854L5.854 11.854ZM11.146 5.146C11.338 4.955 11.487 4.713 11.593 4.423C11.698 4.134 11.75 3.827 11.75 3.5C11.75 3.173 11.698 2.866 11.593 2.577C11.487 2.287 11.338 2.045 11.146 1.854C10.955 1.662 10.714 1.513 10.423 1.407C10.134 1.302 9.827 1.25 9.5 1.25C9.173 1.25 8.866 1.302 8.577 1.407C8.287 1.513 8.045 1.662 7.854 1.854L5.207 4.5L8.5 7.793L11.146 5.146ZM7.793 8.5L4.5 5.207L1.854 7.854C1.662 8.045 1.513 8.286 1.407 8.577C1.302 8.866 1.25 9.173 1.25 9.5C1.25 9.827 1.302 10.134 1.407 10.423C1.513 10.713 1.662 10.955 1.854 11.146C2.045 11.338 2.287 11.487 2.577 11.593C2.866 11.698 3.173 11.75 3.5 11.75C3.827 11.75 4.134 11.698 4.423 11.593C4.714 11.487 4.955 11.338 5.146 11.146L7.793 8.5ZM14 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 "pill-pencil" (line-round), MIT. https://gentleface.com/icons/pill-pencil
import type { SVGProps } from 'react';

export function PillPencilIcon(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="M5.854 11.854C5.557 12.15 5.194 12.376 4.765 12.532C4.366 12.677 3.944 12.75 3.5 12.75C3.056 12.75 2.634 12.677 2.235 12.532C1.806 12.376 1.443 12.15 1.146 11.854C0.85 11.557 0.624 11.194 0.468 10.765C0.323 10.366 0.25 9.944 0.25 9.5C0.25 9.056 0.323 8.634 0.468 8.235C0.624 7.806 0.85 7.443 1.146 7.146L7.146 1.146C7.443 0.85 7.806 0.624 8.235 0.468C8.634 0.323 9.056 0.25 9.5 0.25C9.944 0.25 10.366 0.323 10.765 0.468C11.194 0.624 11.557 0.85 11.854 1.146C12.15 1.443 12.376 1.806 12.532 2.235C12.677 2.634 12.75 3.056 12.75 3.5C12.75 3.944 12.677 4.366 12.532 4.765C12.376 5.194 12.15 5.557 11.854 5.854L5.854 11.854ZM11.146 5.146C11.338 4.955 11.487 4.713 11.593 4.423C11.698 4.134 11.75 3.827 11.75 3.5C11.75 3.173 11.698 2.866 11.593 2.577C11.487 2.287 11.338 2.045 11.146 1.854C10.955 1.662 10.714 1.513 10.423 1.407C10.134 1.302 9.827 1.25 9.5 1.25C9.173 1.25 8.866 1.302 8.577 1.407C8.287 1.513 8.045 1.662 7.854 1.854L5.207 4.5L8.5 7.793L11.146 5.146ZM7.793 8.5L4.5 5.207L1.854 7.854C1.662 8.045 1.513 8.286 1.407 8.577C1.302 8.866 1.25 9.173 1.25 9.5C1.25 9.827 1.302 10.134 1.407 10.423C1.513 10.713 1.662 10.955 1.854 11.146C2.045 11.338 2.287 11.487 2.577 11.593C2.866 11.698 3.173 11.75 3.5 11.75C3.827 11.75 4.134 11.698 4.423 11.593C4.714 11.487 4.955 11.338 5.146 11.146L7.793 8.5ZM14 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 "pill-pencil" (line-round), MIT. https://gentleface.com/icons/pill-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="M5.854 11.854C5.557 12.15 5.194 12.376 4.765 12.532C4.366 12.677 3.944 12.75 3.5 12.75C3.056 12.75 2.634 12.677 2.235 12.532C1.806 12.376 1.443 12.15 1.146 11.854C0.85 11.557 0.624 11.194 0.468 10.765C0.323 10.366 0.25 9.944 0.25 9.5C0.25 9.056 0.323 8.634 0.468 8.235C0.624 7.806 0.85 7.443 1.146 7.146L7.146 1.146C7.443 0.85 7.806 0.624 8.235 0.468C8.634 0.323 9.056 0.25 9.5 0.25C9.944 0.25 10.366 0.323 10.765 0.468C11.194 0.624 11.557 0.85 11.854 1.146C12.15 1.443 12.376 1.806 12.532 2.235C12.677 2.634 12.75 3.056 12.75 3.5C12.75 3.944 12.677 4.366 12.532 4.765C12.376 5.194 12.15 5.557 11.854 5.854L5.854 11.854ZM11.146 5.146C11.338 4.955 11.487 4.713 11.593 4.423C11.698 4.134 11.75 3.827 11.75 3.5C11.75 3.173 11.698 2.866 11.593 2.577C11.487 2.287 11.338 2.045 11.146 1.854C10.955 1.662 10.714 1.513 10.423 1.407C10.134 1.302 9.827 1.25 9.5 1.25C9.173 1.25 8.866 1.302 8.577 1.407C8.287 1.513 8.045 1.662 7.854 1.854L5.207 4.5L8.5 7.793L11.146 5.146ZM7.793 8.5L4.5 5.207L1.854 7.854C1.662 8.045 1.513 8.286 1.407 8.577C1.302 8.866 1.25 9.173 1.25 9.5C1.25 9.827 1.302 10.134 1.407 10.423C1.513 10.713 1.662 10.955 1.854 11.146C2.045 11.338 2.287 11.487 2.577 11.593C2.866 11.698 3.173 11.75 3.5 11.75C3.827 11.75 4.134 11.698 4.423 11.593C4.714 11.487 4.955 11.338 5.146 11.146L7.793 8.5ZM14 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 "pill-pencil" (line-round), MIT. https://gentleface.com/icons/pill-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="M5.854 11.854C5.557 12.15 5.194 12.376 4.765 12.532C4.366 12.677 3.944 12.75 3.5 12.75C3.056 12.75 2.634 12.677 2.235 12.532C1.806 12.376 1.443 12.15 1.146 11.854C0.85 11.557 0.624 11.194 0.468 10.765C0.323 10.366 0.25 9.944 0.25 9.5C0.25 9.056 0.323 8.634 0.468 8.235C0.624 7.806 0.85 7.443 1.146 7.146L7.146 1.146C7.443 0.85 7.806 0.624 8.235 0.468C8.634 0.323 9.056 0.25 9.5 0.25C9.944 0.25 10.366 0.323 10.765 0.468C11.194 0.624 11.557 0.85 11.854 1.146C12.15 1.443 12.376 1.806 12.532 2.235C12.677 2.634 12.75 3.056 12.75 3.5C12.75 3.944 12.677 4.366 12.532 4.765C12.376 5.194 12.15 5.557 11.854 5.854L5.854 11.854ZM11.146 5.146C11.338 4.955 11.487 4.713 11.593 4.423C11.698 4.134 11.75 3.827 11.75 3.5C11.75 3.173 11.698 2.866 11.593 2.577C11.487 2.287 11.338 2.045 11.146 1.854C10.955 1.662 10.714 1.513 10.423 1.407C10.134 1.302 9.827 1.25 9.5 1.25C9.173 1.25 8.866 1.302 8.577 1.407C8.287 1.513 8.045 1.662 7.854 1.854L5.207 4.5L8.5 7.793L11.146 5.146ZM7.793 8.5L4.5 5.207L1.854 7.854C1.662 8.045 1.513 8.286 1.407 8.577C1.302 8.866 1.25 9.173 1.25 9.5C1.25 9.827 1.302 10.134 1.407 10.423C1.513 10.713 1.662 10.955 1.854 11.146C2.045 11.338 2.287 11.487 2.577 11.593C2.866 11.698 3.173 11.75 3.5 11.75C3.827 11.75 4.134 11.698 4.423 11.593C4.714 11.487 4.955 11.338 5.146 11.146L7.793 8.5ZM14 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 "pill-pencil" (line-round), MIT. https://gentleface.com/icons/pill-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/pill-pencil.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "pill-pencil" (line-round), MIT. https://gentleface.com/icons/pill-pencil. Takes the text color. */
.icon-pill-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='M5.854 11.854C5.557 12.15 5.194 12.376 4.765 12.532C4.366 12.677 3.944 12.75 3.5 12.75C3.056 12.75 2.634 12.677 2.235 12.532C1.806 12.376 1.443 12.15 1.146 11.854C0.85 11.557 0.624 11.194 0.468 10.765C0.323 10.366 0.25 9.944 0.25 9.5C0.25 9.056 0.323 8.634 0.468 8.235C0.624 7.806 0.85 7.443 1.146 7.146L7.146 1.146C7.443 0.85 7.806 0.624 8.235 0.468C8.634 0.323 9.056 0.25 9.5 0.25C9.944 0.25 10.366 0.323 10.765 0.468C11.194 0.624 11.557 0.85 11.854 1.146C12.15 1.443 12.376 1.806 12.532 2.235C12.677 2.634 12.75 3.056 12.75 3.5C12.75 3.944 12.677 4.366 12.532 4.765C12.376 5.194 12.15 5.557 11.854 5.854L5.854 11.854ZM11.146 5.146C11.338 4.955 11.487 4.713 11.593 4.423C11.698 4.134 11.75 3.827 11.75 3.5C11.75 3.173 11.698 2.866 11.593 2.577C11.487 2.287 11.338 2.045 11.146 1.854C10.955 1.662 10.714 1.513 10.423 1.407C10.134 1.302 9.827 1.25 9.5 1.25C9.173 1.25 8.866 1.302 8.577 1.407C8.287 1.513 8.045 1.662 7.854 1.854L5.207 4.5L8.5 7.793L11.146 5.146ZM7.793 8.5L4.5 5.207L1.854 7.854C1.662 8.045 1.513 8.286 1.407 8.577C1.302 8.866 1.25 9.173 1.25 9.5C1.25 9.827 1.302 10.134 1.407 10.423C1.513 10.713 1.662 10.955 1.854 11.146C2.045 11.338 2.287 11.487 2.577 11.593C2.866 11.698 3.173 11.75 3.5 11.75C3.827 11.75 4.134 11.698 4.423 11.593C4.714 11.487 4.955 11.338 5.146 11.146L7.793 8.5ZM14 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='M5.854 11.854C5.557 12.15 5.194 12.376 4.765 12.532C4.366 12.677 3.944 12.75 3.5 12.75C3.056 12.75 2.634 12.677 2.235 12.532C1.806 12.376 1.443 12.15 1.146 11.854C0.85 11.557 0.624 11.194 0.468 10.765C0.323 10.366 0.25 9.944 0.25 9.5C0.25 9.056 0.323 8.634 0.468 8.235C0.624 7.806 0.85 7.443 1.146 7.146L7.146 1.146C7.443 0.85 7.806 0.624 8.235 0.468C8.634 0.323 9.056 0.25 9.5 0.25C9.944 0.25 10.366 0.323 10.765 0.468C11.194 0.624 11.557 0.85 11.854 1.146C12.15 1.443 12.376 1.806 12.532 2.235C12.677 2.634 12.75 3.056 12.75 3.5C12.75 3.944 12.677 4.366 12.532 4.765C12.376 5.194 12.15 5.557 11.854 5.854L5.854 11.854ZM11.146 5.146C11.338 4.955 11.487 4.713 11.593 4.423C11.698 4.134 11.75 3.827 11.75 3.5C11.75 3.173 11.698 2.866 11.593 2.577C11.487 2.287 11.338 2.045 11.146 1.854C10.955 1.662 10.714 1.513 10.423 1.407C10.134 1.302 9.827 1.25 9.5 1.25C9.173 1.25 8.866 1.302 8.577 1.407C8.287 1.513 8.045 1.662 7.854 1.854L5.207 4.5L8.5 7.793L11.146 5.146ZM7.793 8.5L4.5 5.207L1.854 7.854C1.662 8.045 1.513 8.286 1.407 8.577C1.302 8.866 1.25 9.173 1.25 9.5C1.25 9.827 1.302 10.134 1.407 10.423C1.513 10.713 1.662 10.955 1.854 11.146C2.045 11.338 2.287 11.487 2.577 11.593C2.866 11.698 3.173 11.75 3.5 11.75C3.827 11.75 4.134 11.698 4.423 11.593C4.714 11.487 4.955 11.338 5.146 11.146L7.793 8.5ZM14 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='M5.854 11.854C5.557 12.15 5.194 12.376 4.765 12.532C4.366 12.677 3.944 12.75 3.5 12.75C3.056 12.75 2.634 12.677 2.235 12.532C1.806 12.376 1.443 12.15 1.146 11.854C0.85 11.557 0.624 11.194 0.468 10.765C0.323 10.366 0.25 9.944 0.25 9.5C0.25 9.056 0.323 8.634 0.468 8.235C0.624 7.806 0.85 7.443 1.146 7.146L7.146 1.146C7.443 0.85 7.806 0.624 8.235 0.468C8.634 0.323 9.056 0.25 9.5 0.25C9.944 0.25 10.366 0.323 10.765 0.468C11.194 0.624 11.557 0.85 11.854 1.146C12.15 1.443 12.376 1.806 12.532 2.235C12.677 2.634 12.75 3.056 12.75 3.5C12.75 3.944 12.677 4.366 12.532 4.765C12.376 5.194 12.15 5.557 11.854 5.854L5.854 11.854ZM11.146 5.146C11.338 4.955 11.487 4.713 11.593 4.423C11.698 4.134 11.75 3.827 11.75 3.5C11.75 3.173 11.698 2.866 11.593 2.577C11.487 2.287 11.338 2.045 11.146 1.854C10.955 1.662 10.714 1.513 10.423 1.407C10.134 1.302 9.827 1.25 9.5 1.25C9.173 1.25 8.866 1.302 8.577 1.407C8.287 1.513 8.045 1.662 7.854 1.854L5.207 4.5L8.5 7.793L11.146 5.146ZM7.793 8.5L4.5 5.207L1.854 7.854C1.662 8.045 1.513 8.286 1.407 8.577C1.302 8.866 1.25 9.173 1.25 9.5C1.25 9.827 1.302 10.134 1.407 10.423C1.513 10.713 1.662 10.955 1.854 11.146C2.045 11.338 2.287 11.487 2.577 11.593C2.866 11.698 3.173 11.75 3.5 11.75C3.827 11.75 4.134 11.698 4.423 11.593C4.714 11.487 4.955 11.338 5.146 11.146L7.793 8.5ZM14 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 "pill-pencil" (line-round), MIT. https://gentleface.com/icons/pill-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#pill-pencil"/></svg>
```

### SwiftUI

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

struct PillPencilIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 5.854, y: 11.854))
        p.addCurve(to: CGPoint(x: 4.765, y: 12.532), control1: CGPoint(x: 5.557, y: 12.15), control2: CGPoint(x: 5.194, y: 12.376))
        p.addCurve(to: CGPoint(x: 3.5, y: 12.75), control1: CGPoint(x: 4.366, y: 12.677), control2: CGPoint(x: 3.944, y: 12.75))
        p.addCurve(to: CGPoint(x: 2.235, y: 12.532), control1: CGPoint(x: 3.056, y: 12.75), control2: CGPoint(x: 2.634, y: 12.677))
        p.addCurve(to: CGPoint(x: 1.146, y: 11.854), control1: CGPoint(x: 1.806, y: 12.376), control2: CGPoint(x: 1.443, y: 12.15))
        p.addCurve(to: CGPoint(x: 0.468, y: 10.765), control1: CGPoint(x: 0.85, y: 11.557), control2: CGPoint(x: 0.624, y: 11.194))
        p.addCurve(to: CGPoint(x: 0.25, y: 9.5), control1: CGPoint(x: 0.323, y: 10.366), control2: CGPoint(x: 0.25, y: 9.944))
        p.addCurve(to: CGPoint(x: 0.468, y: 8.235), control1: CGPoint(x: 0.25, y: 9.056), control2: CGPoint(x: 0.323, y: 8.634))
        p.addCurve(to: CGPoint(x: 1.146, y: 7.146), control1: CGPoint(x: 0.624, y: 7.806), control2: CGPoint(x: 0.85, y: 7.443))
        p.addLine(to: CGPoint(x: 7.146, y: 1.146))
        p.addCurve(to: CGPoint(x: 8.235, y: 0.468), control1: CGPoint(x: 7.443, y: 0.85), control2: CGPoint(x: 7.806, y: 0.624))
        p.addCurve(to: CGPoint(x: 9.5, y: 0.25), control1: CGPoint(x: 8.634, y: 0.323), control2: CGPoint(x: 9.056, y: 0.25))
        p.addCurve(to: CGPoint(x: 10.765, y: 0.468), control1: CGPoint(x: 9.944, y: 0.25), control2: CGPoint(x: 10.366, y: 0.323))
        p.addCurve(to: CGPoint(x: 11.854, y: 1.146), control1: CGPoint(x: 11.194, y: 0.624), control2: CGPoint(x: 11.557, y: 0.85))
        p.addCurve(to: CGPoint(x: 12.532, y: 2.235), control1: CGPoint(x: 12.15, y: 1.443), control2: CGPoint(x: 12.376, y: 1.806))
        p.addCurve(to: CGPoint(x: 12.75, y: 3.5), control1: CGPoint(x: 12.677, y: 2.634), control2: CGPoint(x: 12.75, y: 3.056))
        p.addCurve(to: CGPoint(x: 12.532, y: 4.765), control1: CGPoint(x: 12.75, y: 3.944), control2: CGPoint(x: 12.677, y: 4.366))
        p.addCurve(to: CGPoint(x: 11.854, y: 5.854), control1: CGPoint(x: 12.376, y: 5.194), control2: CGPoint(x: 12.15, y: 5.557))
        p.addLine(to: CGPoint(x: 5.854, y: 11.854))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11.146, y: 5.146))
        p.addCurve(to: CGPoint(x: 11.593, y: 4.423), control1: CGPoint(x: 11.338, y: 4.955), control2: CGPoint(x: 11.487, y: 4.713))
        p.addCurve(to: CGPoint(x: 11.75, y: 3.5), control1: CGPoint(x: 11.698, y: 4.134), control2: CGPoint(x: 11.75, y: 3.827))
        p.addCurve(to: CGPoint(x: 11.593, y: 2.577), control1: CGPoint(x: 11.75, y: 3.173), control2: CGPoint(x: 11.698, y: 2.866))
        p.addCurve(to: CGPoint(x: 11.146, y: 1.854), control1: CGPoint(x: 11.487, y: 2.287), control2: CGPoint(x: 11.338, y: 2.045))
        p.addCurve(to: CGPoint(x: 10.423, y: 1.407), control1: CGPoint(x: 10.955, y: 1.662), control2: CGPoint(x: 10.714, y: 1.513))
        p.addCurve(to: CGPoint(x: 9.5, y: 1.25), control1: CGPoint(x: 10.134, y: 1.302), control2: CGPoint(x: 9.827, y: 1.25))
        p.addCurve(to: CGPoint(x: 8.577, y: 1.407), control1: CGPoint(x: 9.173, y: 1.25), control2: CGPoint(x: 8.866, y: 1.302))
        p.addCurve(to: CGPoint(x: 7.854, y: 1.854), control1: CGPoint(x: 8.287, y: 1.513), control2: CGPoint(x: 8.045, y: 1.662))
        p.addLine(to: CGPoint(x: 5.207, y: 4.5))
        p.addLine(to: CGPoint(x: 8.5, y: 7.793))
        p.addLine(to: CGPoint(x: 11.146, y: 5.146))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.793, y: 8.5))
        p.addLine(to: CGPoint(x: 4.5, y: 5.207))
        p.addLine(to: CGPoint(x: 1.854, y: 7.854))
        p.addCurve(to: CGPoint(x: 1.407, y: 8.577), control1: CGPoint(x: 1.662, y: 8.045), control2: CGPoint(x: 1.513, y: 8.286))
        p.addCurve(to: CGPoint(x: 1.25, y: 9.5), control1: CGPoint(x: 1.302, y: 8.866), control2: CGPoint(x: 1.25, y: 9.173))
        p.addCurve(to: CGPoint(x: 1.407, y: 10.423), control1: CGPoint(x: 1.25, y: 9.827), control2: CGPoint(x: 1.302, y: 10.134))
        p.addCurve(to: CGPoint(x: 1.854, y: 11.146), control1: CGPoint(x: 1.513, y: 10.713), control2: CGPoint(x: 1.662, y: 10.955))
        p.addCurve(to: CGPoint(x: 2.577, y: 11.593), control1: CGPoint(x: 2.045, y: 11.338), control2: CGPoint(x: 2.287, y: 11.487))
        p.addCurve(to: CGPoint(x: 3.5, y: 11.75), control1: CGPoint(x: 2.866, y: 11.698), control2: CGPoint(x: 3.173, y: 11.75))
        p.addCurve(to: CGPoint(x: 4.423, y: 11.593), control1: CGPoint(x: 3.827, y: 11.75), control2: CGPoint(x: 4.134, y: 11.698))
        p.addCurve(to: CGPoint(x: 5.146, y: 11.146), control1: CGPoint(x: 4.714, y: 11.487), control2: CGPoint(x: 4.955, y: 11.338))
        p.addLine(to: CGPoint(x: 7.793, y: 8.5))
        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))
    }
}

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

### Compose

```kotlin
// Gentleface "pill-pencil" (line-round), MIT. https://gentleface.com/icons/pill-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 PillPencilIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "pill-pencil", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M5.854 11.854C5.557 12.15 5.194 12.376 4.765 12.532C4.366 12.677 3.944 12.75 3.5 12.75C3.056 12.75 2.634 12.677 2.235 12.532C1.806 12.376 1.443 12.15 1.146 11.854C0.85 11.557 0.624 11.194 0.468 10.765C0.323 10.366 0.25 9.944 0.25 9.5C0.25 9.056 0.323 8.634 0.468 8.235C0.624 7.806 0.85 7.443 1.146 7.146L7.146 1.146C7.443 0.85 7.806 0.624 8.235 0.468C8.634 0.323 9.056 0.25 9.5 0.25C9.944 0.25 10.366 0.323 10.765 0.468C11.194 0.624 11.557 0.85 11.854 1.146C12.15 1.443 12.376 1.806 12.532 2.235C12.677 2.634 12.75 3.056 12.75 3.5C12.75 3.944 12.677 4.366 12.532 4.765C12.376 5.194 12.15 5.557 11.854 5.854L5.854 11.854ZM11.146 5.146C11.338 4.955 11.487 4.713 11.593 4.423C11.698 4.134 11.75 3.827 11.75 3.5C11.75 3.173 11.698 2.866 11.593 2.577C11.487 2.287 11.338 2.045 11.146 1.854C10.955 1.662 10.714 1.513 10.423 1.407C10.134 1.302 9.827 1.25 9.5 1.25C9.173 1.25 8.866 1.302 8.577 1.407C8.287 1.513 8.045 1.662 7.854 1.854L5.207 4.5L8.5 7.793L11.146 5.146ZM7.793 8.5L4.5 5.207L1.854 7.854C1.662 8.045 1.513 8.286 1.407 8.577C1.302 8.866 1.25 9.173 1.25 9.5C1.25 9.827 1.302 10.134 1.407 10.423C1.513 10.713 1.662 10.955 1.854 11.146C2.045 11.338 2.287 11.487 2.577 11.593C2.866 11.698 3.173 11.75 3.5 11.75C3.827 11.75 4.134 11.698 4.423 11.593C4.714 11.487 4.955 11.338 5.146 11.146L7.793 8.5ZM14 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(PillPencilIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_pill_pencil.xml · Gentleface "pill-pencil" (line-round), MIT. https://gentleface.com/icons/pill-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="M5.854 11.854C5.557 12.15 5.194 12.376 4.765 12.532C4.366 12.677 3.944 12.75 3.5 12.75C3.056 12.75 2.634 12.677 2.235 12.532C1.806 12.376 1.443 12.15 1.146 11.854C0.85 11.557 0.624 11.194 0.468 10.765C0.323 10.366 0.25 9.944 0.25 9.5C0.25 9.056 0.323 8.634 0.468 8.235C0.624 7.806 0.85 7.443 1.146 7.146L7.146 1.146C7.443 0.85 7.806 0.624 8.235 0.468C8.634 0.323 9.056 0.25 9.5 0.25C9.944 0.25 10.366 0.323 10.765 0.468C11.194 0.624 11.557 0.85 11.854 1.146C12.15 1.443 12.376 1.806 12.532 2.235C12.677 2.634 12.75 3.056 12.75 3.5C12.75 3.944 12.677 4.366 12.532 4.765C12.376 5.194 12.15 5.557 11.854 5.854L5.854 11.854ZM11.146 5.146C11.338 4.955 11.487 4.713 11.593 4.423C11.698 4.134 11.75 3.827 11.75 3.5C11.75 3.173 11.698 2.866 11.593 2.577C11.487 2.287 11.338 2.045 11.146 1.854C10.955 1.662 10.714 1.513 10.423 1.407C10.134 1.302 9.827 1.25 9.5 1.25C9.173 1.25 8.866 1.302 8.577 1.407C8.287 1.513 8.045 1.662 7.854 1.854L5.207 4.5L8.5 7.793L11.146 5.146ZM7.793 8.5L4.5 5.207L1.854 7.854C1.662 8.045 1.513 8.286 1.407 8.577C1.302 8.866 1.25 9.173 1.25 9.5C1.25 9.827 1.302 10.134 1.407 10.423C1.513 10.713 1.662 10.955 1.854 11.146C2.045 11.338 2.287 11.487 2.577 11.593C2.866 11.698 3.173 11.75 3.5 11.75C3.827 11.75 4.134 11.698 4.423 11.593C4.714 11.487 4.955 11.338 5.146 11.146L7.793 8.5ZM14 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 "pill-pencil" (line-round), MIT. https://gentleface.com/icons/pill-pencil
import 'package:flutter/widgets.dart';

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(5.854, 11.854)
      ..cubicTo(5.557, 12.15, 5.194, 12.376, 4.765, 12.532)
      ..cubicTo(4.366, 12.677, 3.944, 12.75, 3.5, 12.75)
      ..cubicTo(3.056, 12.75, 2.634, 12.677, 2.235, 12.532)
      ..cubicTo(1.806, 12.376, 1.443, 12.15, 1.146, 11.854)
      ..cubicTo(0.85, 11.557, 0.624, 11.194, 0.468, 10.765)
      ..cubicTo(0.323, 10.366, 0.25, 9.944, 0.25, 9.5)
      ..cubicTo(0.25, 9.056, 0.323, 8.634, 0.468, 8.235)
      ..cubicTo(0.624, 7.806, 0.85, 7.443, 1.146, 7.146)
      ..lineTo(7.146, 1.146)
      ..cubicTo(7.443, 0.85, 7.806, 0.624, 8.235, 0.468)
      ..cubicTo(8.634, 0.323, 9.056, 0.25, 9.5, 0.25)
      ..cubicTo(9.944, 0.25, 10.366, 0.323, 10.765, 0.468)
      ..cubicTo(11.194, 0.624, 11.557, 0.85, 11.854, 1.146)
      ..cubicTo(12.15, 1.443, 12.376, 1.806, 12.532, 2.235)
      ..cubicTo(12.677, 2.634, 12.75, 3.056, 12.75, 3.5)
      ..cubicTo(12.75, 3.944, 12.677, 4.366, 12.532, 4.765)
      ..cubicTo(12.376, 5.194, 12.15, 5.557, 11.854, 5.854)
      ..lineTo(5.854, 11.854)
      ..close()
      ..moveTo(11.146, 5.146)
      ..cubicTo(11.338, 4.955, 11.487, 4.713, 11.593, 4.423)
      ..cubicTo(11.698, 4.134, 11.75, 3.827, 11.75, 3.5)
      ..cubicTo(11.75, 3.173, 11.698, 2.866, 11.593, 2.577)
      ..cubicTo(11.487, 2.287, 11.338, 2.045, 11.146, 1.854)
      ..cubicTo(10.955, 1.662, 10.714, 1.513, 10.423, 1.407)
      ..cubicTo(10.134, 1.302, 9.827, 1.25, 9.5, 1.25)
      ..cubicTo(9.173, 1.25, 8.866, 1.302, 8.577, 1.407)
      ..cubicTo(8.287, 1.513, 8.045, 1.662, 7.854, 1.854)
      ..lineTo(5.207, 4.5)
      ..lineTo(8.5, 7.793)
      ..lineTo(11.146, 5.146)
      ..close()
      ..moveTo(7.793, 8.5)
      ..lineTo(4.5, 5.207)
      ..lineTo(1.854, 7.854)
      ..cubicTo(1.662, 8.045, 1.513, 8.286, 1.407, 8.577)
      ..cubicTo(1.302, 8.866, 1.25, 9.173, 1.25, 9.5)
      ..cubicTo(1.25, 9.827, 1.302, 10.134, 1.407, 10.423)
      ..cubicTo(1.513, 10.713, 1.662, 10.955, 1.854, 11.146)
      ..cubicTo(2.045, 11.338, 2.287, 11.487, 2.577, 11.593)
      ..cubicTo(2.866, 11.698, 3.173, 11.75, 3.5, 11.75)
      ..cubicTo(3.827, 11.75, 4.134, 11.698, 4.423, 11.593)
      ..cubicTo(4.714, 11.487, 4.955, 11.338, 5.146, 11.146)
      ..lineTo(7.793, 8.5)
      ..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(_PillPencilIconPainter old) => old.color != color;
}
```
