# avocado icon

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

- Category: Food & drink
- Use it for: avocado, guacamole
- Tags: avocado, avocado-half, guacamole, fruit, vegetable, produce, healthy-fat, superfood, vegan, healthy, groceries, food
- Component name: AvocadoIcon
- Added: 2026-10-29
- Since: version 0.2.0
- npm: `import { AvocadoIcon } from '@gentleface/react';` (@gentleface/react 0.2.0)
- Changed: 2026-10-30 (added)

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

The SVG of every style: https://gentleface.com/icons/avocado.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.5 1C8.601 1 9.461 1.27 10.079 1.811C10.387 2.08 10.619 2.405 10.775 2.787C10.925 3.152 11 3.557 11 4C11 4.211 11.061 4.461 11.183 4.752C11.267 4.951 11.433 5.277 11.683 5.729C11.881 6.087 12.029 6.365 12.128 6.564C12.299 6.905 12.441 7.231 12.555 7.54C12.852 8.345 13 9.165 13 10C13 10.804 12.867 11.525 12.602 12.161C12.34 12.79 11.956 13.321 11.45 13.755C10.963 14.172 10.378 14.486 9.694 14.697C9.037 14.899 8.305 15 7.5 15C6.695 15 5.963 14.899 5.306 14.697C4.622 14.486 4.037 14.172 3.55 13.755C3.044 13.321 2.66 12.79 2.398 12.161C2.133 11.525 2 10.804 2 10C2 9.165 2.148 8.345 2.445 7.54C2.559 7.231 2.701 6.905 2.872 6.564C2.971 6.365 3.119 6.087 3.317 5.729C3.567 5.277 3.733 4.951 3.817 4.752C3.939 4.461 4 4.211 4 4C4 3.557 4.075 3.152 4.225 2.787C4.381 2.405 4.613 2.08 4.921 1.811C5.539 1.27 6.399 1 7.5 1ZM7.5 2.5C6.1 2.5 5.5 3 5.5 4C5.5 5.8 3.5 7.4 3.5 10C3.5 12.4 5.2 13.5 7.5 13.5C9.8 13.5 11.5 12.4 11.5 10C11.5 7.4 9.5 5.8 9.5 4C9.5 3 8.9 2.5 7.5 2.5ZM5 9.5C5 8.119 6.119 7 7.5 7C8.881 7 10 8.119 10 9.5C10 10.881 8.881 12 7.5 12C6.119 12 5 10.881 5 9.5Z"/></svg>
```

### React

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

export function AvocadoIcon(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.5 1C8.601 1 9.461 1.27 10.079 1.811C10.387 2.08 10.619 2.405 10.775 2.787C10.925 3.152 11 3.557 11 4C11 4.211 11.061 4.461 11.183 4.752C11.267 4.951 11.433 5.277 11.683 5.729C11.881 6.087 12.029 6.365 12.128 6.564C12.299 6.905 12.441 7.231 12.555 7.54C12.852 8.345 13 9.165 13 10C13 10.804 12.867 11.525 12.602 12.161C12.34 12.79 11.956 13.321 11.45 13.755C10.963 14.172 10.378 14.486 9.694 14.697C9.037 14.899 8.305 15 7.5 15C6.695 15 5.963 14.899 5.306 14.697C4.622 14.486 4.037 14.172 3.55 13.755C3.044 13.321 2.66 12.79 2.398 12.161C2.133 11.525 2 10.804 2 10C2 9.165 2.148 8.345 2.445 7.54C2.559 7.231 2.701 6.905 2.872 6.564C2.971 6.365 3.119 6.087 3.317 5.729C3.567 5.277 3.733 4.951 3.817 4.752C3.939 4.461 4 4.211 4 4C4 3.557 4.075 3.152 4.225 2.787C4.381 2.405 4.613 2.08 4.921 1.811C5.539 1.27 6.399 1 7.5 1ZM7.5 2.5C6.1 2.5 5.5 3 5.5 4C5.5 5.8 3.5 7.4 3.5 10C3.5 12.4 5.2 13.5 7.5 13.5C9.8 13.5 11.5 12.4 11.5 10C11.5 7.4 9.5 5.8 9.5 4C9.5 3 8.9 2.5 7.5 2.5ZM5 9.5C5 8.119 6.119 7 7.5 7C8.881 7 10 8.119 10 9.5C10 10.881 8.881 12 7.5 12C6.119 12 5 10.881 5 9.5Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "avocado" (line-round), MIT. https://gentleface.com/icons/avocado -->
<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.5 1C8.601 1 9.461 1.27 10.079 1.811C10.387 2.08 10.619 2.405 10.775 2.787C10.925 3.152 11 3.557 11 4C11 4.211 11.061 4.461 11.183 4.752C11.267 4.951 11.433 5.277 11.683 5.729C11.881 6.087 12.029 6.365 12.128 6.564C12.299 6.905 12.441 7.231 12.555 7.54C12.852 8.345 13 9.165 13 10C13 10.804 12.867 11.525 12.602 12.161C12.34 12.79 11.956 13.321 11.45 13.755C10.963 14.172 10.378 14.486 9.694 14.697C9.037 14.899 8.305 15 7.5 15C6.695 15 5.963 14.899 5.306 14.697C4.622 14.486 4.037 14.172 3.55 13.755C3.044 13.321 2.66 12.79 2.398 12.161C2.133 11.525 2 10.804 2 10C2 9.165 2.148 8.345 2.445 7.54C2.559 7.231 2.701 6.905 2.872 6.564C2.971 6.365 3.119 6.087 3.317 5.729C3.567 5.277 3.733 4.951 3.817 4.752C3.939 4.461 4 4.211 4 4C4 3.557 4.075 3.152 4.225 2.787C4.381 2.405 4.613 2.08 4.921 1.811C5.539 1.27 6.399 1 7.5 1ZM7.5 2.5C6.1 2.5 5.5 3 5.5 4C5.5 5.8 3.5 7.4 3.5 10C3.5 12.4 5.2 13.5 7.5 13.5C9.8 13.5 11.5 12.4 11.5 10C11.5 7.4 9.5 5.8 9.5 4C9.5 3 8.9 2.5 7.5 2.5ZM5 9.5C5 8.119 6.119 7 7.5 7C8.881 7 10 8.119 10 9.5C10 10.881 8.881 12 7.5 12C6.119 12 5 10.881 5 9.5Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "avocado" (line-round), MIT. https://gentleface.com/icons/avocado -->
<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.5 1C8.601 1 9.461 1.27 10.079 1.811C10.387 2.08 10.619 2.405 10.775 2.787C10.925 3.152 11 3.557 11 4C11 4.211 11.061 4.461 11.183 4.752C11.267 4.951 11.433 5.277 11.683 5.729C11.881 6.087 12.029 6.365 12.128 6.564C12.299 6.905 12.441 7.231 12.555 7.54C12.852 8.345 13 9.165 13 10C13 10.804 12.867 11.525 12.602 12.161C12.34 12.79 11.956 13.321 11.45 13.755C10.963 14.172 10.378 14.486 9.694 14.697C9.037 14.899 8.305 15 7.5 15C6.695 15 5.963 14.899 5.306 14.697C4.622 14.486 4.037 14.172 3.55 13.755C3.044 13.321 2.66 12.79 2.398 12.161C2.133 11.525 2 10.804 2 10C2 9.165 2.148 8.345 2.445 7.54C2.559 7.231 2.701 6.905 2.872 6.564C2.971 6.365 3.119 6.087 3.317 5.729C3.567 5.277 3.733 4.951 3.817 4.752C3.939 4.461 4 4.211 4 4C4 3.557 4.075 3.152 4.225 2.787C4.381 2.405 4.613 2.08 4.921 1.811C5.539 1.27 6.399 1 7.5 1ZM7.5 2.5C6.1 2.5 5.5 3 5.5 4C5.5 5.8 3.5 7.4 3.5 10C3.5 12.4 5.2 13.5 7.5 13.5C9.8 13.5 11.5 12.4 11.5 10C11.5 7.4 9.5 5.8 9.5 4C9.5 3 8.9 2.5 7.5 2.5ZM5 9.5C5 8.119 6.119 7 7.5 7C8.881 7 10 8.119 10 9.5C10 10.881 8.881 12 7.5 12C6.119 12 5 10.881 5 9.5Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "avocado" (line-round), MIT. https://gentleface.com/icons/avocado. Takes the text color. */
.icon-avocado {
  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.5 1C8.601 1 9.461 1.27 10.079 1.811C10.387 2.08 10.619 2.405 10.775 2.787C10.925 3.152 11 3.557 11 4C11 4.211 11.061 4.461 11.183 4.752C11.267 4.951 11.433 5.277 11.683 5.729C11.881 6.087 12.029 6.365 12.128 6.564C12.299 6.905 12.441 7.231 12.555 7.54C12.852 8.345 13 9.165 13 10C13 10.804 12.867 11.525 12.602 12.161C12.34 12.79 11.956 13.321 11.45 13.755C10.963 14.172 10.378 14.486 9.694 14.697C9.037 14.899 8.305 15 7.5 15C6.695 15 5.963 14.899 5.306 14.697C4.622 14.486 4.037 14.172 3.55 13.755C3.044 13.321 2.66 12.79 2.398 12.161C2.133 11.525 2 10.804 2 10C2 9.165 2.148 8.345 2.445 7.54C2.559 7.231 2.701 6.905 2.872 6.564C2.971 6.365 3.119 6.087 3.317 5.729C3.567 5.277 3.733 4.951 3.817 4.752C3.939 4.461 4 4.211 4 4C4 3.557 4.075 3.152 4.225 2.787C4.381 2.405 4.613 2.08 4.921 1.811C5.539 1.27 6.399 1 7.5 1ZM7.5 2.5C6.1 2.5 5.5 3 5.5 4C5.5 5.8 3.5 7.4 3.5 10C3.5 12.4 5.2 13.5 7.5 13.5C9.8 13.5 11.5 12.4 11.5 10C11.5 7.4 9.5 5.8 9.5 4C9.5 3 8.9 2.5 7.5 2.5ZM5 9.5C5 8.119 6.119 7 7.5 7C8.881 7 10 8.119 10 9.5C10 10.881 8.881 12 7.5 12C6.119 12 5 10.881 5 9.5Z'/%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.5 1C8.601 1 9.461 1.27 10.079 1.811C10.387 2.08 10.619 2.405 10.775 2.787C10.925 3.152 11 3.557 11 4C11 4.211 11.061 4.461 11.183 4.752C11.267 4.951 11.433 5.277 11.683 5.729C11.881 6.087 12.029 6.365 12.128 6.564C12.299 6.905 12.441 7.231 12.555 7.54C12.852 8.345 13 9.165 13 10C13 10.804 12.867 11.525 12.602 12.161C12.34 12.79 11.956 13.321 11.45 13.755C10.963 14.172 10.378 14.486 9.694 14.697C9.037 14.899 8.305 15 7.5 15C6.695 15 5.963 14.899 5.306 14.697C4.622 14.486 4.037 14.172 3.55 13.755C3.044 13.321 2.66 12.79 2.398 12.161C2.133 11.525 2 10.804 2 10C2 9.165 2.148 8.345 2.445 7.54C2.559 7.231 2.701 6.905 2.872 6.564C2.971 6.365 3.119 6.087 3.317 5.729C3.567 5.277 3.733 4.951 3.817 4.752C3.939 4.461 4 4.211 4 4C4 3.557 4.075 3.152 4.225 2.787C4.381 2.405 4.613 2.08 4.921 1.811C5.539 1.27 6.399 1 7.5 1ZM7.5 2.5C6.1 2.5 5.5 3 5.5 4C5.5 5.8 3.5 7.4 3.5 10C3.5 12.4 5.2 13.5 7.5 13.5C9.8 13.5 11.5 12.4 11.5 10C11.5 7.4 9.5 5.8 9.5 4C9.5 3 8.9 2.5 7.5 2.5ZM5 9.5C5 8.119 6.119 7 7.5 7C8.881 7 10 8.119 10 9.5C10 10.881 8.881 12 7.5 12C6.119 12 5 10.881 5 9.5Z'/%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.5 1C8.601 1 9.461 1.27 10.079 1.811C10.387 2.08 10.619 2.405 10.775 2.787C10.925 3.152 11 3.557 11 4C11 4.211 11.061 4.461 11.183 4.752C11.267 4.951 11.433 5.277 11.683 5.729C11.881 6.087 12.029 6.365 12.128 6.564C12.299 6.905 12.441 7.231 12.555 7.54C12.852 8.345 13 9.165 13 10C13 10.804 12.867 11.525 12.602 12.161C12.34 12.79 11.956 13.321 11.45 13.755C10.963 14.172 10.378 14.486 9.694 14.697C9.037 14.899 8.305 15 7.5 15C6.695 15 5.963 14.899 5.306 14.697C4.622 14.486 4.037 14.172 3.55 13.755C3.044 13.321 2.66 12.79 2.398 12.161C2.133 11.525 2 10.804 2 10C2 9.165 2.148 8.345 2.445 7.54C2.559 7.231 2.701 6.905 2.872 6.564C2.971 6.365 3.119 6.087 3.317 5.729C3.567 5.277 3.733 4.951 3.817 4.752C3.939 4.461 4 4.211 4 4C4 3.557 4.075 3.152 4.225 2.787C4.381 2.405 4.613 2.08 4.921 1.811C5.539 1.27 6.399 1 7.5 1ZM7.5 2.5C6.1 2.5 5.5 3 5.5 4C5.5 5.8 3.5 7.4 3.5 10C3.5 12.4 5.2 13.5 7.5 13.5C9.8 13.5 11.5 12.4 11.5 10C11.5 7.4 9.5 5.8 9.5 4C9.5 3 8.9 2.5 7.5 2.5ZM5 9.5C5 8.119 6.119 7 7.5 7C8.881 7 10 8.119 10 9.5C10 10.881 8.881 12 7.5 12C6.119 12 5 10.881 5 9.5Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct AvocadoIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 7.5, y: 1))
        p.addCurve(to: CGPoint(x: 10.079, y: 1.811), control1: CGPoint(x: 8.601, y: 1), control2: CGPoint(x: 9.461, y: 1.27))
        p.addCurve(to: CGPoint(x: 10.775, y: 2.787), control1: CGPoint(x: 10.387, y: 2.08), control2: CGPoint(x: 10.619, y: 2.405))
        p.addCurve(to: CGPoint(x: 11, y: 4), control1: CGPoint(x: 10.925, y: 3.152), control2: CGPoint(x: 11, y: 3.557))
        p.addCurve(to: CGPoint(x: 11.183, y: 4.752), control1: CGPoint(x: 11, y: 4.211), control2: CGPoint(x: 11.061, y: 4.461))
        p.addCurve(to: CGPoint(x: 11.683, y: 5.729), control1: CGPoint(x: 11.267, y: 4.951), control2: CGPoint(x: 11.433, y: 5.277))
        p.addCurve(to: CGPoint(x: 12.128, y: 6.564), control1: CGPoint(x: 11.881, y: 6.087), control2: CGPoint(x: 12.029, y: 6.365))
        p.addCurve(to: CGPoint(x: 12.555, y: 7.54), control1: CGPoint(x: 12.299, y: 6.905), control2: CGPoint(x: 12.441, y: 7.231))
        p.addCurve(to: CGPoint(x: 13, y: 10), control1: CGPoint(x: 12.852, y: 8.345), control2: CGPoint(x: 13, y: 9.165))
        p.addCurve(to: CGPoint(x: 12.602, y: 12.161), control1: CGPoint(x: 13, y: 10.804), control2: CGPoint(x: 12.867, y: 11.525))
        p.addCurve(to: CGPoint(x: 11.45, y: 13.755), control1: CGPoint(x: 12.34, y: 12.79), control2: CGPoint(x: 11.956, y: 13.321))
        p.addCurve(to: CGPoint(x: 9.694, y: 14.697), control1: CGPoint(x: 10.963, y: 14.172), control2: CGPoint(x: 10.378, y: 14.486))
        p.addCurve(to: CGPoint(x: 7.5, y: 15), control1: CGPoint(x: 9.037, y: 14.899), control2: CGPoint(x: 8.305, y: 15))
        p.addCurve(to: CGPoint(x: 5.306, y: 14.697), control1: CGPoint(x: 6.695, y: 15), control2: CGPoint(x: 5.963, y: 14.899))
        p.addCurve(to: CGPoint(x: 3.55, y: 13.755), control1: CGPoint(x: 4.622, y: 14.486), control2: CGPoint(x: 4.037, y: 14.172))
        p.addCurve(to: CGPoint(x: 2.398, y: 12.161), control1: CGPoint(x: 3.044, y: 13.321), control2: CGPoint(x: 2.66, y: 12.79))
        p.addCurve(to: CGPoint(x: 2, y: 10), control1: CGPoint(x: 2.133, y: 11.525), control2: CGPoint(x: 2, y: 10.804))
        p.addCurve(to: CGPoint(x: 2.445, y: 7.54), control1: CGPoint(x: 2, y: 9.165), control2: CGPoint(x: 2.148, y: 8.345))
        p.addCurve(to: CGPoint(x: 2.872, y: 6.564), control1: CGPoint(x: 2.559, y: 7.231), control2: CGPoint(x: 2.701, y: 6.905))
        p.addCurve(to: CGPoint(x: 3.317, y: 5.729), control1: CGPoint(x: 2.971, y: 6.365), control2: CGPoint(x: 3.119, y: 6.087))
        p.addCurve(to: CGPoint(x: 3.817, y: 4.752), control1: CGPoint(x: 3.567, y: 5.277), control2: CGPoint(x: 3.733, y: 4.951))
        p.addCurve(to: CGPoint(x: 4, y: 4), control1: CGPoint(x: 3.939, y: 4.461), control2: CGPoint(x: 4, y: 4.211))
        p.addCurve(to: CGPoint(x: 4.225, y: 2.787), control1: CGPoint(x: 4, y: 3.557), control2: CGPoint(x: 4.075, y: 3.152))
        p.addCurve(to: CGPoint(x: 4.921, y: 1.811), control1: CGPoint(x: 4.381, y: 2.405), control2: CGPoint(x: 4.613, y: 2.08))
        p.addCurve(to: CGPoint(x: 7.5, y: 1), control1: CGPoint(x: 5.539, y: 1.27), control2: CGPoint(x: 6.399, y: 1))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.5, y: 2.5))
        p.addCurve(to: CGPoint(x: 5.5, y: 4), control1: CGPoint(x: 6.1, y: 2.5), control2: CGPoint(x: 5.5, y: 3))
        p.addCurve(to: CGPoint(x: 3.5, y: 10), control1: CGPoint(x: 5.5, y: 5.8), control2: CGPoint(x: 3.5, y: 7.4))
        p.addCurve(to: CGPoint(x: 7.5, y: 13.5), control1: CGPoint(x: 3.5, y: 12.4), control2: CGPoint(x: 5.2, y: 13.5))
        p.addCurve(to: CGPoint(x: 11.5, y: 10), control1: CGPoint(x: 9.8, y: 13.5), control2: CGPoint(x: 11.5, y: 12.4))
        p.addCurve(to: CGPoint(x: 9.5, y: 4), control1: CGPoint(x: 11.5, y: 7.4), control2: CGPoint(x: 9.5, y: 5.8))
        p.addCurve(to: CGPoint(x: 7.5, y: 2.5), control1: CGPoint(x: 9.5, y: 3), control2: CGPoint(x: 8.9, y: 2.5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5, y: 9.5))
        p.addCurve(to: CGPoint(x: 7.5, y: 7), control1: CGPoint(x: 5, y: 8.119), control2: CGPoint(x: 6.119, y: 7))
        p.addCurve(to: CGPoint(x: 10, y: 9.5), control1: CGPoint(x: 8.881, y: 7), control2: CGPoint(x: 10, y: 8.119))
        p.addCurve(to: CGPoint(x: 7.5, y: 12), control1: CGPoint(x: 10, y: 10.881), control2: CGPoint(x: 8.881, y: 12))
        p.addCurve(to: CGPoint(x: 5, y: 9.5), control1: CGPoint(x: 6.119, y: 12), control2: CGPoint(x: 5, y: 10.881))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "avocado" (line-round), MIT. https://gentleface.com/icons/avocado
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 AvocadoIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "avocado", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M7.5 1C8.601 1 9.461 1.27 10.079 1.811C10.387 2.08 10.619 2.405 10.775 2.787C10.925 3.152 11 3.557 11 4C11 4.211 11.061 4.461 11.183 4.752C11.267 4.951 11.433 5.277 11.683 5.729C11.881 6.087 12.029 6.365 12.128 6.564C12.299 6.905 12.441 7.231 12.555 7.54C12.852 8.345 13 9.165 13 10C13 10.804 12.867 11.525 12.602 12.161C12.34 12.79 11.956 13.321 11.45 13.755C10.963 14.172 10.378 14.486 9.694 14.697C9.037 14.899 8.305 15 7.5 15C6.695 15 5.963 14.899 5.306 14.697C4.622 14.486 4.037 14.172 3.55 13.755C3.044 13.321 2.66 12.79 2.398 12.161C2.133 11.525 2 10.804 2 10C2 9.165 2.148 8.345 2.445 7.54C2.559 7.231 2.701 6.905 2.872 6.564C2.971 6.365 3.119 6.087 3.317 5.729C3.567 5.277 3.733 4.951 3.817 4.752C3.939 4.461 4 4.211 4 4C4 3.557 4.075 3.152 4.225 2.787C4.381 2.405 4.613 2.08 4.921 1.811C5.539 1.27 6.399 1 7.5 1ZM7.5 2.5C6.1 2.5 5.5 3 5.5 4C5.5 5.8 3.5 7.4 3.5 10C3.5 12.4 5.2 13.5 7.5 13.5C9.8 13.5 11.5 12.4 11.5 10C11.5 7.4 9.5 5.8 9.5 4C9.5 3 8.9 2.5 7.5 2.5ZM5 9.5C5 8.119 6.119 7 7.5 7C8.881 7 10 8.119 10 9.5C10 10.881 8.881 12 7.5 12C6.119 12 5 10.881 5 9.5Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_avocado.xml · Gentleface "avocado" (line-round), MIT. https://gentleface.com/icons/avocado -->
<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.5 1C8.601 1 9.461 1.27 10.079 1.811C10.387 2.08 10.619 2.405 10.775 2.787C10.925 3.152 11 3.557 11 4C11 4.211 11.061 4.461 11.183 4.752C11.267 4.951 11.433 5.277 11.683 5.729C11.881 6.087 12.029 6.365 12.128 6.564C12.299 6.905 12.441 7.231 12.555 7.54C12.852 8.345 13 9.165 13 10C13 10.804 12.867 11.525 12.602 12.161C12.34 12.79 11.956 13.321 11.45 13.755C10.963 14.172 10.378 14.486 9.694 14.697C9.037 14.899 8.305 15 7.5 15C6.695 15 5.963 14.899 5.306 14.697C4.622 14.486 4.037 14.172 3.55 13.755C3.044 13.321 2.66 12.79 2.398 12.161C2.133 11.525 2 10.804 2 10C2 9.165 2.148 8.345 2.445 7.54C2.559 7.231 2.701 6.905 2.872 6.564C2.971 6.365 3.119 6.087 3.317 5.729C3.567 5.277 3.733 4.951 3.817 4.752C3.939 4.461 4 4.211 4 4C4 3.557 4.075 3.152 4.225 2.787C4.381 2.405 4.613 2.08 4.921 1.811C5.539 1.27 6.399 1 7.5 1ZM7.5 2.5C6.1 2.5 5.5 3 5.5 4C5.5 5.8 3.5 7.4 3.5 10C3.5 12.4 5.2 13.5 7.5 13.5C9.8 13.5 11.5 12.4 11.5 10C11.5 7.4 9.5 5.8 9.5 4C9.5 3 8.9 2.5 7.5 2.5ZM5 9.5C5 8.119 6.119 7 7.5 7C8.881 7 10 8.119 10 9.5C10 10.881 8.881 12 7.5 12C6.119 12 5 10.881 5 9.5Z"/>
</vector>
```

