# filter-pencil icon

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

- Category: Actions
- Use it for: edit filter
- Example: Edit saved filter
- Built from: filter + pencil
- Tags: filter, funnel, refine, narrow, pencil
- Family: filter, filter-lines, filter-plus, filter-sparkle, filter-x
- Component name: FilterPencilIcon
- Added: 2026-10-15

## Alternatives

- `filter`: the bare filter where the panel already edits filters

## 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/filter-pencil.svg · PNG https://gentleface.com/png/line-round/16/filter-pencil.png · https://gentleface.com/png/line-round/32/filter-pencil.png · https://gentleface.com/png/line-round/48/filter-pencil.png
- line-soft: https://gentleface.com/svg/line-soft/16/filter-pencil.svg · PNG https://gentleface.com/png/line-soft/16/filter-pencil.png · https://gentleface.com/png/line-soft/32/filter-pencil.png · https://gentleface.com/png/line-soft/48/filter-pencil.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/filter-pencil.svg · PNG https://gentleface.com/png/line-sharp/16/filter-pencil.png · https://gentleface.com/png/line-sharp/32/filter-pencil.png · https://gentleface.com/png/line-sharp/48/filter-pencil.png
- solid-round: https://gentleface.com/svg/solid-round/16/filter-pencil.svg · PNG https://gentleface.com/png/solid-round/16/filter-pencil.png · https://gentleface.com/png/solid-round/32/filter-pencil.png · https://gentleface.com/png/solid-round/48/filter-pencil.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/filter-pencil.svg · PNG https://gentleface.com/png/solid-soft/16/filter-pencil.png · https://gentleface.com/png/solid-soft/32/filter-pencil.png · https://gentleface.com/png/solid-soft/48/filter-pencil.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/filter-pencil.svg · PNG https://gentleface.com/png/solid-sharp/16/filter-pencil.png · https://gentleface.com/png/solid-sharp/32/filter-pencil.png · https://gentleface.com/png/solid-sharp/48/filter-pencil.png

The SVG of every style: https://gentleface.com/icons/filter-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 8.767C5.757 8.533 5.619 8.326 5.439 8.146L1.5 4.207C1.34 4.047 1.217 3.862 1.13 3.653C1.043 3.444 1 3.226 1 3C1 2.724 1.098 2.488 1.293 2.293C1.488 2.098 1.724 2 2 2L13 2C13.276 2 13.512 2.098 13.707 2.293C13.902 2.488 14 2.724 14 3C14 3.226 13.957 3.444 13.87 3.653C13.783 3.862 13.66 4.047 13.5 4.207L9.561 8.146C9.381 8.326 9.243 8.533 9.146 8.767C9.049 9.002 9 9.246 9 9.5L9 10.5C9 10.641 8.952 10.759 8.856 10.856C8.759 10.952 8.641 11 8.5 11C8.359 11 8.241 10.952 8.144 10.856C8.048 10.759 8 10.641 8 10.5L8 9.5C8 9.114 8.074 8.742 8.222 8.385C8.37 8.028 8.58 7.713 8.854 7.439L12.793 3.5C12.931 3.362 13 3.195 13 3L2 3C2 3.195 2.069 3.362 2.207 3.5L6.146 7.439C6.42 7.713 6.63 8.028 6.778 8.385C6.926 8.742 7 9.114 7 9.5L7 12.5C7 12.654 7.058 12.781 7.175 12.88C7.28 12.97 7.338 13.084 7.349 13.221C7.36 13.359 7.321 13.48 7.231 13.585C7.142 13.69 7.028 13.748 6.89 13.759C6.753 13.77 6.631 13.731 6.526 13.641C6.359 13.499 6.23 13.328 6.138 13.128C6.046 12.929 6 12.72 6 12.5L6 9.5C6 9.246 5.951 9.002 5.854 8.767ZM14 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 "filter-pencil" (line-round), MIT. https://gentleface.com/icons/filter-pencil
import type { SVGProps } from 'react';

