# nut icon

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

- Category: Food & drink
- Use it for: nuts, tree nut, tree nuts, hazelnut, peanuts
- Tags: nut, nuts, acorn, hazelnut, tree-nut, allergen, snack, food
- Family: nut-off
- Component name: NutIcon
- Added: 2026-10-15
- Changed: 2026-10-16 (16 px redrawn)

## Alternatives

- `nut-off`: nut-free

## Don't confuse with

- `hex-nut`: hex-nut is the hardware fastener

## Not for

- hex nut (use `hex-nut`): the food nut (snacks, allergens)

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

The SVG of every style: https://gentleface.com/icons/nut.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="M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L10.5 3C10.818 3 11.125 3.059 11.42 3.176C11.741 3.303 12.024 3.488 12.268 3.732C12.512 3.976 12.697 4.259 12.824 4.58C12.941 4.875 13 5.182 13 5.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7L12 7L12 8.5C12 9.939 11.484 11.294 10.451 12.565C9.779 13.392 8.888 14.176 7.777 14.916C7.693 14.973 7.6 15.001 7.5 15.001C7.4 15.001 7.307 14.973 7.223 14.916C6.112 14.176 5.221 13.392 4.549 12.565C3.516 11.294 3 9.939 3 8.5L3 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5L2 5.5C2 5.182 2.059 4.875 2.176 4.58C2.303 4.259 2.488 3.976 2.732 3.732C2.976 3.488 3.259 3.303 3.58 3.176C3.875 3.059 4.182 3 4.5 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM3.439 4.439C3.293 4.586 3.182 4.755 3.105 4.948C3.035 5.125 3 5.309 3 5.5L3 6L12 6L12 5.5C12 5.309 11.965 5.125 11.895 4.948C11.818 4.755 11.707 4.586 11.561 4.439C11.414 4.293 11.245 4.182 11.052 4.105C10.875 4.035 10.691 4 10.5 4L4.5 4C4.309 4 4.125 4.035 3.948 4.105C3.755 4.182 3.586 4.293 3.439 4.439ZM5.326 11.935C5.878 12.615 6.603 13.268 7.5 13.895C8.397 13.268 9.122 12.615 9.674 11.935C10.558 10.847 11 9.702 11 8.5L11 7L4 7L4 8.5C4 9.702 4.442 10.847 5.326 11.935Z"/></svg>
```

### React

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

export function NutIcon(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.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L10.5 3C10.818 3 11.125 3.059 11.42 3.176C11.741 3.303 12.024 3.488 12.268 3.732C12.512 3.976 12.697 4.259 12.824 4.58C12.941 4.875 13 5.182 13 5.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7L12 7L12 8.5C12 9.939 11.484 11.294 10.451 12.565C9.779 13.392 8.888 14.176 7.777 14.916C7.693 14.973 7.6 15.001 7.5 15.001C7.4 15.001 7.307 14.973 7.223 14.916C6.112 14.176 5.221 13.392 4.549 12.565C3.516 11.294 3 9.939 3 8.5L3 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5L2 5.5C2 5.182 2.059 4.875 2.176 4.58C2.303 4.259 2.488 3.976 2.732 3.732C2.976 3.488 3.259 3.303 3.58 3.176C3.875 3.059 4.182 3 4.5 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM3.439 4.439C3.293 4.586 3.182 4.755 3.105 4.948C3.035 5.125 3 5.309 3 5.5L3 6L12 6L12 5.5C12 5.309 11.965 5.125 11.895 4.948C11.818 4.755 11.707 4.586 11.561 4.439C11.414 4.293 11.245 4.182 11.052 4.105C10.875 4.035 10.691 4 10.5 4L4.5 4C4.309 4 4.125 4.035 3.948 4.105C3.755 4.182 3.586 4.293 3.439 4.439ZM5.326 11.935C5.878 12.615 6.603 13.268 7.5 13.895C8.397 13.268 9.122 12.615 9.674 11.935C10.558 10.847 11 9.702 11 8.5L11 7L4 7L4 8.5C4 9.702 4.442 10.847 5.326 11.935Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "nut" (line-round), MIT. https://gentleface.com/icons/nut -->
<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.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L10.5 3C10.818 3 11.125 3.059 11.42 3.176C11.741 3.303 12.024 3.488 12.268 3.732C12.512 3.976 12.697 4.259 12.824 4.58C12.941 4.875 13 5.182 13 5.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7L12 7L12 8.5C12 9.939 11.484 11.294 10.451 12.565C9.779 13.392 8.888 14.176 7.777 14.916C7.693 14.973 7.6 15.001 7.5 15.001C7.4 15.001 7.307 14.973 7.223 14.916C6.112 14.176 5.221 13.392 4.549 12.565C3.516 11.294 3 9.939 3 8.5L3 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5L2 5.5C2 5.182 2.059 4.875 2.176 4.58C2.303 4.259 2.488 3.976 2.732 3.732C2.976 3.488 3.259 3.303 3.58 3.176C3.875 3.059 4.182 3 4.5 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM3.439 4.439C3.293 4.586 3.182 4.755 3.105 4.948C3.035 5.125 3 5.309 3 5.5L3 6L12 6L12 5.5C12 5.309 11.965 5.125 11.895 4.948C11.818 4.755 11.707 4.586 11.561 4.439C11.414 4.293 11.245 4.182 11.052 4.105C10.875 4.035 10.691 4 10.5 4L4.5 4C4.309 4 4.125 4.035 3.948 4.105C3.755 4.182 3.586 4.293 3.439 4.439ZM5.326 11.935C5.878 12.615 6.603 13.268 7.5 13.895C8.397 13.268 9.122 12.615 9.674 11.935C10.558 10.847 11 9.702 11 8.5L11 7L4 7L4 8.5C4 9.702 4.442 10.847 5.326 11.935Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "nut" (line-round), MIT. https://gentleface.com/icons/nut -->
<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.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L10.5 3C10.818 3 11.125 3.059 11.42 3.176C11.741 3.303 12.024 3.488 12.268 3.732C12.512 3.976 12.697 4.259 12.824 4.58C12.941 4.875 13 5.182 13 5.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7L12 7L12 8.5C12 9.939 11.484 11.294 10.451 12.565C9.779 13.392 8.888 14.176 7.777 14.916C7.693 14.973 7.6 15.001 7.5 15.001C7.4 15.001 7.307 14.973 7.223 14.916C6.112 14.176 5.221 13.392 4.549 12.565C3.516 11.294 3 9.939 3 8.5L3 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5L2 5.5C2 5.182 2.059 4.875 2.176 4.58C2.303 4.259 2.488 3.976 2.732 3.732C2.976 3.488 3.259 3.303 3.58 3.176C3.875 3.059 4.182 3 4.5 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM3.439 4.439C3.293 4.586 3.182 4.755 3.105 4.948C3.035 5.125 3 5.309 3 5.5L3 6L12 6L12 5.5C12 5.309 11.965 5.125 11.895 4.948C11.818 4.755 11.707 4.586 11.561 4.439C11.414 4.293 11.245 4.182 11.052 4.105C10.875 4.035 10.691 4 10.5 4L4.5 4C4.309 4 4.125 4.035 3.948 4.105C3.755 4.182 3.586 4.293 3.439 4.439ZM5.326 11.935C5.878 12.615 6.603 13.268 7.5 13.895C8.397 13.268 9.122 12.615 9.674 11.935C10.558 10.847 11 9.702 11 8.5L11 7L4 7L4 8.5C4 9.702 4.442 10.847 5.326 11.935Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "nut" (line-round), MIT. https://gentleface.com/icons/nut. Takes the text color. */
.icon-nut {
  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.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L10.5 3C10.818 3 11.125 3.059 11.42 3.176C11.741 3.303 12.024 3.488 12.268 3.732C12.512 3.976 12.697 4.259 12.824 4.58C12.941 4.875 13 5.182 13 5.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7L12 7L12 8.5C12 9.939 11.484 11.294 10.451 12.565C9.779 13.392 8.888 14.176 7.777 14.916C7.693 14.973 7.6 15.001 7.5 15.001C7.4 15.001 7.307 14.973 7.223 14.916C6.112 14.176 5.221 13.392 4.549 12.565C3.516 11.294 3 9.939 3 8.5L3 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5L2 5.5C2 5.182 2.059 4.875 2.176 4.58C2.303 4.259 2.488 3.976 2.732 3.732C2.976 3.488 3.259 3.303 3.58 3.176C3.875 3.059 4.182 3 4.5 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM3.439 4.439C3.293 4.586 3.182 4.755 3.105 4.948C3.035 5.125 3 5.309 3 5.5L3 6L12 6L12 5.5C12 5.309 11.965 5.125 11.895 4.948C11.818 4.755 11.707 4.586 11.561 4.439C11.414 4.293 11.245 4.182 11.052 4.105C10.875 4.035 10.691 4 10.5 4L4.5 4C4.309 4 4.125 4.035 3.948 4.105C3.755 4.182 3.586 4.293 3.439 4.439ZM5.326 11.935C5.878 12.615 6.603 13.268 7.5 13.895C8.397 13.268 9.122 12.615 9.674 11.935C10.558 10.847 11 9.702 11 8.5L11 7L4 7L4 8.5C4 9.702 4.442 10.847 5.326 11.935Z'/%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.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L10.5 3C10.818 3 11.125 3.059 11.42 3.176C11.741 3.303 12.024 3.488 12.268 3.732C12.512 3.976 12.697 4.259 12.824 4.58C12.941 4.875 13 5.182 13 5.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7L12 7L12 8.5C12 9.939 11.484 11.294 10.451 12.565C9.779 13.392 8.888 14.176 7.777 14.916C7.693 14.973 7.6 15.001 7.5 15.001C7.4 15.001 7.307 14.973 7.223 14.916C6.112 14.176 5.221 13.392 4.549 12.565C3.516 11.294 3 9.939 3 8.5L3 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5L2 5.5C2 5.182 2.059 4.875 2.176 4.58C2.303 4.259 2.488 3.976 2.732 3.732C2.976 3.488 3.259 3.303 3.58 3.176C3.875 3.059 4.182 3 4.5 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM3.439 4.439C3.293 4.586 3.182 4.755 3.105 4.948C3.035 5.125 3 5.309 3 5.5L3 6L12 6L12 5.5C12 5.309 11.965 5.125 11.895 4.948C11.818 4.755 11.707 4.586 11.561 4.439C11.414 4.293 11.245 4.182 11.052 4.105C10.875 4.035 10.691 4 10.5 4L4.5 4C4.309 4 4.125 4.035 3.948 4.105C3.755 4.182 3.586 4.293 3.439 4.439ZM5.326 11.935C5.878 12.615 6.603 13.268 7.5 13.895C8.397 13.268 9.122 12.615 9.674 11.935C10.558 10.847 11 9.702 11 8.5L11 7L4 7L4 8.5C4 9.702 4.442 10.847 5.326 11.935Z'/%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.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L10.5 3C10.818 3 11.125 3.059 11.42 3.176C11.741 3.303 12.024 3.488 12.268 3.732C12.512 3.976 12.697 4.259 12.824 4.58C12.941 4.875 13 5.182 13 5.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7L12 7L12 8.5C12 9.939 11.484 11.294 10.451 12.565C9.779 13.392 8.888 14.176 7.777 14.916C7.693 14.973 7.6 15.001 7.5 15.001C7.4 15.001 7.307 14.973 7.223 14.916C6.112 14.176 5.221 13.392 4.549 12.565C3.516 11.294 3 9.939 3 8.5L3 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5L2 5.5C2 5.182 2.059 4.875 2.176 4.58C2.303 4.259 2.488 3.976 2.732 3.732C2.976 3.488 3.259 3.303 3.58 3.176C3.875 3.059 4.182 3 4.5 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM3.439 4.439C3.293 4.586 3.182 4.755 3.105 4.948C3.035 5.125 3 5.309 3 5.5L3 6L12 6L12 5.5C12 5.309 11.965 5.125 11.895 4.948C11.818 4.755 11.707 4.586 11.561 4.439C11.414 4.293 11.245 4.182 11.052 4.105C10.875 4.035 10.691 4 10.5 4L4.5 4C4.309 4 4.125 4.035 3.948 4.105C3.755 4.182 3.586 4.293 3.439 4.439ZM5.326 11.935C5.878 12.615 6.603 13.268 7.5 13.895C8.397 13.268 9.122 12.615 9.674 11.935C10.558 10.847 11 9.702 11 8.5L11 7L4 7L4 8.5C4 9.702 4.442 10.847 5.326 11.935Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct NutIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 7.144, y: 1.144))
        p.addCurve(to: CGPoint(x: 7.5, y: 1), control1: CGPoint(x: 7.241, y: 1.048), control2: CGPoint(x: 7.359, y: 1))
        p.addCurve(to: CGPoint(x: 7.856, y: 1.144), control1: CGPoint(x: 7.641, y: 1), control2: CGPoint(x: 7.759, y: 1.048))
        p.addCurve(to: CGPoint(x: 8, y: 1.5), control1: CGPoint(x: 7.952, y: 1.241), control2: CGPoint(x: 8, y: 1.359))
        p.addLine(to: CGPoint(x: 8, y: 3))
        p.addLine(to: CGPoint(x: 10.5, y: 3))
        p.addCurve(to: CGPoint(x: 11.42, y: 3.176), control1: CGPoint(x: 10.818, y: 3), control2: CGPoint(x: 11.125, y: 3.059))
        p.addCurve(to: CGPoint(x: 12.268, y: 3.732), control1: CGPoint(x: 11.741, y: 3.303), control2: CGPoint(x: 12.024, y: 3.488))
        p.addCurve(to: CGPoint(x: 12.824, y: 4.58), control1: CGPoint(x: 12.512, y: 3.976), control2: CGPoint(x: 12.697, y: 4.259))
        p.addCurve(to: CGPoint(x: 13, y: 5.5), control1: CGPoint(x: 12.941, y: 4.875), control2: CGPoint(x: 13, y: 5.182))
        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.addLine(to: CGPoint(x: 12, y: 7))
        p.addLine(to: CGPoint(x: 12, y: 8.5))
        p.addCurve(to: CGPoint(x: 10.451, y: 12.565), control1: CGPoint(x: 12, y: 9.939), control2: CGPoint(x: 11.484, y: 11.294))
        p.addCurve(to: CGPoint(x: 7.777, y: 14.916), control1: CGPoint(x: 9.779, y: 13.392), control2: CGPoint(x: 8.888, y: 14.176))
        p.addCurve(to: CGPoint(x: 7.5, y: 15.001), control1: CGPoint(x: 7.693, y: 14.973), control2: CGPoint(x: 7.6, y: 15.001))
        p.addCurve(to: CGPoint(x: 7.223, y: 14.916), control1: CGPoint(x: 7.4, y: 15.001), control2: CGPoint(x: 7.307, y: 14.973))
        p.addCurve(to: CGPoint(x: 4.549, y: 12.565), control1: CGPoint(x: 6.112, y: 14.176), control2: CGPoint(x: 5.221, y: 13.392))
        p.addCurve(to: CGPoint(x: 3, y: 8.5), control1: CGPoint(x: 3.516, y: 11.294), control2: CGPoint(x: 3, y: 9.939))
        p.addLine(to: CGPoint(x: 3, y: 7))
        p.addLine(to: CGPoint(x: 2.5, y: 7))
        p.addCurve(to: CGPoint(x: 2.144, y: 6.856), control1: CGPoint(x: 2.359, y: 7), control2: CGPoint(x: 2.241, y: 6.952))
        p.addCurve(to: CGPoint(x: 2, y: 6.5), control1: CGPoint(x: 2.048, y: 6.759), control2: CGPoint(x: 2, y: 6.641))
        p.addLine(to: CGPoint(x: 2, y: 5.5))
        p.addCurve(to: CGPoint(x: 2.176, y: 4.58), control1: CGPoint(x: 2, y: 5.182), control2: CGPoint(x: 2.059, y: 4.875))
        p.addCurve(to: CGPoint(x: 2.732, y: 3.732), control1: CGPoint(x: 2.303, y: 4.259), control2: CGPoint(x: 2.488, y: 3.976))
        p.addCurve(to: CGPoint(x: 3.58, y: 3.176), control1: CGPoint(x: 2.976, y: 3.488), control2: CGPoint(x: 3.259, y: 3.303))
        p.addCurve(to: CGPoint(x: 4.5, y: 3), control1: CGPoint(x: 3.875, y: 3.059), control2: CGPoint(x: 4.182, y: 3))
        p.addLine(to: CGPoint(x: 7, y: 3))
        p.addLine(to: CGPoint(x: 7, y: 1.5))
        p.addCurve(to: CGPoint(x: 7.144, y: 1.144), control1: CGPoint(x: 7, y: 1.359), control2: CGPoint(x: 7.048, y: 1.241))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3.439, y: 4.439))
        p.addCurve(to: CGPoint(x: 3.105, y: 4.948), control1: CGPoint(x: 3.293, y: 4.586), control2: CGPoint(x: 3.182, y: 4.755))
        p.addCurve(to: CGPoint(x: 3, y: 5.5), control1: CGPoint(x: 3.035, y: 5.125), control2: CGPoint(x: 3, y: 5.309))
        p.addLine(to: CGPoint(x: 3, y: 6))
        p.addLine(to: CGPoint(x: 12, y: 6))
        p.addLine(to: CGPoint(x: 12, y: 5.5))
        p.addCurve(to: CGPoint(x: 11.895, y: 4.948), control1: CGPoint(x: 12, y: 5.309), control2: CGPoint(x: 11.965, y: 5.125))
        p.addCurve(to: CGPoint(x: 11.561, y: 4.439), control1: CGPoint(x: 11.818, y: 4.755), control2: CGPoint(x: 11.707, y: 4.586))
        p.addCurve(to: CGPoint(x: 11.052, y: 4.105), control1: CGPoint(x: 11.414, y: 4.293), control2: CGPoint(x: 11.245, y: 4.182))
        p.addCurve(to: CGPoint(x: 10.5, y: 4), control1: CGPoint(x: 10.875, y: 4.035), control2: CGPoint(x: 10.691, y: 4))
        p.addLine(to: CGPoint(x: 4.5, y: 4))
        p.addCurve(to: CGPoint(x: 3.948, y: 4.105), control1: CGPoint(x: 4.309, y: 4), control2: CGPoint(x: 4.125, y: 4.035))
        p.addCurve(to: CGPoint(x: 3.439, y: 4.439), control1: CGPoint(x: 3.755, y: 4.182), control2: CGPoint(x: 3.586, y: 4.293))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5.326, y: 11.935))
        p.addCurve(to: CGPoint(x: 7.5, y: 13.895), control1: CGPoint(x: 5.878, y: 12.615), control2: CGPoint(x: 6.603, y: 13.268))
        p.addCurve(to: CGPoint(x: 9.674, y: 11.935), control1: CGPoint(x: 8.397, y: 13.268), control2: CGPoint(x: 9.122, y: 12.615))
        p.addCurve(to: CGPoint(x: 11, y: 8.5), control1: CGPoint(x: 10.558, y: 10.847), control2: CGPoint(x: 11, y: 9.702))
        p.addLine(to: CGPoint(x: 11, y: 7))
        p.addLine(to: CGPoint(x: 4, y: 7))
        p.addLine(to: CGPoint(x: 4, y: 8.5))
        p.addCurve(to: CGPoint(x: 5.326, y: 11.935), control1: CGPoint(x: 4, y: 9.702), control2: CGPoint(x: 4.442, y: 10.847))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "nut" (line-round), MIT. https://gentleface.com/icons/nut
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 NutIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "nut", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L10.5 3C10.818 3 11.125 3.059 11.42 3.176C11.741 3.303 12.024 3.488 12.268 3.732C12.512 3.976 12.697 4.259 12.824 4.58C12.941 4.875 13 5.182 13 5.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7L12 7L12 8.5C12 9.939 11.484 11.294 10.451 12.565C9.779 13.392 8.888 14.176 7.777 14.916C7.693 14.973 7.6 15.001 7.5 15.001C7.4 15.001 7.307 14.973 7.223 14.916C6.112 14.176 5.221 13.392 4.549 12.565C3.516 11.294 3 9.939 3 8.5L3 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5L2 5.5C2 5.182 2.059 4.875 2.176 4.58C2.303 4.259 2.488 3.976 2.732 3.732C2.976 3.488 3.259 3.303 3.58 3.176C3.875 3.059 4.182 3 4.5 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM3.439 4.439C3.293 4.586 3.182 4.755 3.105 4.948C3.035 5.125 3 5.309 3 5.5L3 6L12 6L12 5.5C12 5.309 11.965 5.125 11.895 4.948C11.818 4.755 11.707 4.586 11.561 4.439C11.414 4.293 11.245 4.182 11.052 4.105C10.875 4.035 10.691 4 10.5 4L4.5 4C4.309 4 4.125 4.035 3.948 4.105C3.755 4.182 3.586 4.293 3.439 4.439ZM5.326 11.935C5.878 12.615 6.603 13.268 7.5 13.895C8.397 13.268 9.122 12.615 9.674 11.935C10.558 10.847 11 9.702 11 8.5L11 7L4 7L4 8.5C4 9.702 4.442 10.847 5.326 11.935Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_nut.xml · Gentleface "nut" (line-round), MIT. https://gentleface.com/icons/nut -->
<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.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3L10.5 3C10.818 3 11.125 3.059 11.42 3.176C11.741 3.303 12.024 3.488 12.268 3.732C12.512 3.976 12.697 4.259 12.824 4.58C12.941 4.875 13 5.182 13 5.5L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7L12 7L12 8.5C12 9.939 11.484 11.294 10.451 12.565C9.779 13.392 8.888 14.176 7.777 14.916C7.693 14.973 7.6 15.001 7.5 15.001C7.4 15.001 7.307 14.973 7.223 14.916C6.112 14.176 5.221 13.392 4.549 12.565C3.516 11.294 3 9.939 3 8.5L3 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5L2 5.5C2 5.182 2.059 4.875 2.176 4.58C2.303 4.259 2.488 3.976 2.732 3.732C2.976 3.488 3.259 3.303 3.58 3.176C3.875 3.059 4.182 3 4.5 3L7 3L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM3.439 4.439C3.293 4.586 3.182 4.755 3.105 4.948C3.035 5.125 3 5.309 3 5.5L3 6L12 6L12 5.5C12 5.309 11.965 5.125 11.895 4.948C11.818 4.755 11.707 4.586 11.561 4.439C11.414 4.293 11.245 4.182 11.052 4.105C10.875 4.035 10.691 4 10.5 4L4.5 4C4.309 4 4.125 4.035 3.948 4.105C3.755 4.182 3.586 4.293 3.439 4.439ZM5.326 11.935C5.878 12.615 6.603 13.268 7.5 13.895C8.397 13.268 9.122 12.615 9.674 11.935C10.558 10.847 11 9.702 11 8.5L11 7L4 7L4 8.5C4 9.702 4.442 10.847 5.326 11.935Z"/>
</vector>
```

