# needle icon

Needle. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/needle

- Category: Home & household
- Use it for: needle, sewing, sew, sewing needle, tailoring
- Tags: needle, sewing, sew, sewing-needle, tailoring, stitch, mending, craft, haberdashery, thread
- Component name: NeedleIcon
- Added: 2026-11-06
- Since: version 0.4.0
- npm: `import { NeedleIcon } from '@gentleface/react';` (@gentleface/react 0.6.0)

## Alternatives

- `syringe`: a medical needle: injection or vaccine
- `yarn`: knitting or crochet

## Also fits

- yarn: sewing

## Not for

- syringe (use `syringe`): needle is sewing

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

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

## Animated

`needle-thread`: A thread comes in from the edge and passes through the eye. The needle makes two stitches, diving point first along its length and pulling back, then the thread draws back out of the eye.

File: https://gentleface.com/motion/needle-thread.svg (line-round, 16 px). Native SVG animation that loops by itself. To play it once, run 0.25 s to 2.8 s. Patterns: https://gentleface.com/animated-icons.md

```svg
<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.001" stroke-linecap="round" stroke-linejoin="round"><g><animateTransform attributeName="transform" type="translate" dur="3.2s" repeatCount="indefinite" keyTimes="0;0.313;0.375;0.453;0.5;0.563;0.641;1" values="0 0;0 0;-1.15 1.15;0 0;0 0;-1.15 1.15;0 0;0 0" calcMode="spline" keySplines="0 0 1 1;.6 0 .9 .4;.15 .75 .25 1;0 0 1 1;.6 0 .9 .4;.15 .75 .25 1;0 0 1 1"/><path fill="currentColor" stroke="none" d="M7.856 6.41C7.904 6.268 7.952 6.048 8 5.75C8.048 5.452 8.096 5.232 8.144 5.09C8.224 4.855 8.342 4.658 8.5 4.5L11 2C11.204 1.796 11.438 1.641 11.702 1.533C11.958 1.429 12.223 1.377 12.5 1.377C12.777 1.377 13.042 1.429 13.298 1.533C13.562 1.641 13.796 1.796 14 2C14.204 2.204 14.359 2.438 14.467 2.702C14.571 2.957 14.622 3.223 14.622 3.5C14.622 3.777 14.571 4.043 14.467 4.298C14.359 4.562 14.204 4.796 14 5L11.5 7.5C11.342 7.658 11.145 7.776 10.91 7.856C10.768 7.904 10.548 7.952 10.25 8C9.952 8.048 9.732 8.096 9.59 8.144C9.355 8.224 9.158 8.342 9 8.5L6.531 10.969C6.51 10.99 6.488 11.008 6.464 11.025L3.821 12.875C3.72 12.946 3.61 12.976 3.491 12.965C3.371 12.955 3.268 12.906 3.181 12.819C3.094 12.732 3.045 12.629 3.035 12.509C3.024 12.39 3.054 12.28 3.125 12.179L4.975 9.536C4.992 9.512 5.01 9.49 5.031 9.469L7.5 7C7.658 6.842 7.776 6.645 7.856 6.41ZM13.005 3.995C13.136 3.864 13.21 3.686 13.21 3.5C13.21 3.314 13.136 3.136 13.005 3.005L12.995 2.995C12.864 2.864 12.686 2.79 12.5 2.79C12.314 2.79 12.136 2.864 12.005 2.995L9.995 5.005C9.864 5.136 9.79 5.314 9.79 5.5C9.79 5.686 9.864 5.864 9.995 5.995L10.005 6.005C10.278 6.278 10.722 6.278 10.995 6.005L13.005 3.995Z"></path><path d="M17.5 9.5C15 9.5 13.5 6.5 11.5 4.5L9 2" visibility="hidden" pathLength="1"><animate attributeName="stroke-dasharray" dur="3.2s" repeatCount="indefinite" keyTimes="0;0.094;0.266;0.719;0.859;1" values="0 2;0 2;1.05 2;1.05 2;0 2;0 2" calcMode="spline" keySplines="0 0 1 1;.15 .75 .25 1;0 0 1 1;.6 0 .25 1;0 0 1 1"/><animate attributeName="stroke-dashoffset" dur="3.2s" repeatCount="indefinite" keyTimes="0;0.094;0.266;0.719;0.859;1" values="0;0;0;0;0;0" calcMode="spline" keySplines="0 0 1 1;.15 .75 .25 1;0 0 1 1;.6 0 .25 1;0 0 1 1"/><animate attributeName="visibility" calcMode="discrete" dur="3.2s" repeatCount="indefinite" keyTimes="0;0.094;0.859" values="hidden;visible;hidden"/></path></g></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="M7.856 6.41C7.904 6.268 7.952 6.048 8 5.75C8.048 5.452 8.096 5.232 8.144 5.09C8.224 4.855 8.342 4.658 8.5 4.5L11 2C11.204 1.796 11.438 1.641 11.702 1.533C11.958 1.429 12.223 1.377 12.5 1.377C12.777 1.377 13.042 1.429 13.298 1.533C13.562 1.641 13.796 1.796 14 2C14.204 2.204 14.359 2.438 14.467 2.702C14.571 2.957 14.622 3.223 14.622 3.5C14.622 3.777 14.571 4.043 14.467 4.298C14.359 4.562 14.204 4.796 14 5L11.5 7.5C11.342 7.658 11.145 7.776 10.91 7.856C10.768 7.904 10.548 7.952 10.25 8C9.952 8.048 9.732 8.096 9.59 8.144C9.355 8.224 9.158 8.342 9 8.5L6.531 10.969C6.51 10.99 6.488 11.008 6.464 11.025L3.821 12.875C3.72 12.946 3.61 12.976 3.491 12.965C3.371 12.955 3.268 12.906 3.181 12.819C3.094 12.732 3.045 12.629 3.035 12.509C3.024 12.39 3.054 12.28 3.125 12.179L4.975 9.536C4.992 9.512 5.01 9.49 5.031 9.469L7.5 7C7.658 6.842 7.776 6.645 7.856 6.41ZM13.005 3.995C13.136 3.864 13.21 3.686 13.21 3.5C13.21 3.314 13.136 3.136 13.005 3.005L12.995 2.995C12.864 2.864 12.686 2.79 12.5 2.79C12.314 2.79 12.136 2.864 12.005 2.995L9.995 5.005C9.864 5.136 9.79 5.314 9.79 5.5C9.79 5.686 9.864 5.864 9.995 5.995L10.005 6.005C10.278 6.278 10.722 6.278 10.995 6.005L13.005 3.995Z"/></svg>
```

