# shield-pencil icon

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

- Category: Security & privacy
- Use it for: edit security policy, edit protection rule
- Example: Edit a firewall or protection rule
- Built from: shield + pencil
- Tags: security, protect, guard, safe, pencil
- Family: shield, shield-alert, shield-arrow-down, shield-arrow-up, shield-bolt, shield-bug, shield-check, shield-clock, shield-code, shield-eye, shield-gear, shield-link, shield-lock, shield-medical, shield-off, shield-pause, shield-plus, shield-question, shield-search, shield-sparkle, shield-sync, shield-virus, shield-x
- Component name: ShieldPencilIcon
- Added: 2026-11-07
- Since: version 0.6.0
- npm: `import { ShieldPencilIcon } 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/shield-pencil.svg · PNG https://gentleface.com/png/line-round/16/shield-pencil.png · https://gentleface.com/png/line-round/32/shield-pencil.png · https://gentleface.com/png/line-round/48/shield-pencil.png
- line-soft: https://gentleface.com/svg/line-soft/16/shield-pencil.svg · PNG https://gentleface.com/png/line-soft/16/shield-pencil.png · https://gentleface.com/png/line-soft/32/shield-pencil.png · https://gentleface.com/png/line-soft/48/shield-pencil.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/shield-pencil.svg · PNG https://gentleface.com/png/line-sharp/16/shield-pencil.png · https://gentleface.com/png/line-sharp/32/shield-pencil.png · https://gentleface.com/png/line-sharp/48/shield-pencil.png
- solid-round: https://gentleface.com/svg/solid-round/16/shield-pencil.svg · PNG https://gentleface.com/png/solid-round/16/shield-pencil.png · https://gentleface.com/png/solid-round/32/shield-pencil.png · https://gentleface.com/png/solid-round/48/shield-pencil.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/shield-pencil.svg · PNG https://gentleface.com/png/solid-soft/16/shield-pencil.png · https://gentleface.com/png/solid-soft/32/shield-pencil.png · https://gentleface.com/png/solid-soft/48/shield-pencil.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/shield-pencil.svg · PNG https://gentleface.com/png/solid-sharp/16/shield-pencil.png · https://gentleface.com/png/solid-sharp/32/shield-pencil.png · https://gentleface.com/png/solid-sharp/48/shield-pencil.png

The SVG of every style: https://gentleface.com/icons/shield-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.144 3.144C2.241 3.048 2.359 3 2.5 3C3.471 3 4.307 2.865 5.008 2.596C5.754 2.309 6.467 1.826 7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146C8.533 1.826 9.246 2.309 9.992 2.596C10.693 2.865 11.529 3 12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 3.989C11.111 3.947 10.322 3.794 9.633 3.529C8.886 3.242 8.175 2.795 7.5 2.189C6.825 2.795 6.114 3.242 5.367 3.529C4.678 3.794 3.889 3.947 3 3.989L3 8.5C3 9.607 3.371 10.623 4.114 11.548C4.767 12.361 5.659 13.055 6.788 13.629C6.911 13.692 6.994 13.789 7.037 13.92C7.053 13.97 7.062 14.019 7.063 14.067C7.041 14.139 7.025 14.212 7.015 14.287C7.012 14.292 7.01 14.297 7.007 14.302C6.943 14.427 6.847 14.511 6.717 14.553C6.588 14.596 6.46 14.585 6.335 14.521C5.078 13.881 4.078 13.099 3.334 12.174C2.445 11.067 2 9.842 2 8.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144ZM14 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 "shield-pencil" (line-round), MIT. https://gentleface.com/icons/shield-pencil
import type { SVGProps } from 'react';

export function ShieldPencilIcon(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.144 3.144C2.241 3.048 2.359 3 2.5 3C3.471 3 4.307 2.865 5.008 2.596C5.754 2.309 6.467 1.826 7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146C8.533 1.826 9.246 2.309 9.992 2.596C10.693 2.865 11.529 3 12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 3.989C11.111 3.947 10.322 3.794 9.633 3.529C8.886 3.242 8.175 2.795 7.5 2.189C6.825 2.795 6.114 3.242 5.367 3.529C4.678 3.794 3.889 3.947 3 3.989L3 8.5C3 9.607 3.371 10.623 4.114 11.548C4.767 12.361 5.659 13.055 6.788 13.629C6.911 13.692 6.994 13.789 7.037 13.92C7.053 13.97 7.062 14.019 7.063 14.067C7.041 14.139 7.025 14.212 7.015 14.287C7.012 14.292 7.01 14.297 7.007 14.302C6.943 14.427 6.847 14.511 6.717 14.553C6.588 14.596 6.46 14.585 6.335 14.521C5.078 13.881 4.078 13.099 3.334 12.174C2.445 11.067 2 9.842 2 8.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144ZM14 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 "shield-pencil" (line-round), MIT. https://gentleface.com/icons/shield-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.144 3.144C2.241 3.048 2.359 3 2.5 3C3.471 3 4.307 2.865 5.008 2.596C5.754 2.309 6.467 1.826 7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146C8.533 1.826 9.246 2.309 9.992 2.596C10.693 2.865 11.529 3 12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 3.989C11.111 3.947 10.322 3.794 9.633 3.529C8.886 3.242 8.175 2.795 7.5 2.189C6.825 2.795 6.114 3.242 5.367 3.529C4.678 3.794 3.889 3.947 3 3.989L3 8.5C3 9.607 3.371 10.623 4.114 11.548C4.767 12.361 5.659 13.055 6.788 13.629C6.911 13.692 6.994 13.789 7.037 13.92C7.053 13.97 7.062 14.019 7.063 14.067C7.041 14.139 7.025 14.212 7.015 14.287C7.012 14.292 7.01 14.297 7.007 14.302C6.943 14.427 6.847 14.511 6.717 14.553C6.588 14.596 6.46 14.585 6.335 14.521C5.078 13.881 4.078 13.099 3.334 12.174C2.445 11.067 2 9.842 2 8.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144ZM14 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 "shield-pencil" (line-round), MIT. https://gentleface.com/icons/shield-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.144 3.144C2.241 3.048 2.359 3 2.5 3C3.471 3 4.307 2.865 5.008 2.596C5.754 2.309 6.467 1.826 7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146C8.533 1.826 9.246 2.309 9.992 2.596C10.693 2.865 11.529 3 12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 3.989C11.111 3.947 10.322 3.794 9.633 3.529C8.886 3.242 8.175 2.795 7.5 2.189C6.825 2.795 6.114 3.242 5.367 3.529C4.678 3.794 3.889 3.947 3 3.989L3 8.5C3 9.607 3.371 10.623 4.114 11.548C4.767 12.361 5.659 13.055 6.788 13.629C6.911 13.692 6.994 13.789 7.037 13.92C7.053 13.97 7.062 14.019 7.063 14.067C7.041 14.139 7.025 14.212 7.015 14.287C7.012 14.292 7.01 14.297 7.007 14.302C6.943 14.427 6.847 14.511 6.717 14.553C6.588 14.596 6.46 14.585 6.335 14.521C5.078 13.881 4.078 13.099 3.334 12.174C2.445 11.067 2 9.842 2 8.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144ZM14 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 "shield-pencil" (line-round), MIT. https://gentleface.com/icons/shield-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/shield-pencil.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "shield-pencil" (line-round), MIT. https://gentleface.com/icons/shield-pencil. Takes the text color. */
.icon-shield-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.144 3.144C2.241 3.048 2.359 3 2.5 3C3.471 3 4.307 2.865 5.008 2.596C5.754 2.309 6.467 1.826 7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146C8.533 1.826 9.246 2.309 9.992 2.596C10.693 2.865 11.529 3 12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 3.989C11.111 3.947 10.322 3.794 9.633 3.529C8.886 3.242 8.175 2.795 7.5 2.189C6.825 2.795 6.114 3.242 5.367 3.529C4.678 3.794 3.889 3.947 3 3.989L3 8.5C3 9.607 3.371 10.623 4.114 11.548C4.767 12.361 5.659 13.055 6.788 13.629C6.911 13.692 6.994 13.789 7.037 13.92C7.053 13.97 7.062 14.019 7.063 14.067C7.041 14.139 7.025 14.212 7.015 14.287C7.012 14.292 7.01 14.297 7.007 14.302C6.943 14.427 6.847 14.511 6.717 14.553C6.588 14.596 6.46 14.585 6.335 14.521C5.078 13.881 4.078 13.099 3.334 12.174C2.445 11.067 2 9.842 2 8.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144ZM14 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.144 3.144C2.241 3.048 2.359 3 2.5 3C3.471 3 4.307 2.865 5.008 2.596C5.754 2.309 6.467 1.826 7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146C8.533 1.826 9.246 2.309 9.992 2.596C10.693 2.865 11.529 3 12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 3.989C11.111 3.947 10.322 3.794 9.633 3.529C8.886 3.242 8.175 2.795 7.5 2.189C6.825 2.795 6.114 3.242 5.367 3.529C4.678 3.794 3.889 3.947 3 3.989L3 8.5C3 9.607 3.371 10.623 4.114 11.548C4.767 12.361 5.659 13.055 6.788 13.629C6.911 13.692 6.994 13.789 7.037 13.92C7.053 13.97 7.062 14.019 7.063 14.067C7.041 14.139 7.025 14.212 7.015 14.287C7.012 14.292 7.01 14.297 7.007 14.302C6.943 14.427 6.847 14.511 6.717 14.553C6.588 14.596 6.46 14.585 6.335 14.521C5.078 13.881 4.078 13.099 3.334 12.174C2.445 11.067 2 9.842 2 8.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144ZM14 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.144 3.144C2.241 3.048 2.359 3 2.5 3C3.471 3 4.307 2.865 5.008 2.596C5.754 2.309 6.467 1.826 7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146C8.533 1.826 9.246 2.309 9.992 2.596C10.693 2.865 11.529 3 12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 3.989C11.111 3.947 10.322 3.794 9.633 3.529C8.886 3.242 8.175 2.795 7.5 2.189C6.825 2.795 6.114 3.242 5.367 3.529C4.678 3.794 3.889 3.947 3 3.989L3 8.5C3 9.607 3.371 10.623 4.114 11.548C4.767 12.361 5.659 13.055 6.788 13.629C6.911 13.692 6.994 13.789 7.037 13.92C7.053 13.97 7.062 14.019 7.063 14.067C7.041 14.139 7.025 14.212 7.015 14.287C7.012 14.292 7.01 14.297 7.007 14.302C6.943 14.427 6.847 14.511 6.717 14.553C6.588 14.596 6.46 14.585 6.335 14.521C5.078 13.881 4.078 13.099 3.334 12.174C2.445 11.067 2 9.842 2 8.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144ZM14 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 "shield-pencil" (line-round), MIT. https://gentleface.com/icons/shield-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#shield-pencil"/></svg>
```