### Flutter

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

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

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

class _NutIconPainter extends CustomPainter {
  _NutIconPainter(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.144, 1.144)
      ..cubicTo(7.241, 1.048, 7.359, 1, 7.5, 1)
      ..cubicTo(7.641, 1, 7.759, 1.048, 7.856, 1.144)
      ..cubicTo(7.952, 1.241, 8, 1.359, 8, 1.5)
      ..lineTo(8, 3)
      ..lineTo(10.5, 3)
      ..cubicTo(10.818, 3, 11.125, 3.059, 11.42, 3.176)
      ..cubicTo(11.741, 3.303, 12.024, 3.488, 12.268, 3.732)
      ..cubicTo(12.512, 3.976, 12.697, 4.259, 12.824, 4.58)
      ..cubicTo(12.941, 4.875, 13, 5.182, 13, 5.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)
      ..lineTo(12, 7)
      ..lineTo(12, 8.5)
      ..cubicTo(12, 9.939, 11.484, 11.294, 10.451, 12.565)
      ..cubicTo(9.779, 13.392, 8.888, 14.176, 7.777, 14.916)
      ..cubicTo(7.693, 14.973, 7.6, 15.001, 7.5, 15.001)
      ..cubicTo(7.4, 15.001, 7.307, 14.973, 7.223, 14.916)
      ..cubicTo(6.112, 14.176, 5.221, 13.392, 4.549, 12.565)
      ..cubicTo(3.516, 11.294, 3, 9.939, 3, 8.5)
      ..lineTo(3, 7)
      ..lineTo(2.5, 7)
      ..cubicTo(2.359, 7, 2.241, 6.952, 2.144, 6.856)
      ..cubicTo(2.048, 6.759, 2, 6.641, 2, 6.5)
      ..lineTo(2, 5.5)
      ..cubicTo(2, 5.182, 2.059, 4.875, 2.176, 4.58)
      ..cubicTo(2.303, 4.259, 2.488, 3.976, 2.732, 3.732)
      ..cubicTo(2.976, 3.488, 3.259, 3.303, 3.58, 3.176)
      ..cubicTo(3.875, 3.059, 4.182, 3, 4.5, 3)
      ..lineTo(7, 3)
      ..lineTo(7, 1.5)
      ..cubicTo(7, 1.359, 7.048, 1.241, 7.144, 1.144)
      ..close()
      ..moveTo(3.439, 4.439)
      ..cubicTo(3.293, 4.586, 3.182, 4.755, 3.105, 4.948)
      ..cubicTo(3.035, 5.125, 3, 5.309, 3, 5.5)
      ..lineTo(3, 6)
      ..lineTo(12, 6)
      ..lineTo(12, 5.5)
      ..cubicTo(12, 5.309, 11.965, 5.125, 11.895, 4.948)
      ..cubicTo(11.818, 4.755, 11.707, 4.586, 11.561, 4.439)
      ..cubicTo(11.414, 4.293, 11.245, 4.182, 11.052, 4.105)
      ..cubicTo(10.875, 4.035, 10.691, 4, 10.5, 4)
      ..lineTo(4.5, 4)
      ..cubicTo(4.309, 4, 4.125, 4.035, 3.948, 4.105)
      ..cubicTo(3.755, 4.182, 3.586, 4.293, 3.439, 4.439)
      ..close()
      ..moveTo(5.326, 11.935)
      ..cubicTo(5.878, 12.615, 6.603, 13.268, 7.5, 13.895)
      ..cubicTo(8.397, 13.268, 9.122, 12.615, 9.674, 11.935)
      ..cubicTo(10.558, 10.847, 11, 9.702, 11, 8.5)
      ..lineTo(11, 7)
      ..lineTo(4, 7)
      ..lineTo(4, 8.5)
      ..cubicTo(4, 9.702, 4.442, 10.847, 5.326, 11.935)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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