# sock icon

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

- Category: Shopping
- Use it for: socks, hosiery
- Tags: sock, socks, clothing, apparel, garment, laundry, christmas, footwear, hosiery
- Component name: SockIcon
- Added: 2026-10-16

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

The SVG of every style: https://gentleface.com/icons/sock.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="M10.146 5.233C10.243 5.467 10.381 5.674 10.561 5.854L12.854 8.146C13.15 8.443 13.376 8.806 13.532 9.235C13.677 9.634 13.75 10.056 13.75 10.5C13.75 10.944 13.677 11.366 13.532 11.765C13.376 12.194 13.15 12.557 12.854 12.854C12.557 13.15 12.194 13.376 11.765 13.532C11.366 13.677 10.944 13.75 10.5 13.75C10.056 13.75 9.634 13.677 9.235 13.532C8.806 13.376 8.443 13.15 8.146 12.854L3.854 8.561C3.58 8.287 3.37 7.972 3.222 7.615C3.074 7.258 3 6.886 3 6.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L8 1C8.254 1 8.5 1.047 8.736 1.14C8.993 1.242 9.219 1.391 9.414 1.586C9.609 1.781 9.758 2.007 9.86 2.264C9.953 2.5 10 2.746 10 3L10 4.5C10 4.754 10.049 4.998 10.146 5.233ZM8.707 2.293C8.512 2.098 8.276 2 8 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L9 3C9 2.724 8.902 2.488 8.707 2.293ZM4.146 7.233C4.243 7.467 4.381 7.674 4.561 7.854L8.854 12.146C9.045 12.338 9.287 12.487 9.577 12.593C9.866 12.698 10.173 12.75 10.5 12.75C10.827 12.75 11.134 12.698 11.423 12.593C11.713 12.487 11.955 12.338 12.146 12.146C12.338 11.955 12.487 11.713 12.593 11.423C12.698 11.134 12.75 10.827 12.75 10.5C12.75 10.173 12.698 9.866 12.593 9.577C12.487 9.287 12.338 9.045 12.146 8.854L9.854 6.561C9.58 6.287 9.37 5.972 9.222 5.615C9.074 5.258 9 4.886 9 4.5L9 4L4 4L4 6.5C4 6.754 4.049 6.998 4.146 7.233Z"/></svg>
```

### React

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

export function SockIcon(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="M10.146 5.233C10.243 5.467 10.381 5.674 10.561 5.854L12.854 8.146C13.15 8.443 13.376 8.806 13.532 9.235C13.677 9.634 13.75 10.056 13.75 10.5C13.75 10.944 13.677 11.366 13.532 11.765C13.376 12.194 13.15 12.557 12.854 12.854C12.557 13.15 12.194 13.376 11.765 13.532C11.366 13.677 10.944 13.75 10.5 13.75C10.056 13.75 9.634 13.677 9.235 13.532C8.806 13.376 8.443 13.15 8.146 12.854L3.854 8.561C3.58 8.287 3.37 7.972 3.222 7.615C3.074 7.258 3 6.886 3 6.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L8 1C8.254 1 8.5 1.047 8.736 1.14C8.993 1.242 9.219 1.391 9.414 1.586C9.609 1.781 9.758 2.007 9.86 2.264C9.953 2.5 10 2.746 10 3L10 4.5C10 4.754 10.049 4.998 10.146 5.233ZM8.707 2.293C8.512 2.098 8.276 2 8 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L9 3C9 2.724 8.902 2.488 8.707 2.293ZM4.146 7.233C4.243 7.467 4.381 7.674 4.561 7.854L8.854 12.146C9.045 12.338 9.287 12.487 9.577 12.593C9.866 12.698 10.173 12.75 10.5 12.75C10.827 12.75 11.134 12.698 11.423 12.593C11.713 12.487 11.955 12.338 12.146 12.146C12.338 11.955 12.487 11.713 12.593 11.423C12.698 11.134 12.75 10.827 12.75 10.5C12.75 10.173 12.698 9.866 12.593 9.577C12.487 9.287 12.338 9.045 12.146 8.854L9.854 6.561C9.58 6.287 9.37 5.972 9.222 5.615C9.074 5.258 9 4.886 9 4.5L9 4L4 4L4 6.5C4 6.754 4.049 6.998 4.146 7.233Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "sock" (line-round), MIT. https://gentleface.com/icons/sock -->
<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="M10.146 5.233C10.243 5.467 10.381 5.674 10.561 5.854L12.854 8.146C13.15 8.443 13.376 8.806 13.532 9.235C13.677 9.634 13.75 10.056 13.75 10.5C13.75 10.944 13.677 11.366 13.532 11.765C13.376 12.194 13.15 12.557 12.854 12.854C12.557 13.15 12.194 13.376 11.765 13.532C11.366 13.677 10.944 13.75 10.5 13.75C10.056 13.75 9.634 13.677 9.235 13.532C8.806 13.376 8.443 13.15 8.146 12.854L3.854 8.561C3.58 8.287 3.37 7.972 3.222 7.615C3.074 7.258 3 6.886 3 6.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L8 1C8.254 1 8.5 1.047 8.736 1.14C8.993 1.242 9.219 1.391 9.414 1.586C9.609 1.781 9.758 2.007 9.86 2.264C9.953 2.5 10 2.746 10 3L10 4.5C10 4.754 10.049 4.998 10.146 5.233ZM8.707 2.293C8.512 2.098 8.276 2 8 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L9 3C9 2.724 8.902 2.488 8.707 2.293ZM4.146 7.233C4.243 7.467 4.381 7.674 4.561 7.854L8.854 12.146C9.045 12.338 9.287 12.487 9.577 12.593C9.866 12.698 10.173 12.75 10.5 12.75C10.827 12.75 11.134 12.698 11.423 12.593C11.713 12.487 11.955 12.338 12.146 12.146C12.338 11.955 12.487 11.713 12.593 11.423C12.698 11.134 12.75 10.827 12.75 10.5C12.75 10.173 12.698 9.866 12.593 9.577C12.487 9.287 12.338 9.045 12.146 8.854L9.854 6.561C9.58 6.287 9.37 5.972 9.222 5.615C9.074 5.258 9 4.886 9 4.5L9 4L4 4L4 6.5C4 6.754 4.049 6.998 4.146 7.233Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "sock" (line-round), MIT. https://gentleface.com/icons/sock -->
<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="M10.146 5.233C10.243 5.467 10.381 5.674 10.561 5.854L12.854 8.146C13.15 8.443 13.376 8.806 13.532 9.235C13.677 9.634 13.75 10.056 13.75 10.5C13.75 10.944 13.677 11.366 13.532 11.765C13.376 12.194 13.15 12.557 12.854 12.854C12.557 13.15 12.194 13.376 11.765 13.532C11.366 13.677 10.944 13.75 10.5 13.75C10.056 13.75 9.634 13.677 9.235 13.532C8.806 13.376 8.443 13.15 8.146 12.854L3.854 8.561C3.58 8.287 3.37 7.972 3.222 7.615C3.074 7.258 3 6.886 3 6.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L8 1C8.254 1 8.5 1.047 8.736 1.14C8.993 1.242 9.219 1.391 9.414 1.586C9.609 1.781 9.758 2.007 9.86 2.264C9.953 2.5 10 2.746 10 3L10 4.5C10 4.754 10.049 4.998 10.146 5.233ZM8.707 2.293C8.512 2.098 8.276 2 8 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L9 3C9 2.724 8.902 2.488 8.707 2.293ZM4.146 7.233C4.243 7.467 4.381 7.674 4.561 7.854L8.854 12.146C9.045 12.338 9.287 12.487 9.577 12.593C9.866 12.698 10.173 12.75 10.5 12.75C10.827 12.75 11.134 12.698 11.423 12.593C11.713 12.487 11.955 12.338 12.146 12.146C12.338 11.955 12.487 11.713 12.593 11.423C12.698 11.134 12.75 10.827 12.75 10.5C12.75 10.173 12.698 9.866 12.593 9.577C12.487 9.287 12.338 9.045 12.146 8.854L9.854 6.561C9.58 6.287 9.37 5.972 9.222 5.615C9.074 5.258 9 4.886 9 4.5L9 4L4 4L4 6.5C4 6.754 4.049 6.998 4.146 7.233Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "sock" (line-round), MIT. https://gentleface.com/icons/sock. Takes the text color. */
.icon-sock {
  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='M10.146 5.233C10.243 5.467 10.381 5.674 10.561 5.854L12.854 8.146C13.15 8.443 13.376 8.806 13.532 9.235C13.677 9.634 13.75 10.056 13.75 10.5C13.75 10.944 13.677 11.366 13.532 11.765C13.376 12.194 13.15 12.557 12.854 12.854C12.557 13.15 12.194 13.376 11.765 13.532C11.366 13.677 10.944 13.75 10.5 13.75C10.056 13.75 9.634 13.677 9.235 13.532C8.806 13.376 8.443 13.15 8.146 12.854L3.854 8.561C3.58 8.287 3.37 7.972 3.222 7.615C3.074 7.258 3 6.886 3 6.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L8 1C8.254 1 8.5 1.047 8.736 1.14C8.993 1.242 9.219 1.391 9.414 1.586C9.609 1.781 9.758 2.007 9.86 2.264C9.953 2.5 10 2.746 10 3L10 4.5C10 4.754 10.049 4.998 10.146 5.233ZM8.707 2.293C8.512 2.098 8.276 2 8 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L9 3C9 2.724 8.902 2.488 8.707 2.293ZM4.146 7.233C4.243 7.467 4.381 7.674 4.561 7.854L8.854 12.146C9.045 12.338 9.287 12.487 9.577 12.593C9.866 12.698 10.173 12.75 10.5 12.75C10.827 12.75 11.134 12.698 11.423 12.593C11.713 12.487 11.955 12.338 12.146 12.146C12.338 11.955 12.487 11.713 12.593 11.423C12.698 11.134 12.75 10.827 12.75 10.5C12.75 10.173 12.698 9.866 12.593 9.577C12.487 9.287 12.338 9.045 12.146 8.854L9.854 6.561C9.58 6.287 9.37 5.972 9.222 5.615C9.074 5.258 9 4.886 9 4.5L9 4L4 4L4 6.5C4 6.754 4.049 6.998 4.146 7.233Z'/%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='M10.146 5.233C10.243 5.467 10.381 5.674 10.561 5.854L12.854 8.146C13.15 8.443 13.376 8.806 13.532 9.235C13.677 9.634 13.75 10.056 13.75 10.5C13.75 10.944 13.677 11.366 13.532 11.765C13.376 12.194 13.15 12.557 12.854 12.854C12.557 13.15 12.194 13.376 11.765 13.532C11.366 13.677 10.944 13.75 10.5 13.75C10.056 13.75 9.634 13.677 9.235 13.532C8.806 13.376 8.443 13.15 8.146 12.854L3.854 8.561C3.58 8.287 3.37 7.972 3.222 7.615C3.074 7.258 3 6.886 3 6.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L8 1C8.254 1 8.5 1.047 8.736 1.14C8.993 1.242 9.219 1.391 9.414 1.586C9.609 1.781 9.758 2.007 9.86 2.264C9.953 2.5 10 2.746 10 3L10 4.5C10 4.754 10.049 4.998 10.146 5.233ZM8.707 2.293C8.512 2.098 8.276 2 8 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L9 3C9 2.724 8.902 2.488 8.707 2.293ZM4.146 7.233C4.243 7.467 4.381 7.674 4.561 7.854L8.854 12.146C9.045 12.338 9.287 12.487 9.577 12.593C9.866 12.698 10.173 12.75 10.5 12.75C10.827 12.75 11.134 12.698 11.423 12.593C11.713 12.487 11.955 12.338 12.146 12.146C12.338 11.955 12.487 11.713 12.593 11.423C12.698 11.134 12.75 10.827 12.75 10.5C12.75 10.173 12.698 9.866 12.593 9.577C12.487 9.287 12.338 9.045 12.146 8.854L9.854 6.561C9.58 6.287 9.37 5.972 9.222 5.615C9.074 5.258 9 4.886 9 4.5L9 4L4 4L4 6.5C4 6.754 4.049 6.998 4.146 7.233Z'/%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='M10.146 5.233C10.243 5.467 10.381 5.674 10.561 5.854L12.854 8.146C13.15 8.443 13.376 8.806 13.532 9.235C13.677 9.634 13.75 10.056 13.75 10.5C13.75 10.944 13.677 11.366 13.532 11.765C13.376 12.194 13.15 12.557 12.854 12.854C12.557 13.15 12.194 13.376 11.765 13.532C11.366 13.677 10.944 13.75 10.5 13.75C10.056 13.75 9.634 13.677 9.235 13.532C8.806 13.376 8.443 13.15 8.146 12.854L3.854 8.561C3.58 8.287 3.37 7.972 3.222 7.615C3.074 7.258 3 6.886 3 6.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L8 1C8.254 1 8.5 1.047 8.736 1.14C8.993 1.242 9.219 1.391 9.414 1.586C9.609 1.781 9.758 2.007 9.86 2.264C9.953 2.5 10 2.746 10 3L10 4.5C10 4.754 10.049 4.998 10.146 5.233ZM8.707 2.293C8.512 2.098 8.276 2 8 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L9 3C9 2.724 8.902 2.488 8.707 2.293ZM4.146 7.233C4.243 7.467 4.381 7.674 4.561 7.854L8.854 12.146C9.045 12.338 9.287 12.487 9.577 12.593C9.866 12.698 10.173 12.75 10.5 12.75C10.827 12.75 11.134 12.698 11.423 12.593C11.713 12.487 11.955 12.338 12.146 12.146C12.338 11.955 12.487 11.713 12.593 11.423C12.698 11.134 12.75 10.827 12.75 10.5C12.75 10.173 12.698 9.866 12.593 9.577C12.487 9.287 12.338 9.045 12.146 8.854L9.854 6.561C9.58 6.287 9.37 5.972 9.222 5.615C9.074 5.258 9 4.886 9 4.5L9 4L4 4L4 6.5C4 6.754 4.049 6.998 4.146 7.233Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct SockIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 10.146, y: 5.233))
        p.addCurve(to: CGPoint(x: 10.561, y: 5.854), control1: CGPoint(x: 10.243, y: 5.467), control2: CGPoint(x: 10.381, y: 5.674))
        p.addLine(to: CGPoint(x: 12.854, y: 8.146))
        p.addCurve(to: CGPoint(x: 13.532, y: 9.235), control1: CGPoint(x: 13.15, y: 8.443), control2: CGPoint(x: 13.376, y: 8.806))
        p.addCurve(to: CGPoint(x: 13.75, y: 10.5), control1: CGPoint(x: 13.677, y: 9.634), control2: CGPoint(x: 13.75, y: 10.056))
        p.addCurve(to: CGPoint(x: 13.532, y: 11.765), control1: CGPoint(x: 13.75, y: 10.944), control2: CGPoint(x: 13.677, y: 11.366))
        p.addCurve(to: CGPoint(x: 12.854, y: 12.854), control1: CGPoint(x: 13.376, y: 12.194), control2: CGPoint(x: 13.15, y: 12.557))
        p.addCurve(to: CGPoint(x: 11.765, y: 13.532), control1: CGPoint(x: 12.557, y: 13.15), control2: CGPoint(x: 12.194, y: 13.376))
        p.addCurve(to: CGPoint(x: 10.5, y: 13.75), control1: CGPoint(x: 11.366, y: 13.677), control2: CGPoint(x: 10.944, y: 13.75))
        p.addCurve(to: CGPoint(x: 9.235, y: 13.532), control1: CGPoint(x: 10.056, y: 13.75), control2: CGPoint(x: 9.634, y: 13.677))
        p.addCurve(to: CGPoint(x: 8.146, y: 12.854), control1: CGPoint(x: 8.806, y: 13.376), control2: CGPoint(x: 8.443, y: 13.15))
        p.addLine(to: CGPoint(x: 3.854, y: 8.561))
        p.addCurve(to: CGPoint(x: 3.222, y: 7.615), control1: CGPoint(x: 3.58, y: 8.287), control2: CGPoint(x: 3.37, y: 7.972))
        p.addCurve(to: CGPoint(x: 3, y: 6.5), control1: CGPoint(x: 3.074, y: 7.258), control2: CGPoint(x: 3, y: 6.886))
        p.addLine(to: CGPoint(x: 3, y: 3))
        p.addCurve(to: CGPoint(x: 3.14, y: 2.264), control1: CGPoint(x: 3, y: 2.746), control2: CGPoint(x: 3.047, y: 2.5))
        p.addCurve(to: CGPoint(x: 3.586, y: 1.586), control1: CGPoint(x: 3.242, y: 2.007), control2: CGPoint(x: 3.391, y: 1.781))
        p.addCurve(to: CGPoint(x: 4.264, y: 1.14), control1: CGPoint(x: 3.781, y: 1.391), control2: CGPoint(x: 4.007, y: 1.242))
        p.addCurve(to: CGPoint(x: 5, y: 1), control1: CGPoint(x: 4.5, y: 1.047), control2: CGPoint(x: 4.746, y: 1))
        p.addLine(to: CGPoint(x: 8, y: 1))
        p.addCurve(to: CGPoint(x: 8.736, y: 1.14), control1: CGPoint(x: 8.254, y: 1), control2: CGPoint(x: 8.5, y: 1.047))
        p.addCurve(to: CGPoint(x: 9.414, y: 1.586), control1: CGPoint(x: 8.993, y: 1.242), control2: CGPoint(x: 9.219, y: 1.391))
        p.addCurve(to: CGPoint(x: 9.86, y: 2.264), control1: CGPoint(x: 9.609, y: 1.781), control2: CGPoint(x: 9.758, y: 2.007))
        p.addCurve(to: CGPoint(x: 10, y: 3), control1: CGPoint(x: 9.953, y: 2.5), control2: CGPoint(x: 10, y: 2.746))
        p.addLine(to: CGPoint(x: 10, y: 4.5))
        p.addCurve(to: CGPoint(x: 10.146, y: 5.233), control1: CGPoint(x: 10, y: 4.754), control2: CGPoint(x: 10.049, y: 4.998))
        p.closeSubpath()
        p.move(to: CGPoint(x: 8.707, y: 2.293))
        p.addCurve(to: CGPoint(x: 8, y: 2), control1: CGPoint(x: 8.512, y: 2.098), control2: CGPoint(x: 8.276, y: 2))
        p.addLine(to: CGPoint(x: 5, y: 2))
        p.addCurve(to: CGPoint(x: 4.293, y: 2.293), control1: CGPoint(x: 4.724, y: 2), control2: CGPoint(x: 4.488, y: 2.098))
        p.addCurve(to: CGPoint(x: 4, y: 3), control1: CGPoint(x: 4.098, y: 2.488), control2: CGPoint(x: 4, y: 2.724))
        p.addLine(to: CGPoint(x: 9, y: 3))
        p.addCurve(to: CGPoint(x: 8.707, y: 2.293), control1: CGPoint(x: 9, y: 2.724), control2: CGPoint(x: 8.902, y: 2.488))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4.146, y: 7.233))
        p.addCurve(to: CGPoint(x: 4.561, y: 7.854), control1: CGPoint(x: 4.243, y: 7.467), control2: CGPoint(x: 4.381, y: 7.674))
        p.addLine(to: CGPoint(x: 8.854, y: 12.146))
        p.addCurve(to: CGPoint(x: 9.577, y: 12.593), control1: CGPoint(x: 9.045, y: 12.338), control2: CGPoint(x: 9.287, y: 12.487))
        p.addCurve(to: CGPoint(x: 10.5, y: 12.75), control1: CGPoint(x: 9.866, y: 12.698), control2: CGPoint(x: 10.173, y: 12.75))
        p.addCurve(to: CGPoint(x: 11.423, y: 12.593), control1: CGPoint(x: 10.827, y: 12.75), control2: CGPoint(x: 11.134, y: 12.698))
        p.addCurve(to: CGPoint(x: 12.146, y: 12.146), control1: CGPoint(x: 11.713, y: 12.487), control2: CGPoint(x: 11.955, y: 12.338))
        p.addCurve(to: CGPoint(x: 12.593, y: 11.423), control1: CGPoint(x: 12.338, y: 11.955), control2: CGPoint(x: 12.487, y: 11.713))
        p.addCurve(to: CGPoint(x: 12.75, y: 10.5), control1: CGPoint(x: 12.698, y: 11.134), control2: CGPoint(x: 12.75, y: 10.827))
        p.addCurve(to: CGPoint(x: 12.593, y: 9.577), control1: CGPoint(x: 12.75, y: 10.173), control2: CGPoint(x: 12.698, y: 9.866))
        p.addCurve(to: CGPoint(x: 12.146, y: 8.854), control1: CGPoint(x: 12.487, y: 9.287), control2: CGPoint(x: 12.338, y: 9.045))
        p.addLine(to: CGPoint(x: 9.854, y: 6.561))
        p.addCurve(to: CGPoint(x: 9.222, y: 5.615), control1: CGPoint(x: 9.58, y: 6.287), control2: CGPoint(x: 9.37, y: 5.972))
        p.addCurve(to: CGPoint(x: 9, y: 4.5), control1: CGPoint(x: 9.074, y: 5.258), control2: CGPoint(x: 9, y: 4.886))
        p.addLine(to: CGPoint(x: 9, y: 4))
        p.addLine(to: CGPoint(x: 4, y: 4))
        p.addLine(to: CGPoint(x: 4, y: 6.5))
        p.addCurve(to: CGPoint(x: 4.146, y: 7.233), control1: CGPoint(x: 4, y: 6.754), control2: CGPoint(x: 4.049, y: 6.998))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "sock" (line-round), MIT. https://gentleface.com/icons/sock
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 SockIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "sock", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M10.146 5.233C10.243 5.467 10.381 5.674 10.561 5.854L12.854 8.146C13.15 8.443 13.376 8.806 13.532 9.235C13.677 9.634 13.75 10.056 13.75 10.5C13.75 10.944 13.677 11.366 13.532 11.765C13.376 12.194 13.15 12.557 12.854 12.854C12.557 13.15 12.194 13.376 11.765 13.532C11.366 13.677 10.944 13.75 10.5 13.75C10.056 13.75 9.634 13.677 9.235 13.532C8.806 13.376 8.443 13.15 8.146 12.854L3.854 8.561C3.58 8.287 3.37 7.972 3.222 7.615C3.074 7.258 3 6.886 3 6.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L8 1C8.254 1 8.5 1.047 8.736 1.14C8.993 1.242 9.219 1.391 9.414 1.586C9.609 1.781 9.758 2.007 9.86 2.264C9.953 2.5 10 2.746 10 3L10 4.5C10 4.754 10.049 4.998 10.146 5.233ZM8.707 2.293C8.512 2.098 8.276 2 8 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L9 3C9 2.724 8.902 2.488 8.707 2.293ZM4.146 7.233C4.243 7.467 4.381 7.674 4.561 7.854L8.854 12.146C9.045 12.338 9.287 12.487 9.577 12.593C9.866 12.698 10.173 12.75 10.5 12.75C10.827 12.75 11.134 12.698 11.423 12.593C11.713 12.487 11.955 12.338 12.146 12.146C12.338 11.955 12.487 11.713 12.593 11.423C12.698 11.134 12.75 10.827 12.75 10.5C12.75 10.173 12.698 9.866 12.593 9.577C12.487 9.287 12.338 9.045 12.146 8.854L9.854 6.561C9.58 6.287 9.37 5.972 9.222 5.615C9.074 5.258 9 4.886 9 4.5L9 4L4 4L4 6.5C4 6.754 4.049 6.998 4.146 7.233Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_sock.xml · Gentleface "sock" (line-round), MIT. https://gentleface.com/icons/sock -->
<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="M10.146 5.233C10.243 5.467 10.381 5.674 10.561 5.854L12.854 8.146C13.15 8.443 13.376 8.806 13.532 9.235C13.677 9.634 13.75 10.056 13.75 10.5C13.75 10.944 13.677 11.366 13.532 11.765C13.376 12.194 13.15 12.557 12.854 12.854C12.557 13.15 12.194 13.376 11.765 13.532C11.366 13.677 10.944 13.75 10.5 13.75C10.056 13.75 9.634 13.677 9.235 13.532C8.806 13.376 8.443 13.15 8.146 12.854L3.854 8.561C3.58 8.287 3.37 7.972 3.222 7.615C3.074 7.258 3 6.886 3 6.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L8 1C8.254 1 8.5 1.047 8.736 1.14C8.993 1.242 9.219 1.391 9.414 1.586C9.609 1.781 9.758 2.007 9.86 2.264C9.953 2.5 10 2.746 10 3L10 4.5C10 4.754 10.049 4.998 10.146 5.233ZM8.707 2.293C8.512 2.098 8.276 2 8 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L9 3C9 2.724 8.902 2.488 8.707 2.293ZM4.146 7.233C4.243 7.467 4.381 7.674 4.561 7.854L8.854 12.146C9.045 12.338 9.287 12.487 9.577 12.593C9.866 12.698 10.173 12.75 10.5 12.75C10.827 12.75 11.134 12.698 11.423 12.593C11.713 12.487 11.955 12.338 12.146 12.146C12.338 11.955 12.487 11.713 12.593 11.423C12.698 11.134 12.75 10.827 12.75 10.5C12.75 10.173 12.698 9.866 12.593 9.577C12.487 9.287 12.338 9.045 12.146 8.854L9.854 6.561C9.58 6.287 9.37 5.972 9.222 5.615C9.074 5.258 9 4.886 9 4.5L9 4L4 4L4 6.5C4 6.754 4.049 6.998 4.146 7.233Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(10.146, 5.233)
      ..cubicTo(10.243, 5.467, 10.381, 5.674, 10.561, 5.854)
      ..lineTo(12.854, 8.146)
      ..cubicTo(13.15, 8.443, 13.376, 8.806, 13.532, 9.235)
      ..cubicTo(13.677, 9.634, 13.75, 10.056, 13.75, 10.5)
      ..cubicTo(13.75, 10.944, 13.677, 11.366, 13.532, 11.765)
      ..cubicTo(13.376, 12.194, 13.15, 12.557, 12.854, 12.854)
      ..cubicTo(12.557, 13.15, 12.194, 13.376, 11.765, 13.532)
      ..cubicTo(11.366, 13.677, 10.944, 13.75, 10.5, 13.75)
      ..cubicTo(10.056, 13.75, 9.634, 13.677, 9.235, 13.532)
      ..cubicTo(8.806, 13.376, 8.443, 13.15, 8.146, 12.854)
      ..lineTo(3.854, 8.561)
      ..cubicTo(3.58, 8.287, 3.37, 7.972, 3.222, 7.615)
      ..cubicTo(3.074, 7.258, 3, 6.886, 3, 6.5)
      ..lineTo(3, 3)
      ..cubicTo(3, 2.746, 3.047, 2.5, 3.14, 2.264)
      ..cubicTo(3.242, 2.007, 3.391, 1.781, 3.586, 1.586)
      ..cubicTo(3.781, 1.391, 4.007, 1.242, 4.264, 1.14)
      ..cubicTo(4.5, 1.047, 4.746, 1, 5, 1)
      ..lineTo(8, 1)
      ..cubicTo(8.254, 1, 8.5, 1.047, 8.736, 1.14)
      ..cubicTo(8.993, 1.242, 9.219, 1.391, 9.414, 1.586)
      ..cubicTo(9.609, 1.781, 9.758, 2.007, 9.86, 2.264)
      ..cubicTo(9.953, 2.5, 10, 2.746, 10, 3)
      ..lineTo(10, 4.5)
      ..cubicTo(10, 4.754, 10.049, 4.998, 10.146, 5.233)
      ..close()
      ..moveTo(8.707, 2.293)
      ..cubicTo(8.512, 2.098, 8.276, 2, 8, 2)
      ..lineTo(5, 2)
      ..cubicTo(4.724, 2, 4.488, 2.098, 4.293, 2.293)
      ..cubicTo(4.098, 2.488, 4, 2.724, 4, 3)
      ..lineTo(9, 3)
      ..cubicTo(9, 2.724, 8.902, 2.488, 8.707, 2.293)
      ..close()
      ..moveTo(4.146, 7.233)
      ..cubicTo(4.243, 7.467, 4.381, 7.674, 4.561, 7.854)
      ..lineTo(8.854, 12.146)
      ..cubicTo(9.045, 12.338, 9.287, 12.487, 9.577, 12.593)
      ..cubicTo(9.866, 12.698, 10.173, 12.75, 10.5, 12.75)
      ..cubicTo(10.827, 12.75, 11.134, 12.698, 11.423, 12.593)
      ..cubicTo(11.713, 12.487, 11.955, 12.338, 12.146, 12.146)
      ..cubicTo(12.338, 11.955, 12.487, 11.713, 12.593, 11.423)
      ..cubicTo(12.698, 11.134, 12.75, 10.827, 12.75, 10.5)
      ..cubicTo(12.75, 10.173, 12.698, 9.866, 12.593, 9.577)
      ..cubicTo(12.487, 9.287, 12.338, 9.045, 12.146, 8.854)
      ..lineTo(9.854, 6.561)
      ..cubicTo(9.58, 6.287, 9.37, 5.972, 9.222, 5.615)
      ..cubicTo(9.074, 5.258, 9, 4.886, 9, 4.5)
      ..lineTo(9, 4)
      ..lineTo(4, 4)
      ..lineTo(4, 6.5)
      ..cubicTo(4, 6.754, 4.049, 6.998, 4.146, 7.233)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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