export function FilterPencilIcon(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 8.767C5.757 8.533 5.619 8.326 5.439 8.146L1.5 4.207C1.34 4.047 1.217 3.862 1.13 3.653C1.043 3.444 1 3.226 1 3C1 2.724 1.098 2.488 1.293 2.293C1.488 2.098 1.724 2 2 2L13 2C13.276 2 13.512 2.098 13.707 2.293C13.902 2.488 14 2.724 14 3C14 3.226 13.957 3.444 13.87 3.653C13.783 3.862 13.66 4.047 13.5 4.207L9.561 8.146C9.381 8.326 9.243 8.533 9.146 8.767C9.049 9.002 9 9.246 9 9.5L9 10.5C9 10.641 8.952 10.759 8.856 10.856C8.759 10.952 8.641 11 8.5 11C8.359 11 8.241 10.952 8.144 10.856C8.048 10.759 8 10.641 8 10.5L8 9.5C8 9.114 8.074 8.742 8.222 8.385C8.37 8.028 8.58 7.713 8.854 7.439L12.793 3.5C12.931 3.362 13 3.195 13 3L2 3C2 3.195 2.069 3.362 2.207 3.5L6.146 7.439C6.42 7.713 6.63 8.028 6.778 8.385C6.926 8.742 7 9.114 7 9.5L7 12.5C7 12.654 7.058 12.781 7.175 12.88C7.28 12.97 7.338 13.084 7.349 13.221C7.36 13.359 7.321 13.48 7.231 13.585C7.142 13.69 7.028 13.748 6.89 13.759C6.753 13.77 6.631 13.731 6.526 13.641C6.359 13.499 6.23 13.328 6.138 13.128C6.046 12.929 6 12.72 6 12.5L6 9.5C6 9.246 5.951 9.002 5.854 8.767ZM14 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 "filter-pencil" (line-round), MIT. https://gentleface.com/icons/filter-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 8.767C5.757 8.533 5.619 8.326 5.439 8.146L1.5 4.207C1.34 4.047 1.217 3.862 1.13 3.653C1.043 3.444 1 3.226 1 3C1 2.724 1.098 2.488 1.293 2.293C1.488 2.098 1.724 2 2 2L13 2C13.276 2 13.512 2.098 13.707 2.293C13.902 2.488 14 2.724 14 3C14 3.226 13.957 3.444 13.87 3.653C13.783 3.862 13.66 4.047 13.5 4.207L9.561 8.146C9.381 8.326 9.243 8.533 9.146 8.767C9.049 9.002 9 9.246 9 9.5L9 10.5C9 10.641 8.952 10.759 8.856 10.856C8.759 10.952 8.641 11 8.5 11C8.359 11 8.241 10.952 8.144 10.856C8.048 10.759 8 10.641 8 10.5L8 9.5C8 9.114 8.074 8.742 8.222 8.385C8.37 8.028 8.58 7.713 8.854 7.439L12.793 3.5C12.931 3.362 13 3.195 13 3L2 3C2 3.195 2.069 3.362 2.207 3.5L6.146 7.439C6.42 7.713 6.63 8.028 6.778 8.385C6.926 8.742 7 9.114 7 9.5L7 12.5C7 12.654 7.058 12.781 7.175 12.88C7.28 12.97 7.338 13.084 7.349 13.221C7.36 13.359 7.321 13.48 7.231 13.585C7.142 13.69 7.028 13.748 6.89 13.759C6.753 13.77 6.631 13.731 6.526 13.641C6.359 13.499 6.23 13.328 6.138 13.128C6.046 12.929 6 12.72 6 12.5L6 9.5C6 9.246 5.951 9.002 5.854 8.767ZM14 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 "filter-pencil" (line-round), MIT. https://gentleface.com/icons/filter-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 8.767C5.757 8.533 5.619 8.326 5.439 8.146L1.5 4.207C1.34 4.047 1.217 3.862 1.13 3.653C1.043 3.444 1 3.226 1 3C1 2.724 1.098 2.488 1.293 2.293C1.488 2.098 1.724 2 2 2L13 2C13.276 2 13.512 2.098 13.707 2.293C13.902 2.488 14 2.724 14 3C14 3.226 13.957 3.444 13.87 3.653C13.783 3.862 13.66 4.047 13.5 4.207L9.561 8.146C9.381 8.326 9.243 8.533 9.146 8.767C9.049 9.002 9 9.246 9 9.5L9 10.5C9 10.641 8.952 10.759 8.856 10.856C8.759 10.952 8.641 11 8.5 11C8.359 11 8.241 10.952 8.144 10.856C8.048 10.759 8 10.641 8 10.5L8 9.5C8 9.114 8.074 8.742 8.222 8.385C8.37 8.028 8.58 7.713 8.854 7.439L12.793 3.5C12.931 3.362 13 3.195 13 3L2 3C2 3.195 2.069 3.362 2.207 3.5L6.146 7.439C6.42 7.713 6.63 8.028 6.778 8.385C6.926 8.742 7 9.114 7 9.5L7 12.5C7 12.654 7.058 12.781 7.175 12.88C7.28 12.97 7.338 13.084 7.349 13.221C7.36 13.359 7.321 13.48 7.231 13.585C7.142 13.69 7.028 13.748 6.89 13.759C6.753 13.77 6.631 13.731 6.526 13.641C6.359 13.499 6.23 13.328 6.138 13.128C6.046 12.929 6 12.72 6 12.5L6 9.5C6 9.246 5.951 9.002 5.854 8.767ZM14 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 "filter-pencil" (line-round), MIT. https://gentleface.com/icons/filter-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/filter-pencil.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "filter-pencil" (line-round), MIT. https://gentleface.com/icons/filter-pencil. Takes the text color. */
.icon-filter-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 8.767C5.757 8.533 5.619 8.326 5.439 8.146L1.5 4.207C1.34 4.047 1.217 3.862 1.13 3.653C1.043 3.444 1 3.226 1 3C1 2.724 1.098 2.488 1.293 2.293C1.488 2.098 1.724 2 2 2L13 2C13.276 2 13.512 2.098 13.707 2.293C13.902 2.488 14 2.724 14 3C14 3.226 13.957 3.444 13.87 3.653C13.783 3.862 13.66 4.047 13.5 4.207L9.561 8.146C9.381 8.326 9.243 8.533 9.146 8.767C9.049 9.002 9 9.246 9 9.5L9 10.5C9 10.641 8.952 10.759 8.856 10.856C8.759 10.952 8.641 11 8.5 11C8.359 11 8.241 10.952 8.144 10.856C8.048 10.759 8 10.641 8 10.5L8 9.5C8 9.114 8.074 8.742 8.222 8.385C8.37 8.028 8.58 7.713 8.854 7.439L12.793 3.5C12.931 3.362 13 3.195 13 3L2 3C2 3.195 2.069 3.362 2.207 3.5L6.146 7.439C6.42 7.713 6.63 8.028 6.778 8.385C6.926 8.742 7 9.114 7 9.5L7 12.5C7 12.654 7.058 12.781 7.175 12.88C7.28 12.97 7.338 13.084 7.349 13.221C7.36 13.359 7.321 13.48 7.231 13.585C7.142 13.69 7.028 13.748 6.89 13.759C6.753 13.77 6.631 13.731 6.526 13.641C6.359 13.499 6.23 13.328 6.138 13.128C6.046 12.929 6 12.72 6 12.5L6 9.5C6 9.246 5.951 9.002 5.854 8.767ZM14 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 8.767C5.757 8.533 5.619 8.326 5.439 8.146L1.5 4.207C1.34 4.047 1.217 3.862 1.13 3.653C1.043 3.444 1 3.226 1 3C1 2.724 1.098 2.488 1.293 2.293C1.488 2.098 1.724 2 2 2L13 2C13.276 2 13.512 2.098 13.707 2.293C13.902 2.488 14 2.724 14 3C14 3.226 13.957 3.444 13.87 3.653C13.783 3.862 13.66 4.047 13.5 4.207L9.561 8.146C9.381 8.326 9.243 8.533 9.146 8.767C9.049 9.002 9 9.246 9 9.5L9 10.5C9 10.641 8.952 10.759 8.856 10.856C8.759 10.952 8.641 11 8.5 11C8.359 11 8.241 10.952 8.144 10.856C8.048 10.759 8 10.641 8 10.5L8 9.5C8 9.114 8.074 8.742 8.222 8.385C8.37 8.028 8.58 7.713 8.854 7.439L12.793 3.5C12.931 3.362 13 3.195 13 3L2 3C2 3.195 2.069 3.362 2.207 3.5L6.146 7.439C6.42 7.713 6.63 8.028 6.778 8.385C6.926 8.742 7 9.114 7 9.5L7 12.5C7 12.654 7.058 12.781 7.175 12.88C7.28 12.97 7.338 13.084 7.349 13.221C7.36 13.359 7.321 13.48 7.231 13.585C7.142 13.69 7.028 13.748 6.89 13.759C6.753 13.77 6.631 13.731 6.526 13.641C6.359 13.499 6.23 13.328 6.138 13.128C6.046 12.929 6 12.72 6 12.5L6 9.5C6 9.246 5.951 9.002 5.854 8.767ZM14 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 8.767C5.757 8.533 5.619 8.326 5.439 8.146L1.5 4.207C1.34 4.047 1.217 3.862 1.13 3.653C1.043 3.444 1 3.226 1 3C1 2.724 1.098 2.488 1.293 2.293C1.488 2.098 1.724 2 2 2L13 2C13.276 2 13.512 2.098 13.707 2.293C13.902 2.488 14 2.724 14 3C14 3.226 13.957 3.444 13.87 3.653C13.783 3.862 13.66 4.047 13.5 4.207L9.561 8.146C9.381 8.326 9.243 8.533 9.146 8.767C9.049 9.002 9 9.246 9 9.5L9 10.5C9 10.641 8.952 10.759 8.856 10.856C8.759 10.952 8.641 11 8.5 11C8.359 11 8.241 10.952 8.144 10.856C8.048 10.759 8 10.641 8 10.5L8 9.5C8 9.114 8.074 8.742 8.222 8.385C8.37 8.028 8.58 7.713 8.854 7.439L12.793 3.5C12.931 3.362 13 3.195 13 3L2 3C2 3.195 2.069 3.362 2.207 3.5L6.146 7.439C6.42 7.713 6.63 8.028 6.778 8.385C6.926 8.742 7 9.114 7 9.5L7 12.5C7 12.654 7.058 12.781 7.175 12.88C7.28 12.97 7.338 13.084 7.349 13.221C7.36 13.359 7.321 13.48 7.231 13.585C7.142 13.69 7.028 13.748 6.89 13.759C6.753 13.77 6.631 13.731 6.526 13.641C6.359 13.499 6.23 13.328 6.138 13.128C6.046 12.929 6 12.72 6 12.5L6 9.5C6 9.246 5.951 9.002 5.854 8.767ZM14 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 "filter-pencil" (line-round), MIT. https://gentleface.com/icons/filter-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#filter-pencil"/></svg>
```

### SwiftUI

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

struct FilterPencilIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 5.854, y: 8.767))
        p.addCurve(to: CGPoint(x: 5.439, y: 8.146), control1: CGPoint(x: 5.757, y: 8.533), control2: CGPoint(x: 5.619, y: 8.326))
        p.addLine(to: CGPoint(x: 1.5, y: 4.207))
        p.addCurve(to: CGPoint(x: 1.13, y: 3.653), control1: CGPoint(x: 1.34, y: 4.047), control2: CGPoint(x: 1.217, y: 3.862))
        p.addCurve(to: CGPoint(x: 1, y: 3), control1: CGPoint(x: 1.043, y: 3.444), control2: CGPoint(x: 1, y: 3.226))
        p.addCurve(to: CGPoint(x: 1.293, y: 2.293), control1: CGPoint(x: 1, y: 2.724), control2: CGPoint(x: 1.098, y: 2.488))
        p.addCurve(to: CGPoint(x: 2, y: 2), control1: CGPoint(x: 1.488, y: 2.098), control2: CGPoint(x: 1.724, y: 2))
        p.addLine(to: CGPoint(x: 13, y: 2))
        p.addCurve(to: CGPoint(x: 13.707, y: 2.293), control1: CGPoint(x: 13.276, y: 2), control2: CGPoint(x: 13.512, y: 2.098))
        p.addCurve(to: CGPoint(x: 14, y: 3), control1: CGPoint(x: 13.902, y: 2.488), control2: CGPoint(x: 14, y: 2.724))
        p.addCurve(to: CGPoint(x: 13.87, y: 3.653), control1: CGPoint(x: 14, y: 3.226), control2: CGPoint(x: 13.957, y: 3.444))
        p.addCurve(to: CGPoint(x: 13.5, y: 4.207), control1: CGPoint(x: 13.783, y: 3.862), control2: CGPoint(x: 13.66, y: 4.047))
        p.addLine(to: CGPoint(x: 9.561, y: 8.146))
        p.addCurve(to: CGPoint(x: 9.146, y: 8.767), control1: CGPoint(x: 9.381, y: 8.326), control2: CGPoint(x: 9.243, y: 8.533))
        p.addCurve(to: CGPoint(x: 9, y: 9.5), control1: CGPoint(x: 9.049, y: 9.002), control2: CGPoint(x: 9, y: 9.246))
        p.addLine(to: CGPoint(x: 9, y: 10.5))
        p.addCurve(to: CGPoint(x: 8.856, y: 10.856), control1: CGPoint(x: 9, y: 10.641), control2: CGPoint(x: 8.952, y: 10.759))
        p.addCurve(to: CGPoint(x: 8.5, y: 11), control1: CGPoint(x: 8.759, y: 10.952), control2: CGPoint(x: 8.641, y: 11))
        p.addCurve(to: CGPoint(x: 8.144, y: 10.856), control1: CGPoint(x: 8.359, y: 11), control2: CGPoint(x: 8.241, y: 10.952))
        p.addCurve(to: CGPoint(x: 8, y: 10.5), control1: CGPoint(x: 8.048, y: 10.759), control2: CGPoint(x: 8, y: 10.641))
        p.addLine(to: CGPoint(x: 8, y: 9.5))
        p.addCurve(to: CGPoint(x: 8.222, y: 8.385), control1: CGPoint(x: 8, y: 9.114), control2: CGPoint(x: 8.074, y: 8.742))
        p.addCurve(to: CGPoint(x: 8.854, y: 7.439), control1: CGPoint(x: 8.37, y: 8.028), control2: CGPoint(x: 8.58, y: 7.713))
        p.addLine(to: CGPoint(x: 12.793, y: 3.5))
        p.addCurve(to: CGPoint(x: 13, y: 3), control1: CGPoint(x: 12.931, y: 3.362), control2: CGPoint(x: 13, y: 3.195))
        p.addLine(to: CGPoint(x: 2, y: 3))
        p.addCurve(to: CGPoint(x: 2.207, y: 3.5), control1: CGPoint(x: 2, y: 3.195), control2: CGPoint(x: 2.069, y: 3.362))
        p.addLine(to: CGPoint(x: 6.146, y: 7.439))
        p.addCurve(to: CGPoint(x: 6.778, y: 8.385), control1: CGPoint(x: 6.42, y: 7.713), control2: CGPoint(x: 6.63, y: 8.028))
        p.addCurve(to: CGPoint(x: 7, y: 9.5), control1: CGPoint(x: 6.926, y: 8.742), control2: CGPoint(x: 7, y: 9.114))
        p.addLine(to: CGPoint(x: 7, y: 12.5))
        p.addCurve(to: CGPoint(x: 7.175, y: 12.88), control1: CGPoint(x: 7, y: 12.654), control2: CGPoint(x: 7.058, y: 12.781))
        p.addCurve(to: CGPoint(x: 7.349, y: 13.221), control1: CGPoint(x: 7.28, y: 12.97), control2: CGPoint(x: 7.338, y: 13.084))
        p.addCurve(to: CGPoint(x: 7.231, y: 13.585), control1: CGPoint(x: 7.36, y: 13.359), control2: CGPoint(x: 7.321, y: 13.48))
        p.addCurve(to: CGPoint(x: 6.89, y: 13.759), control1: CGPoint(x: 7.142, y: 13.69), control2: CGPoint(x: 7.028, y: 13.748))
        p.addCurve(to: CGPoint(x: 6.526, y: 13.641), control1: CGPoint(x: 6.753, y: 13.77), control2: CGPoint(x: 6.631, y: 13.731))
        p.addCurve(to: CGPoint(x: 6.138, y: 13.128), control1: CGPoint(x: 6.359, y: 13.499), control2: CGPoint(x: 6.23, y: 13.328))
        p.addCurve(to: CGPoint(x: 6, y: 12.5), control1: CGPoint(x: 6.046, y: 12.929), control2: CGPoint(x: 6, y: 12.72))
        p.addLine(to: CGPoint(x: 6, y: 9.5))
        p.addCurve(to: CGPoint(x: 5.854, y: 8.767), control1: CGPoint(x: 6, y: 9.246), control2: CGPoint(x: 5.951, y: 9.002))
        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))
    }
}

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

### Compose

```kotlin
// Gentleface "filter-pencil" (line-round), MIT. https://gentleface.com/icons/filter-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 FilterPencilIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "filter-pencil", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M5.854 8.767C5.757 8.533 5.619 8.326 5.439 8.146L1.5 4.207C1.34 4.047 1.217 3.862 1.13 3.653C1.043 3.444 1 3.226 1 3C1 2.724 1.098 2.488 1.293 2.293C1.488 2.098 1.724 2 2 2L13 2C13.276 2 13.512 2.098 13.707 2.293C13.902 2.488 14 2.724 14 3C14 3.226 13.957 3.444 13.87 3.653C13.783 3.862 13.66 4.047 13.5 4.207L9.561 8.146C9.381 8.326 9.243 8.533 9.146 8.767C9.049 9.002 9 9.246 9 9.5L9 10.5C9 10.641 8.952 10.759 8.856 10.856C8.759 10.952 8.641 11 8.5 11C8.359 11 8.241 10.952 8.144 10.856C8.048 10.759 8 10.641 8 10.5L8 9.5C8 9.114 8.074 8.742 8.222 8.385C8.37 8.028 8.58 7.713 8.854 7.439L12.793 3.5C12.931 3.362 13 3.195 13 3L2 3C2 3.195 2.069 3.362 2.207 3.5L6.146 7.439C6.42 7.713 6.63 8.028 6.778 8.385C6.926 8.742 7 9.114 7 9.5L7 12.5C7 12.654 7.058 12.781 7.175 12.88C7.28 12.97 7.338 13.084 7.349 13.221C7.36 13.359 7.321 13.48 7.231 13.585C7.142 13.69 7.028 13.748 6.89 13.759C6.753 13.77 6.631 13.731 6.526 13.641C6.359 13.499 6.23 13.328 6.138 13.128C6.046 12.929 6 12.72 6 12.5L6 9.5C6 9.246 5.951 9.002 5.854 8.767ZM14 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(FilterPencilIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_filter_pencil.xml · Gentleface "filter-pencil" (line-round), MIT. https://gentleface.com/icons/filter-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 8.767C5.757 8.533 5.619 8.326 5.439 8.146L1.5 4.207C1.34 4.047 1.217 3.862 1.13 3.653C1.043 3.444 1 3.226 1 3C1 2.724 1.098 2.488 1.293 2.293C1.488 2.098 1.724 2 2 2L13 2C13.276 2 13.512 2.098 13.707 2.293C13.902 2.488 14 2.724 14 3C14 3.226 13.957 3.444 13.87 3.653C13.783 3.862 13.66 4.047 13.5 4.207L9.561 8.146C9.381 8.326 9.243 8.533 9.146 8.767C9.049 9.002 9 9.246 9 9.5L9 10.5C9 10.641 8.952 10.759 8.856 10.856C8.759 10.952 8.641 11 8.5 11C8.359 11 8.241 10.952 8.144 10.856C8.048 10.759 8 10.641 8 10.5L8 9.5C8 9.114 8.074 8.742 8.222 8.385C8.37 8.028 8.58 7.713 8.854 7.439L12.793 3.5C12.931 3.362 13 3.195 13 3L2 3C2 3.195 2.069 3.362 2.207 3.5L6.146 7.439C6.42 7.713 6.63 8.028 6.778 8.385C6.926 8.742 7 9.114 7 9.5L7 12.5C7 12.654 7.058 12.781 7.175 12.88C7.28 12.97 7.338 13.084 7.349 13.221C7.36 13.359 7.321 13.48 7.231 13.585C7.142 13.69 7.028 13.748 6.89 13.759C6.753 13.77 6.631 13.731 6.526 13.641C6.359 13.499 6.23 13.328 6.138 13.128C6.046 12.929 6 12.72 6 12.5L6 9.5C6 9.246 5.951 9.002 5.854 8.767ZM14 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 "filter-pencil" (line-round), MIT. https://gentleface.com/icons/filter-pencil
import 'package:flutter/widgets.dart';

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

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

class _FilterPencilIconPainter extends CustomPainter {
  _FilterPencilIconPainter(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, 8.767)
      ..cubicTo(5.757, 8.533, 5.619, 8.326, 5.439, 8.146)
      ..lineTo(1.5, 4.207)
      ..cubicTo(1.34, 4.047, 1.217, 3.862, 1.13, 3.653)
      ..cubicTo(1.043, 3.444, 1, 3.226, 1, 3)
      ..cubicTo(1, 2.724, 1.098, 2.488, 1.293, 2.293)
      ..cubicTo(1.488, 2.098, 1.724, 2, 2, 2)
      ..lineTo(13, 2)
      ..cubicTo(13.276, 2, 13.512, 2.098, 13.707, 2.293)
      ..cubicTo(13.902, 2.488, 14, 2.724, 14, 3)
      ..cubicTo(14, 3.226, 13.957, 3.444, 13.87, 3.653)
      ..cubicTo(13.783, 3.862, 13.66, 4.047, 13.5, 4.207)
      ..lineTo(9.561, 8.146)
      ..cubicTo(9.381, 8.326, 9.243, 8.533, 9.146, 8.767)
      ..cubicTo(9.049, 9.002, 9, 9.246, 9, 9.5)
      ..lineTo(9, 10.5)
      ..cubicTo(9, 10.641, 8.952, 10.759, 8.856, 10.856)
      ..cubicTo(8.759, 10.952, 8.641, 11, 8.5, 11)
      ..cubicTo(8.359, 11, 8.241, 10.952, 8.144, 10.856)
      ..cubicTo(8.048, 10.759, 8, 10.641, 8, 10.5)
      ..lineTo(8, 9.5)
      ..cubicTo(8, 9.114, 8.074, 8.742, 8.222, 8.385)
      ..cubicTo(8.37, 8.028, 8.58, 7.713, 8.854, 7.439)
      ..lineTo(12.793, 3.5)
      ..cubicTo(12.931, 3.362, 13, 3.195, 13, 3)
      ..lineTo(2, 3)
      ..cubicTo(2, 3.195, 2.069, 3.362, 2.207, 3.5)
      ..lineTo(6.146, 7.439)
      ..cubicTo(6.42, 7.713, 6.63, 8.028, 6.778, 8.385)
      ..cubicTo(6.926, 8.742, 7, 9.114, 7, 9.5)
      ..lineTo(7, 12.5)
      ..cubicTo(7, 12.654, 7.058, 12.781, 7.175, 12.88)
      ..cubicTo(7.28, 12.97, 7.338, 13.084, 7.349, 13.221)
      ..cubicTo(7.36, 13.359, 7.321, 13.48, 7.231, 13.585)
      ..cubicTo(7.142, 13.69, 7.028, 13.748, 6.89, 13.759)
      ..cubicTo(6.753, 13.77, 6.631, 13.731, 6.526, 13.641)
      ..cubicTo(6.359, 13.499, 6.23, 13.328, 6.138, 13.128)
      ..cubicTo(6.046, 12.929, 6, 12.72, 6, 12.5)
      ..lineTo(6, 9.5)
      ..cubicTo(6, 9.246, 5.951, 9.002, 5.854, 8.767)
      ..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(_FilterPencilIconPainter old) => old.color != color;
}
```