### SwiftUI

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

struct ShieldPencilIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 2.144, y: 3.144))
        p.addCurve(to: CGPoint(x: 2.5, y: 3), control1: CGPoint(x: 2.241, y: 3.048), control2: CGPoint(x: 2.359, y: 3))
        p.addCurve(to: CGPoint(x: 5.008, y: 2.596), control1: CGPoint(x: 3.471, y: 3), control2: CGPoint(x: 4.307, y: 2.865))
        p.addCurve(to: CGPoint(x: 7.146, y: 1.146), control1: CGPoint(x: 5.754, y: 2.309), control2: CGPoint(x: 6.467, y: 1.826))
        p.addCurve(to: CGPoint(x: 7.5, y: 1), control1: CGPoint(x: 7.244, y: 1.049), control2: CGPoint(x: 7.362, y: 1))
        p.addCurve(to: CGPoint(x: 7.854, y: 1.146), control1: CGPoint(x: 7.638, y: 1), control2: CGPoint(x: 7.756, y: 1.049))
        p.addCurve(to: CGPoint(x: 9.992, y: 2.596), control1: CGPoint(x: 8.533, y: 1.826), control2: CGPoint(x: 9.246, y: 2.309))
        p.addCurve(to: CGPoint(x: 12.5, y: 3), control1: CGPoint(x: 10.693, y: 2.865), control2: CGPoint(x: 11.529, y: 3))
        p.addCurve(to: CGPoint(x: 12.856, y: 3.144), control1: CGPoint(x: 12.641, y: 3), control2: CGPoint(x: 12.759, y: 3.048))
        p.addCurve(to: CGPoint(x: 13, y: 3.5), control1: CGPoint(x: 12.952, y: 3.241), control2: CGPoint(x: 13, y: 3.359))
        p.addLine(to: CGPoint(x: 13, y: 6.5))
        p.addCurve(to: CGPoint(x: 12.856, y: 6.856), control1: CGPoint(x: 13, y: 6.641), control2: CGPoint(x: 12.952, y: 6.759))
        p.addCurve(to: CGPoint(x: 12.5, y: 7), control1: CGPoint(x: 12.759, y: 6.952), control2: CGPoint(x: 12.641, y: 7))
        p.addCurve(to: CGPoint(x: 12.144, y: 6.856), control1: CGPoint(x: 12.359, y: 7), control2: CGPoint(x: 12.241, y: 6.952))
        p.addCurve(to: CGPoint(x: 12, y: 6.5), control1: CGPoint(x: 12.048, y: 6.759), control2: CGPoint(x: 12, y: 6.641))
        p.addLine(to: CGPoint(x: 12, y: 3.989))
        p.addCurve(to: CGPoint(x: 9.633, y: 3.529), control1: CGPoint(x: 11.111, y: 3.947), control2: CGPoint(x: 10.322, y: 3.794))
        p.addCurve(to: CGPoint(x: 7.5, y: 2.189), control1: CGPoint(x: 8.886, y: 3.242), control2: CGPoint(x: 8.175, y: 2.795))
        p.addCurve(to: CGPoint(x: 5.367, y: 3.529), control1: CGPoint(x: 6.825, y: 2.795), control2: CGPoint(x: 6.114, y: 3.242))
        p.addCurve(to: CGPoint(x: 3, y: 3.989), control1: CGPoint(x: 4.678, y: 3.794), control2: CGPoint(x: 3.889, y: 3.947))
        p.addLine(to: CGPoint(x: 3, y: 8.5))
        p.addCurve(to: CGPoint(x: 4.114, y: 11.548), control1: CGPoint(x: 3, y: 9.607), control2: CGPoint(x: 3.371, y: 10.623))
        p.addCurve(to: CGPoint(x: 6.788, y: 13.629), control1: CGPoint(x: 4.767, y: 12.361), control2: CGPoint(x: 5.659, y: 13.055))
        p.addCurve(to: CGPoint(x: 7.037, y: 13.92), control1: CGPoint(x: 6.911, y: 13.692), control2: CGPoint(x: 6.994, y: 13.789))
        p.addCurve(to: CGPoint(x: 7.063, y: 14.067), control1: CGPoint(x: 7.053, y: 13.97), control2: CGPoint(x: 7.062, y: 14.019))
        p.addCurve(to: CGPoint(x: 7.015, y: 14.287), control1: CGPoint(x: 7.041, y: 14.139), control2: CGPoint(x: 7.025, y: 14.212))
        p.addCurve(to: CGPoint(x: 7.007, y: 14.302), control1: CGPoint(x: 7.012, y: 14.292), control2: CGPoint(x: 7.01, y: 14.297))
        p.addCurve(to: CGPoint(x: 6.717, y: 14.553), control1: CGPoint(x: 6.943, y: 14.427), control2: CGPoint(x: 6.847, y: 14.511))
        p.addCurve(to: CGPoint(x: 6.335, y: 14.521), control1: CGPoint(x: 6.588, y: 14.596), control2: CGPoint(x: 6.46, y: 14.585))
        p.addCurve(to: CGPoint(x: 3.334, y: 12.174), control1: CGPoint(x: 5.078, y: 13.881), control2: CGPoint(x: 4.078, y: 13.099))
        p.addCurve(to: CGPoint(x: 2, y: 8.5), control1: CGPoint(x: 2.445, y: 11.067), control2: CGPoint(x: 2, y: 9.842))
        p.addLine(to: CGPoint(x: 2, y: 3.5))
        p.addCurve(to: CGPoint(x: 2.144, y: 3.144), control1: CGPoint(x: 2, y: 3.359), control2: CGPoint(x: 2.048, y: 3.241))
        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))
    }
}

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