### React

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

export function NeedleIcon(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="M7.856 6.41C7.904 6.268 7.952 6.048 8 5.75C8.048 5.452 8.096 5.232 8.144 5.09C8.224 4.855 8.342 4.658 8.5 4.5L11 2C11.204 1.796 11.438 1.641 11.702 1.533C11.958 1.429 12.223 1.377 12.5 1.377C12.777 1.377 13.042 1.429 13.298 1.533C13.562 1.641 13.796 1.796 14 2C14.204 2.204 14.359 2.438 14.467 2.702C14.571 2.957 14.622 3.223 14.622 3.5C14.622 3.777 14.571 4.043 14.467 4.298C14.359 4.562 14.204 4.796 14 5L11.5 7.5C11.342 7.658 11.145 7.776 10.91 7.856C10.768 7.904 10.548 7.952 10.25 8C9.952 8.048 9.732 8.096 9.59 8.144C9.355 8.224 9.158 8.342 9 8.5L6.531 10.969C6.51 10.99 6.488 11.008 6.464 11.025L3.821 12.875C3.72 12.946 3.61 12.976 3.491 12.965C3.371 12.955 3.268 12.906 3.181 12.819C3.094 12.732 3.045 12.629 3.035 12.509C3.024 12.39 3.054 12.28 3.125 12.179L4.975 9.536C4.992 9.512 5.01 9.49 5.031 9.469L7.5 7C7.658 6.842 7.776 6.645 7.856 6.41ZM13.005 3.995C13.136 3.864 13.21 3.686 13.21 3.5C13.21 3.314 13.136 3.136 13.005 3.005L12.995 2.995C12.864 2.864 12.686 2.79 12.5 2.79C12.314 2.79 12.136 2.864 12.005 2.995L9.995 5.005C9.864 5.136 9.79 5.314 9.79 5.5C9.79 5.686 9.864 5.864 9.995 5.995L10.005 6.005C10.278 6.278 10.722 6.278 10.995 6.005L13.005 3.995Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "needle" (line-round), MIT. https://gentleface.com/icons/needle -->
<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="M7.856 6.41C7.904 6.268 7.952 6.048 8 5.75C8.048 5.452 8.096 5.232 8.144 5.09C8.224 4.855 8.342 4.658 8.5 4.5L11 2C11.204 1.796 11.438 1.641 11.702 1.533C11.958 1.429 12.223 1.377 12.5 1.377C12.777 1.377 13.042 1.429 13.298 1.533C13.562 1.641 13.796 1.796 14 2C14.204 2.204 14.359 2.438 14.467 2.702C14.571 2.957 14.622 3.223 14.622 3.5C14.622 3.777 14.571 4.043 14.467 4.298C14.359 4.562 14.204 4.796 14 5L11.5 7.5C11.342 7.658 11.145 7.776 10.91 7.856C10.768 7.904 10.548 7.952 10.25 8C9.952 8.048 9.732 8.096 9.59 8.144C9.355 8.224 9.158 8.342 9 8.5L6.531 10.969C6.51 10.99 6.488 11.008 6.464 11.025L3.821 12.875C3.72 12.946 3.61 12.976 3.491 12.965C3.371 12.955 3.268 12.906 3.181 12.819C3.094 12.732 3.045 12.629 3.035 12.509C3.024 12.39 3.054 12.28 3.125 12.179L4.975 9.536C4.992 9.512 5.01 9.49 5.031 9.469L7.5 7C7.658 6.842 7.776 6.645 7.856 6.41ZM13.005 3.995C13.136 3.864 13.21 3.686 13.21 3.5C13.21 3.314 13.136 3.136 13.005 3.005L12.995 2.995C12.864 2.864 12.686 2.79 12.5 2.79C12.314 2.79 12.136 2.864 12.005 2.995L9.995 5.005C9.864 5.136 9.79 5.314 9.79 5.5C9.79 5.686 9.864 5.864 9.995 5.995L10.005 6.005C10.278 6.278 10.722 6.278 10.995 6.005L13.005 3.995Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "needle" (line-round), MIT. https://gentleface.com/icons/needle -->
<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="M7.856 6.41C7.904 6.268 7.952 6.048 8 5.75C8.048 5.452 8.096 5.232 8.144 5.09C8.224 4.855 8.342 4.658 8.5 4.5L11 2C11.204 1.796 11.438 1.641 11.702 1.533C11.958 1.429 12.223 1.377 12.5 1.377C12.777 1.377 13.042 1.429 13.298 1.533C13.562 1.641 13.796 1.796 14 2C14.204 2.204 14.359 2.438 14.467 2.702C14.571 2.957 14.622 3.223 14.622 3.5C14.622 3.777 14.571 4.043 14.467 4.298C14.359 4.562 14.204 4.796 14 5L11.5 7.5C11.342 7.658 11.145 7.776 10.91 7.856C10.768 7.904 10.548 7.952 10.25 8C9.952 8.048 9.732 8.096 9.59 8.144C9.355 8.224 9.158 8.342 9 8.5L6.531 10.969C6.51 10.99 6.488 11.008 6.464 11.025L3.821 12.875C3.72 12.946 3.61 12.976 3.491 12.965C3.371 12.955 3.268 12.906 3.181 12.819C3.094 12.732 3.045 12.629 3.035 12.509C3.024 12.39 3.054 12.28 3.125 12.179L4.975 9.536C4.992 9.512 5.01 9.49 5.031 9.469L7.5 7C7.658 6.842 7.776 6.645 7.856 6.41ZM13.005 3.995C13.136 3.864 13.21 3.686 13.21 3.5C13.21 3.314 13.136 3.136 13.005 3.005L12.995 2.995C12.864 2.864 12.686 2.79 12.5 2.79C12.314 2.79 12.136 2.864 12.005 2.995L9.995 5.005C9.864 5.136 9.79 5.314 9.79 5.5C9.79 5.686 9.864 5.864 9.995 5.995L10.005 6.005C10.278 6.278 10.722 6.278 10.995 6.005L13.005 3.995Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "needle" (line-round), MIT. https://gentleface.com/icons/needle. Takes the text color. */
.icon-needle {
  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='M7.856 6.41C7.904 6.268 7.952 6.048 8 5.75C8.048 5.452 8.096 5.232 8.144 5.09C8.224 4.855 8.342 4.658 8.5 4.5L11 2C11.204 1.796 11.438 1.641 11.702 1.533C11.958 1.429 12.223 1.377 12.5 1.377C12.777 1.377 13.042 1.429 13.298 1.533C13.562 1.641 13.796 1.796 14 2C14.204 2.204 14.359 2.438 14.467 2.702C14.571 2.957 14.622 3.223 14.622 3.5C14.622 3.777 14.571 4.043 14.467 4.298C14.359 4.562 14.204 4.796 14 5L11.5 7.5C11.342 7.658 11.145 7.776 10.91 7.856C10.768 7.904 10.548 7.952 10.25 8C9.952 8.048 9.732 8.096 9.59 8.144C9.355 8.224 9.158 8.342 9 8.5L6.531 10.969C6.51 10.99 6.488 11.008 6.464 11.025L3.821 12.875C3.72 12.946 3.61 12.976 3.491 12.965C3.371 12.955 3.268 12.906 3.181 12.819C3.094 12.732 3.045 12.629 3.035 12.509C3.024 12.39 3.054 12.28 3.125 12.179L4.975 9.536C4.992 9.512 5.01 9.49 5.031 9.469L7.5 7C7.658 6.842 7.776 6.645 7.856 6.41ZM13.005 3.995C13.136 3.864 13.21 3.686 13.21 3.5C13.21 3.314 13.136 3.136 13.005 3.005L12.995 2.995C12.864 2.864 12.686 2.79 12.5 2.79C12.314 2.79 12.136 2.864 12.005 2.995L9.995 5.005C9.864 5.136 9.79 5.314 9.79 5.5C9.79 5.686 9.864 5.864 9.995 5.995L10.005 6.005C10.278 6.278 10.722 6.278 10.995 6.005L13.005 3.995Z'/%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='M7.856 6.41C7.904 6.268 7.952 6.048 8 5.75C8.048 5.452 8.096 5.232 8.144 5.09C8.224 4.855 8.342 4.658 8.5 4.5L11 2C11.204 1.796 11.438 1.641 11.702 1.533C11.958 1.429 12.223 1.377 12.5 1.377C12.777 1.377 13.042 1.429 13.298 1.533C13.562 1.641 13.796 1.796 14 2C14.204 2.204 14.359 2.438 14.467 2.702C14.571 2.957 14.622 3.223 14.622 3.5C14.622 3.777 14.571 4.043 14.467 4.298C14.359 4.562 14.204 4.796 14 5L11.5 7.5C11.342 7.658 11.145 7.776 10.91 7.856C10.768 7.904 10.548 7.952 10.25 8C9.952 8.048 9.732 8.096 9.59 8.144C9.355 8.224 9.158 8.342 9 8.5L6.531 10.969C6.51 10.99 6.488 11.008 6.464 11.025L3.821 12.875C3.72 12.946 3.61 12.976 3.491 12.965C3.371 12.955 3.268 12.906 3.181 12.819C3.094 12.732 3.045 12.629 3.035 12.509C3.024 12.39 3.054 12.28 3.125 12.179L4.975 9.536C4.992 9.512 5.01 9.49 5.031 9.469L7.5 7C7.658 6.842 7.776 6.645 7.856 6.41ZM13.005 3.995C13.136 3.864 13.21 3.686 13.21 3.5C13.21 3.314 13.136 3.136 13.005 3.005L12.995 2.995C12.864 2.864 12.686 2.79 12.5 2.79C12.314 2.79 12.136 2.864 12.005 2.995L9.995 5.005C9.864 5.136 9.79 5.314 9.79 5.5C9.79 5.686 9.864 5.864 9.995 5.995L10.005 6.005C10.278 6.278 10.722 6.278 10.995 6.005L13.005 3.995Z'/%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='M7.856 6.41C7.904 6.268 7.952 6.048 8 5.75C8.048 5.452 8.096 5.232 8.144 5.09C8.224 4.855 8.342 4.658 8.5 4.5L11 2C11.204 1.796 11.438 1.641 11.702 1.533C11.958 1.429 12.223 1.377 12.5 1.377C12.777 1.377 13.042 1.429 13.298 1.533C13.562 1.641 13.796 1.796 14 2C14.204 2.204 14.359 2.438 14.467 2.702C14.571 2.957 14.622 3.223 14.622 3.5C14.622 3.777 14.571 4.043 14.467 4.298C14.359 4.562 14.204 4.796 14 5L11.5 7.5C11.342 7.658 11.145 7.776 10.91 7.856C10.768 7.904 10.548 7.952 10.25 8C9.952 8.048 9.732 8.096 9.59 8.144C9.355 8.224 9.158 8.342 9 8.5L6.531 10.969C6.51 10.99 6.488 11.008 6.464 11.025L3.821 12.875C3.72 12.946 3.61 12.976 3.491 12.965C3.371 12.955 3.268 12.906 3.181 12.819C3.094 12.732 3.045 12.629 3.035 12.509C3.024 12.39 3.054 12.28 3.125 12.179L4.975 9.536C4.992 9.512 5.01 9.49 5.031 9.469L7.5 7C7.658 6.842 7.776 6.645 7.856 6.41ZM13.005 3.995C13.136 3.864 13.21 3.686 13.21 3.5C13.21 3.314 13.136 3.136 13.005 3.005L12.995 2.995C12.864 2.864 12.686 2.79 12.5 2.79C12.314 2.79 12.136 2.864 12.005 2.995L9.995 5.005C9.864 5.136 9.79 5.314 9.79 5.5C9.79 5.686 9.864 5.864 9.995 5.995L10.005 6.005C10.278 6.278 10.722 6.278 10.995 6.005L13.005 3.995Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct NeedleIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 7.856, y: 6.41))
        p.addCurve(to: CGPoint(x: 8, y: 5.75), control1: CGPoint(x: 7.904, y: 6.268), control2: CGPoint(x: 7.952, y: 6.048))
        p.addCurve(to: CGPoint(x: 8.144, y: 5.09), control1: CGPoint(x: 8.048, y: 5.452), control2: CGPoint(x: 8.096, y: 5.232))
        p.addCurve(to: CGPoint(x: 8.5, y: 4.5), control1: CGPoint(x: 8.224, y: 4.855), control2: CGPoint(x: 8.342, y: 4.658))
        p.addLine(to: CGPoint(x: 11, y: 2))
        p.addCurve(to: CGPoint(x: 11.702, y: 1.533), control1: CGPoint(x: 11.204, y: 1.796), control2: CGPoint(x: 11.438, y: 1.641))
        p.addCurve(to: CGPoint(x: 12.5, y: 1.377), control1: CGPoint(x: 11.958, y: 1.429), control2: CGPoint(x: 12.223, y: 1.377))
        p.addCurve(to: CGPoint(x: 13.298, y: 1.533), control1: CGPoint(x: 12.777, y: 1.377), control2: CGPoint(x: 13.042, y: 1.429))
        p.addCurve(to: CGPoint(x: 14, y: 2), control1: CGPoint(x: 13.562, y: 1.641), control2: CGPoint(x: 13.796, y: 1.796))
        p.addCurve(to: CGPoint(x: 14.467, y: 2.702), control1: CGPoint(x: 14.204, y: 2.204), control2: CGPoint(x: 14.359, y: 2.438))
        p.addCurve(to: CGPoint(x: 14.622, y: 3.5), control1: CGPoint(x: 14.571, y: 2.957), control2: CGPoint(x: 14.622, y: 3.223))
        p.addCurve(to: CGPoint(x: 14.467, y: 4.298), control1: CGPoint(x: 14.622, y: 3.777), control2: CGPoint(x: 14.571, y: 4.043))
        p.addCurve(to: CGPoint(x: 14, y: 5), control1: CGPoint(x: 14.359, y: 4.562), control2: CGPoint(x: 14.204, y: 4.796))
        p.addLine(to: CGPoint(x: 11.5, y: 7.5))
        p.addCurve(to: CGPoint(x: 10.91, y: 7.856), control1: CGPoint(x: 11.342, y: 7.658), control2: CGPoint(x: 11.145, y: 7.776))
        p.addCurve(to: CGPoint(x: 10.25, y: 8), control1: CGPoint(x: 10.768, y: 7.904), control2: CGPoint(x: 10.548, y: 7.952))
        p.addCurve(to: CGPoint(x: 9.59, y: 8.144), control1: CGPoint(x: 9.952, y: 8.048), control2: CGPoint(x: 9.732, y: 8.096))
        p.addCurve(to: CGPoint(x: 9, y: 8.5), control1: CGPoint(x: 9.355, y: 8.224), control2: CGPoint(x: 9.158, y: 8.342))
        p.addLine(to: CGPoint(x: 6.531, y: 10.969))
        p.addCurve(to: CGPoint(x: 6.464, y: 11.025), control1: CGPoint(x: 6.51, y: 10.99), control2: CGPoint(x: 6.488, y: 11.008))
        p.addLine(to: CGPoint(x: 3.821, y: 12.875))
        p.addCurve(to: CGPoint(x: 3.491, y: 12.965), control1: CGPoint(x: 3.72, y: 12.946), control2: CGPoint(x: 3.61, y: 12.976))
        p.addCurve(to: CGPoint(x: 3.181, y: 12.819), control1: CGPoint(x: 3.371, y: 12.955), control2: CGPoint(x: 3.268, y: 12.906))
        p.addCurve(to: CGPoint(x: 3.035, y: 12.509), control1: CGPoint(x: 3.094, y: 12.732), control2: CGPoint(x: 3.045, y: 12.629))
        p.addCurve(to: CGPoint(x: 3.125, y: 12.179), control1: CGPoint(x: 3.024, y: 12.39), control2: CGPoint(x: 3.054, y: 12.28))
        p.addLine(to: CGPoint(x: 4.975, y: 9.536))
        p.addCurve(to: CGPoint(x: 5.031, y: 9.469), control1: CGPoint(x: 4.992, y: 9.512), control2: CGPoint(x: 5.01, y: 9.49))
        p.addLine(to: CGPoint(x: 7.5, y: 7))
        p.addCurve(to: CGPoint(x: 7.856, y: 6.41), control1: CGPoint(x: 7.658, y: 6.842), control2: CGPoint(x: 7.776, y: 6.645))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13.005, y: 3.995))
        p.addCurve(to: CGPoint(x: 13.21, y: 3.5), control1: CGPoint(x: 13.136, y: 3.864), control2: CGPoint(x: 13.21, y: 3.686))
        p.addCurve(to: CGPoint(x: 13.005, y: 3.005), control1: CGPoint(x: 13.21, y: 3.314), control2: CGPoint(x: 13.136, y: 3.136))
        p.addLine(to: CGPoint(x: 12.995, y: 2.995))
        p.addCurve(to: CGPoint(x: 12.5, y: 2.79), control1: CGPoint(x: 12.864, y: 2.864), control2: CGPoint(x: 12.686, y: 2.79))
        p.addCurve(to: CGPoint(x: 12.005, y: 2.995), control1: CGPoint(x: 12.314, y: 2.79), control2: CGPoint(x: 12.136, y: 2.864))
        p.addLine(to: CGPoint(x: 9.995, y: 5.005))
        p.addCurve(to: CGPoint(x: 9.79, y: 5.5), control1: CGPoint(x: 9.864, y: 5.136), control2: CGPoint(x: 9.79, y: 5.314))
        p.addCurve(to: CGPoint(x: 9.995, y: 5.995), control1: CGPoint(x: 9.79, y: 5.686), control2: CGPoint(x: 9.864, y: 5.864))
        p.addLine(to: CGPoint(x: 10.005, y: 6.005))
        p.addCurve(to: CGPoint(x: 10.995, y: 6.005), control1: CGPoint(x: 10.278, y: 6.278), control2: CGPoint(x: 10.722, y: 6.278))
        p.addLine(to: CGPoint(x: 13.005, y: 3.995))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "needle" (line-round), MIT. https://gentleface.com/icons/needle
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 NeedleIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "needle", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M7.856 6.41C7.904 6.268 7.952 6.048 8 5.75C8.048 5.452 8.096 5.232 8.144 5.09C8.224 4.855 8.342 4.658 8.5 4.5L11 2C11.204 1.796 11.438 1.641 11.702 1.533C11.958 1.429 12.223 1.377 12.5 1.377C12.777 1.377 13.042 1.429 13.298 1.533C13.562 1.641 13.796 1.796 14 2C14.204 2.204 14.359 2.438 14.467 2.702C14.571 2.957 14.622 3.223 14.622 3.5C14.622 3.777 14.571 4.043 14.467 4.298C14.359 4.562 14.204 4.796 14 5L11.5 7.5C11.342 7.658 11.145 7.776 10.91 7.856C10.768 7.904 10.548 7.952 10.25 8C9.952 8.048 9.732 8.096 9.59 8.144C9.355 8.224 9.158 8.342 9 8.5L6.531 10.969C6.51 10.99 6.488 11.008 6.464 11.025L3.821 12.875C3.72 12.946 3.61 12.976 3.491 12.965C3.371 12.955 3.268 12.906 3.181 12.819C3.094 12.732 3.045 12.629 3.035 12.509C3.024 12.39 3.054 12.28 3.125 12.179L4.975 9.536C4.992 9.512 5.01 9.49 5.031 9.469L7.5 7C7.658 6.842 7.776 6.645 7.856 6.41ZM13.005 3.995C13.136 3.864 13.21 3.686 13.21 3.5C13.21 3.314 13.136 3.136 13.005 3.005L12.995 2.995C12.864 2.864 12.686 2.79 12.5 2.79C12.314 2.79 12.136 2.864 12.005 2.995L9.995 5.005C9.864 5.136 9.79 5.314 9.79 5.5C9.79 5.686 9.864 5.864 9.995 5.995L10.005 6.005C10.278 6.278 10.722 6.278 10.995 6.005L13.005 3.995Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_needle.xml · Gentleface "needle" (line-round), MIT. https://gentleface.com/icons/needle -->
<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="M7.856 6.41C7.904 6.268 7.952 6.048 8 5.75C8.048 5.452 8.096 5.232 8.144 5.09C8.224 4.855 8.342 4.658 8.5 4.5L11 2C11.204 1.796 11.438 1.641 11.702 1.533C11.958 1.429 12.223 1.377 12.5 1.377C12.777 1.377 13.042 1.429 13.298 1.533C13.562 1.641 13.796 1.796 14 2C14.204 2.204 14.359 2.438 14.467 2.702C14.571 2.957 14.622 3.223 14.622 3.5C14.622 3.777 14.571 4.043 14.467 4.298C14.359 4.562 14.204 4.796 14 5L11.5 7.5C11.342 7.658 11.145 7.776 10.91 7.856C10.768 7.904 10.548 7.952 10.25 8C9.952 8.048 9.732 8.096 9.59 8.144C9.355 8.224 9.158 8.342 9 8.5L6.531 10.969C6.51 10.99 6.488 11.008 6.464 11.025L3.821 12.875C3.72 12.946 3.61 12.976 3.491 12.965C3.371 12.955 3.268 12.906 3.181 12.819C3.094 12.732 3.045 12.629 3.035 12.509C3.024 12.39 3.054 12.28 3.125 12.179L4.975 9.536C4.992 9.512 5.01 9.49 5.031 9.469L7.5 7C7.658 6.842 7.776 6.645 7.856 6.41ZM13.005 3.995C13.136 3.864 13.21 3.686 13.21 3.5C13.21 3.314 13.136 3.136 13.005 3.005L12.995 2.995C12.864 2.864 12.686 2.79 12.5 2.79C12.314 2.79 12.136 2.864 12.005 2.995L9.995 5.005C9.864 5.136 9.79 5.314 9.79 5.5C9.79 5.686 9.864 5.864 9.995 5.995L10.005 6.005C10.278 6.278 10.722 6.278 10.995 6.005L13.005 3.995Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(7.856, 6.41)
      ..cubicTo(7.904, 6.268, 7.952, 6.048, 8, 5.75)
      ..cubicTo(8.048, 5.452, 8.096, 5.232, 8.144, 5.09)
      ..cubicTo(8.224, 4.855, 8.342, 4.658, 8.5, 4.5)
      ..lineTo(11, 2)
      ..cubicTo(11.204, 1.796, 11.438, 1.641, 11.702, 1.533)
      ..cubicTo(11.958, 1.429, 12.223, 1.377, 12.5, 1.377)
      ..cubicTo(12.777, 1.377, 13.042, 1.429, 13.298, 1.533)
      ..cubicTo(13.562, 1.641, 13.796, 1.796, 14, 2)
      ..cubicTo(14.204, 2.204, 14.359, 2.438, 14.467, 2.702)
      ..cubicTo(14.571, 2.957, 14.622, 3.223, 14.622, 3.5)
      ..cubicTo(14.622, 3.777, 14.571, 4.043, 14.467, 4.298)
      ..cubicTo(14.359, 4.562, 14.204, 4.796, 14, 5)
      ..lineTo(11.5, 7.5)
      ..cubicTo(11.342, 7.658, 11.145, 7.776, 10.91, 7.856)
      ..cubicTo(10.768, 7.904, 10.548, 7.952, 10.25, 8)
      ..cubicTo(9.952, 8.048, 9.732, 8.096, 9.59, 8.144)
      ..cubicTo(9.355, 8.224, 9.158, 8.342, 9, 8.5)
      ..lineTo(6.531, 10.969)
      ..cubicTo(6.51, 10.99, 6.488, 11.008, 6.464, 11.025)
      ..lineTo(3.821, 12.875)
      ..cubicTo(3.72, 12.946, 3.61, 12.976, 3.491, 12.965)
      ..cubicTo(3.371, 12.955, 3.268, 12.906, 3.181, 12.819)
      ..cubicTo(3.094, 12.732, 3.045, 12.629, 3.035, 12.509)
      ..cubicTo(3.024, 12.39, 3.054, 12.28, 3.125, 12.179)
      ..lineTo(4.975, 9.536)
      ..cubicTo(4.992, 9.512, 5.01, 9.49, 5.031, 9.469)
      ..lineTo(7.5, 7)
      ..cubicTo(7.658, 6.842, 7.776, 6.645, 7.856, 6.41)
      ..close()
      ..moveTo(13.005, 3.995)
      ..cubicTo(13.136, 3.864, 13.21, 3.686, 13.21, 3.5)
      ..cubicTo(13.21, 3.314, 13.136, 3.136, 13.005, 3.005)
      ..lineTo(12.995, 2.995)
      ..cubicTo(12.864, 2.864, 12.686, 2.79, 12.5, 2.79)
      ..cubicTo(12.314, 2.79, 12.136, 2.864, 12.005, 2.995)
      ..lineTo(9.995, 5.005)
      ..cubicTo(9.864, 5.136, 9.79, 5.314, 9.79, 5.5)
      ..cubicTo(9.79, 5.686, 9.864, 5.864, 9.995, 5.995)
      ..lineTo(10.005, 6.005)
      ..cubicTo(10.278, 6.278, 10.722, 6.278, 10.995, 6.005)
      ..lineTo(13.005, 3.995)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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