### Flutter

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

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

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

class _AvocadoIconPainter extends CustomPainter {
  _AvocadoIconPainter(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.5, 1)
      ..cubicTo(8.601, 1, 9.461, 1.27, 10.079, 1.811)
      ..cubicTo(10.387, 2.08, 10.619, 2.405, 10.775, 2.787)
      ..cubicTo(10.925, 3.152, 11, 3.557, 11, 4)
      ..cubicTo(11, 4.211, 11.061, 4.461, 11.183, 4.752)
      ..cubicTo(11.267, 4.951, 11.433, 5.277, 11.683, 5.729)
      ..cubicTo(11.881, 6.087, 12.029, 6.365, 12.128, 6.564)
      ..cubicTo(12.299, 6.905, 12.441, 7.231, 12.555, 7.54)
      ..cubicTo(12.852, 8.345, 13, 9.165, 13, 10)
      ..cubicTo(13, 10.804, 12.867, 11.525, 12.602, 12.161)
      ..cubicTo(12.34, 12.79, 11.956, 13.321, 11.45, 13.755)
      ..cubicTo(10.963, 14.172, 10.378, 14.486, 9.694, 14.697)
      ..cubicTo(9.037, 14.899, 8.305, 15, 7.5, 15)
      ..cubicTo(6.695, 15, 5.963, 14.899, 5.306, 14.697)
      ..cubicTo(4.622, 14.486, 4.037, 14.172, 3.55, 13.755)
      ..cubicTo(3.044, 13.321, 2.66, 12.79, 2.398, 12.161)
      ..cubicTo(2.133, 11.525, 2, 10.804, 2, 10)
      ..cubicTo(2, 9.165, 2.148, 8.345, 2.445, 7.54)
      ..cubicTo(2.559, 7.231, 2.701, 6.905, 2.872, 6.564)
      ..cubicTo(2.971, 6.365, 3.119, 6.087, 3.317, 5.729)
      ..cubicTo(3.567, 5.277, 3.733, 4.951, 3.817, 4.752)
      ..cubicTo(3.939, 4.461, 4, 4.211, 4, 4)
      ..cubicTo(4, 3.557, 4.075, 3.152, 4.225, 2.787)
      ..cubicTo(4.381, 2.405, 4.613, 2.08, 4.921, 1.811)
      ..cubicTo(5.539, 1.27, 6.399, 1, 7.5, 1)
      ..close()
      ..moveTo(7.5, 2.5)
      ..cubicTo(6.1, 2.5, 5.5, 3, 5.5, 4)
      ..cubicTo(5.5, 5.8, 3.5, 7.4, 3.5, 10)
      ..cubicTo(3.5, 12.4, 5.2, 13.5, 7.5, 13.5)
      ..cubicTo(9.8, 13.5, 11.5, 12.4, 11.5, 10)
      ..cubicTo(11.5, 7.4, 9.5, 5.8, 9.5, 4)
      ..cubicTo(9.5, 3, 8.9, 2.5, 7.5, 2.5)
      ..close()
      ..moveTo(5, 9.5)
      ..cubicTo(5, 8.119, 6.119, 7, 7.5, 7)
      ..cubicTo(8.881, 7, 10, 8.119, 10, 9.5)
      ..cubicTo(10, 10.881, 8.881, 12, 7.5, 12)
      ..cubicTo(6.119, 12, 5, 10.881, 5, 9.5)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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