### Compose

```kotlin
// Gentleface "shield-pencil" (line-round), MIT. https://gentleface.com/icons/shield-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 ShieldPencilIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "shield-pencil", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M2.144 3.144C2.241 3.048 2.359 3 2.5 3C3.471 3 4.307 2.865 5.008 2.596C5.754 2.309 6.467 1.826 7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146C8.533 1.826 9.246 2.309 9.992 2.596C10.693 2.865 11.529 3 12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 3.989C11.111 3.947 10.322 3.794 9.633 3.529C8.886 3.242 8.175 2.795 7.5 2.189C6.825 2.795 6.114 3.242 5.367 3.529C4.678 3.794 3.889 3.947 3 3.989L3 8.5C3 9.607 3.371 10.623 4.114 11.548C4.767 12.361 5.659 13.055 6.788 13.629C6.911 13.692 6.994 13.789 7.037 13.92C7.053 13.97 7.062 14.019 7.063 14.067C7.041 14.139 7.025 14.212 7.015 14.287C7.012 14.292 7.01 14.297 7.007 14.302C6.943 14.427 6.847 14.511 6.717 14.553C6.588 14.596 6.46 14.585 6.335 14.521C5.078 13.881 4.078 13.099 3.334 12.174C2.445 11.067 2 9.842 2 8.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144ZM14 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(ShieldPencilIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_shield_pencil.xml · Gentleface "shield-pencil" (line-round), MIT. https://gentleface.com/icons/shield-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.144 3.144C2.241 3.048 2.359 3 2.5 3C3.471 3 4.307 2.865 5.008 2.596C5.754 2.309 6.467 1.826 7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146C8.533 1.826 9.246 2.309 9.992 2.596C10.693 2.865 11.529 3 12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 3.989C11.111 3.947 10.322 3.794 9.633 3.529C8.886 3.242 8.175 2.795 7.5 2.189C6.825 2.795 6.114 3.242 5.367 3.529C4.678 3.794 3.889 3.947 3 3.989L3 8.5C3 9.607 3.371 10.623 4.114 11.548C4.767 12.361 5.659 13.055 6.788 13.629C6.911 13.692 6.994 13.789 7.037 13.92C7.053 13.97 7.062 14.019 7.063 14.067C7.041 14.139 7.025 14.212 7.015 14.287C7.012 14.292 7.01 14.297 7.007 14.302C6.943 14.427 6.847 14.511 6.717 14.553C6.588 14.596 6.46 14.585 6.335 14.521C5.078 13.881 4.078 13.099 3.334 12.174C2.445 11.067 2 9.842 2 8.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144ZM14 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 "shield-pencil" (line-round), MIT. https://gentleface.com/icons/shield-pencil
import 'package:flutter/widgets.dart';

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

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

class _ShieldPencilIconPainter extends CustomPainter {
  _ShieldPencilIconPainter(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.144, 3.144)
      ..cubicTo(2.241, 3.048, 2.359, 3, 2.5, 3)
      ..cubicTo(3.471, 3, 4.307, 2.865, 5.008, 2.596)
      ..cubicTo(5.754, 2.309, 6.467, 1.826, 7.146, 1.146)
      ..cubicTo(7.244, 1.049, 7.362, 1, 7.5, 1)
      ..cubicTo(7.638, 1, 7.756, 1.049, 7.854, 1.146)
      ..cubicTo(8.533, 1.826, 9.246, 2.309, 9.992, 2.596)
      ..cubicTo(10.693, 2.865, 11.529, 3, 12.5, 3)
      ..cubicTo(12.641, 3, 12.759, 3.048, 12.856, 3.144)
      ..cubicTo(12.952, 3.241, 13, 3.359, 13, 3.5)
      ..lineTo(13, 6.5)
      ..cubicTo(13, 6.641, 12.952, 6.759, 12.856, 6.856)
      ..cubicTo(12.759, 6.952, 12.641, 7, 12.5, 7)
      ..cubicTo(12.359, 7, 12.241, 6.952, 12.144, 6.856)
      ..cubicTo(12.048, 6.759, 12, 6.641, 12, 6.5)
      ..lineTo(12, 3.989)
      ..cubicTo(11.111, 3.947, 10.322, 3.794, 9.633, 3.529)
      ..cubicTo(8.886, 3.242, 8.175, 2.795, 7.5, 2.189)
      ..cubicTo(6.825, 2.795, 6.114, 3.242, 5.367, 3.529)
      ..cubicTo(4.678, 3.794, 3.889, 3.947, 3, 3.989)
      ..lineTo(3, 8.5)
      ..cubicTo(3, 9.607, 3.371, 10.623, 4.114, 11.548)
      ..cubicTo(4.767, 12.361, 5.659, 13.055, 6.788, 13.629)
      ..cubicTo(6.911, 13.692, 6.994, 13.789, 7.037, 13.92)
      ..cubicTo(7.053, 13.97, 7.062, 14.019, 7.063, 14.067)
      ..cubicTo(7.041, 14.139, 7.025, 14.212, 7.015, 14.287)
      ..cubicTo(7.012, 14.292, 7.01, 14.297, 7.007, 14.302)
      ..cubicTo(6.943, 14.427, 6.847, 14.511, 6.717, 14.553)
      ..cubicTo(6.588, 14.596, 6.46, 14.585, 6.335, 14.521)
      ..cubicTo(5.078, 13.881, 4.078, 13.099, 3.334, 12.174)
      ..cubicTo(2.445, 11.067, 2, 9.842, 2, 8.5)
      ..lineTo(2, 3.5)
      ..cubicTo(2, 3.359, 2.048, 3.241, 2.144, 3.144)
      ..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(_ShieldPencilIconPainter old) => old.color != color;
}
```
