# banana icon

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

- Category: Food & drink
- Use it for: banana
- Tags: banana, fruit, tropical, potassium, snack, smoothie, produce, healthy, groceries, food
- Component name: BananaIcon
- Added: 2026-10-29
- Since: version 0.2.0
- npm: `import { BananaIcon } 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/banana.svg · PNG https://gentleface.com/png/line-round/16/banana.png · https://gentleface.com/png/line-round/32/banana.png · https://gentleface.com/png/line-round/48/banana.png
- line-soft: https://gentleface.com/svg/line-soft/16/banana.svg · PNG https://gentleface.com/png/line-soft/16/banana.png · https://gentleface.com/png/line-soft/32/banana.png · https://gentleface.com/png/line-soft/48/banana.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/banana.svg · PNG https://gentleface.com/png/line-sharp/16/banana.png · https://gentleface.com/png/line-sharp/32/banana.png · https://gentleface.com/png/line-sharp/48/banana.png
- solid-round: https://gentleface.com/svg/solid-round/16/banana.svg · PNG https://gentleface.com/png/solid-round/16/banana.png · https://gentleface.com/png/solid-round/32/banana.png · https://gentleface.com/png/solid-round/48/banana.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/banana.svg · PNG https://gentleface.com/png/solid-soft/16/banana.png · https://gentleface.com/png/solid-soft/32/banana.png · https://gentleface.com/png/solid-soft/48/banana.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/banana.svg · PNG https://gentleface.com/png/solid-sharp/16/banana.png · https://gentleface.com/png/solid-sharp/32/banana.png · https://gentleface.com/png/solid-sharp/48/banana.png

The SVG of every style: https://gentleface.com/icons/banana.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="M4.354 4.646L4.854 5.146C4.951 5.244 5 5.362 5 5.5C5 6.299 5.137 7.042 5.41 7.729C5.674 8.392 6.051 8.968 6.541 9.459C7.032 9.949 7.608 10.326 8.271 10.59C8.958 10.863 9.701 11 10.5 11C11.007 11 11.382 11.005 11.624 11.016C12.043 11.035 12.393 11.075 12.671 11.137C13.052 11.222 13.351 11.357 13.568 11.542C13.856 11.789 14 12.109 14 12.5C14 12.839 13.918 13.162 13.754 13.47C13.589 13.778 13.355 14.047 13.05 14.275C12.406 14.758 11.556 15 10.5 15C8.808 15 7.379 14.829 6.211 14.488C4.981 14.128 3.98 13.562 3.209 12.791C2.438 12.02 1.872 11.019 1.512 9.789C1.171 8.621 1 7.192 1 5.5C1 5.362 1.049 5.244 1.146 5.146L1.646 4.646C1.882 4.411 2 4.126 2 3.793L2 2C2 1.724 2.098 1.488 2.293 1.293C2.488 1.098 2.724 1 3 1C3.276 1 3.512 1.098 3.707 1.293C3.902 1.488 4 1.724 4 2L4 3.793C4 4.126 4.118 4.411 4.354 4.646ZM2.001 5.706C2.014 7.212 2.171 8.479 2.472 9.508C2.784 10.575 3.265 11.433 3.916 12.084C4.567 12.735 5.425 13.216 6.492 13.528C7.568 13.843 8.904 14 10.5 14C10.935 14 11.325 13.949 11.672 13.848C11.978 13.759 12.237 13.635 12.45 13.475C12.636 13.335 12.777 13.177 12.871 12.999C12.957 12.838 13 12.672 13 12.5C13 12.415 12.972 12.349 12.917 12.302C12.827 12.224 12.673 12.162 12.454 12.113C12.232 12.064 11.941 12.031 11.579 12.015C11.352 12.005 10.993 12 10.5 12C9.573 12 8.707 11.84 7.901 11.519C7.111 11.205 6.422 10.754 5.834 10.166C5.246 9.578 4.795 8.889 4.481 8.099C4.185 7.354 4.025 6.558 4.003 5.71L3.646 5.354C3.439 5.147 3.28 4.908 3.168 4.638C3.056 4.367 3 4.086 3 3.793C3 4.086 2.944 4.367 2.832 4.638C2.72 4.908 2.561 5.147 2.354 5.354L2.001 5.706Z"/></svg>
```

### React

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

export function BananaIcon(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="M4.354 4.646L4.854 5.146C4.951 5.244 5 5.362 5 5.5C5 6.299 5.137 7.042 5.41 7.729C5.674 8.392 6.051 8.968 6.541 9.459C7.032 9.949 7.608 10.326 8.271 10.59C8.958 10.863 9.701 11 10.5 11C11.007 11 11.382 11.005 11.624 11.016C12.043 11.035 12.393 11.075 12.671 11.137C13.052 11.222 13.351 11.357 13.568 11.542C13.856 11.789 14 12.109 14 12.5C14 12.839 13.918 13.162 13.754 13.47C13.589 13.778 13.355 14.047 13.05 14.275C12.406 14.758 11.556 15 10.5 15C8.808 15 7.379 14.829 6.211 14.488C4.981 14.128 3.98 13.562 3.209 12.791C2.438 12.02 1.872 11.019 1.512 9.789C1.171 8.621 1 7.192 1 5.5C1 5.362 1.049 5.244 1.146 5.146L1.646 4.646C1.882 4.411 2 4.126 2 3.793L2 2C2 1.724 2.098 1.488 2.293 1.293C2.488 1.098 2.724 1 3 1C3.276 1 3.512 1.098 3.707 1.293C3.902 1.488 4 1.724 4 2L4 3.793C4 4.126 4.118 4.411 4.354 4.646ZM2.001 5.706C2.014 7.212 2.171 8.479 2.472 9.508C2.784 10.575 3.265 11.433 3.916 12.084C4.567 12.735 5.425 13.216 6.492 13.528C7.568 13.843 8.904 14 10.5 14C10.935 14 11.325 13.949 11.672 13.848C11.978 13.759 12.237 13.635 12.45 13.475C12.636 13.335 12.777 13.177 12.871 12.999C12.957 12.838 13 12.672 13 12.5C13 12.415 12.972 12.349 12.917 12.302C12.827 12.224 12.673 12.162 12.454 12.113C12.232 12.064 11.941 12.031 11.579 12.015C11.352 12.005 10.993 12 10.5 12C9.573 12 8.707 11.84 7.901 11.519C7.111 11.205 6.422 10.754 5.834 10.166C5.246 9.578 4.795 8.889 4.481 8.099C4.185 7.354 4.025 6.558 4.003 5.71L3.646 5.354C3.439 5.147 3.28 4.908 3.168 4.638C3.056 4.367 3 4.086 3 3.793C3 4.086 2.944 4.367 2.832 4.638C2.72 4.908 2.561 5.147 2.354 5.354L2.001 5.706Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "banana" (line-round), MIT. https://gentleface.com/icons/banana -->
<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="M4.354 4.646L4.854 5.146C4.951 5.244 5 5.362 5 5.5C5 6.299 5.137 7.042 5.41 7.729C5.674 8.392 6.051 8.968 6.541 9.459C7.032 9.949 7.608 10.326 8.271 10.59C8.958 10.863 9.701 11 10.5 11C11.007 11 11.382 11.005 11.624 11.016C12.043 11.035 12.393 11.075 12.671 11.137C13.052 11.222 13.351 11.357 13.568 11.542C13.856 11.789 14 12.109 14 12.5C14 12.839 13.918 13.162 13.754 13.47C13.589 13.778 13.355 14.047 13.05 14.275C12.406 14.758 11.556 15 10.5 15C8.808 15 7.379 14.829 6.211 14.488C4.981 14.128 3.98 13.562 3.209 12.791C2.438 12.02 1.872 11.019 1.512 9.789C1.171 8.621 1 7.192 1 5.5C1 5.362 1.049 5.244 1.146 5.146L1.646 4.646C1.882 4.411 2 4.126 2 3.793L2 2C2 1.724 2.098 1.488 2.293 1.293C2.488 1.098 2.724 1 3 1C3.276 1 3.512 1.098 3.707 1.293C3.902 1.488 4 1.724 4 2L4 3.793C4 4.126 4.118 4.411 4.354 4.646ZM2.001 5.706C2.014 7.212 2.171 8.479 2.472 9.508C2.784 10.575 3.265 11.433 3.916 12.084C4.567 12.735 5.425 13.216 6.492 13.528C7.568 13.843 8.904 14 10.5 14C10.935 14 11.325 13.949 11.672 13.848C11.978 13.759 12.237 13.635 12.45 13.475C12.636 13.335 12.777 13.177 12.871 12.999C12.957 12.838 13 12.672 13 12.5C13 12.415 12.972 12.349 12.917 12.302C12.827 12.224 12.673 12.162 12.454 12.113C12.232 12.064 11.941 12.031 11.579 12.015C11.352 12.005 10.993 12 10.5 12C9.573 12 8.707 11.84 7.901 11.519C7.111 11.205 6.422 10.754 5.834 10.166C5.246 9.578 4.795 8.889 4.481 8.099C4.185 7.354 4.025 6.558 4.003 5.71L3.646 5.354C3.439 5.147 3.28 4.908 3.168 4.638C3.056 4.367 3 4.086 3 3.793C3 4.086 2.944 4.367 2.832 4.638C2.72 4.908 2.561 5.147 2.354 5.354L2.001 5.706Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "banana" (line-round), MIT. https://gentleface.com/icons/banana -->
<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="M4.354 4.646L4.854 5.146C4.951 5.244 5 5.362 5 5.5C5 6.299 5.137 7.042 5.41 7.729C5.674 8.392 6.051 8.968 6.541 9.459C7.032 9.949 7.608 10.326 8.271 10.59C8.958 10.863 9.701 11 10.5 11C11.007 11 11.382 11.005 11.624 11.016C12.043 11.035 12.393 11.075 12.671 11.137C13.052 11.222 13.351 11.357 13.568 11.542C13.856 11.789 14 12.109 14 12.5C14 12.839 13.918 13.162 13.754 13.47C13.589 13.778 13.355 14.047 13.05 14.275C12.406 14.758 11.556 15 10.5 15C8.808 15 7.379 14.829 6.211 14.488C4.981 14.128 3.98 13.562 3.209 12.791C2.438 12.02 1.872 11.019 1.512 9.789C1.171 8.621 1 7.192 1 5.5C1 5.362 1.049 5.244 1.146 5.146L1.646 4.646C1.882 4.411 2 4.126 2 3.793L2 2C2 1.724 2.098 1.488 2.293 1.293C2.488 1.098 2.724 1 3 1C3.276 1 3.512 1.098 3.707 1.293C3.902 1.488 4 1.724 4 2L4 3.793C4 4.126 4.118 4.411 4.354 4.646ZM2.001 5.706C2.014 7.212 2.171 8.479 2.472 9.508C2.784 10.575 3.265 11.433 3.916 12.084C4.567 12.735 5.425 13.216 6.492 13.528C7.568 13.843 8.904 14 10.5 14C10.935 14 11.325 13.949 11.672 13.848C11.978 13.759 12.237 13.635 12.45 13.475C12.636 13.335 12.777 13.177 12.871 12.999C12.957 12.838 13 12.672 13 12.5C13 12.415 12.972 12.349 12.917 12.302C12.827 12.224 12.673 12.162 12.454 12.113C12.232 12.064 11.941 12.031 11.579 12.015C11.352 12.005 10.993 12 10.5 12C9.573 12 8.707 11.84 7.901 11.519C7.111 11.205 6.422 10.754 5.834 10.166C5.246 9.578 4.795 8.889 4.481 8.099C4.185 7.354 4.025 6.558 4.003 5.71L3.646 5.354C3.439 5.147 3.28 4.908 3.168 4.638C3.056 4.367 3 4.086 3 3.793C3 4.086 2.944 4.367 2.832 4.638C2.72 4.908 2.561 5.147 2.354 5.354L2.001 5.706Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "banana" (line-round), MIT. https://gentleface.com/icons/banana. Takes the text color. */
.icon-banana {
  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='M4.354 4.646L4.854 5.146C4.951 5.244 5 5.362 5 5.5C5 6.299 5.137 7.042 5.41 7.729C5.674 8.392 6.051 8.968 6.541 9.459C7.032 9.949 7.608 10.326 8.271 10.59C8.958 10.863 9.701 11 10.5 11C11.007 11 11.382 11.005 11.624 11.016C12.043 11.035 12.393 11.075 12.671 11.137C13.052 11.222 13.351 11.357 13.568 11.542C13.856 11.789 14 12.109 14 12.5C14 12.839 13.918 13.162 13.754 13.47C13.589 13.778 13.355 14.047 13.05 14.275C12.406 14.758 11.556 15 10.5 15C8.808 15 7.379 14.829 6.211 14.488C4.981 14.128 3.98 13.562 3.209 12.791C2.438 12.02 1.872 11.019 1.512 9.789C1.171 8.621 1 7.192 1 5.5C1 5.362 1.049 5.244 1.146 5.146L1.646 4.646C1.882 4.411 2 4.126 2 3.793L2 2C2 1.724 2.098 1.488 2.293 1.293C2.488 1.098 2.724 1 3 1C3.276 1 3.512 1.098 3.707 1.293C3.902 1.488 4 1.724 4 2L4 3.793C4 4.126 4.118 4.411 4.354 4.646ZM2.001 5.706C2.014 7.212 2.171 8.479 2.472 9.508C2.784 10.575 3.265 11.433 3.916 12.084C4.567 12.735 5.425 13.216 6.492 13.528C7.568 13.843 8.904 14 10.5 14C10.935 14 11.325 13.949 11.672 13.848C11.978 13.759 12.237 13.635 12.45 13.475C12.636 13.335 12.777 13.177 12.871 12.999C12.957 12.838 13 12.672 13 12.5C13 12.415 12.972 12.349 12.917 12.302C12.827 12.224 12.673 12.162 12.454 12.113C12.232 12.064 11.941 12.031 11.579 12.015C11.352 12.005 10.993 12 10.5 12C9.573 12 8.707 11.84 7.901 11.519C7.111 11.205 6.422 10.754 5.834 10.166C5.246 9.578 4.795 8.889 4.481 8.099C4.185 7.354 4.025 6.558 4.003 5.71L3.646 5.354C3.439 5.147 3.28 4.908 3.168 4.638C3.056 4.367 3 4.086 3 3.793C3 4.086 2.944 4.367 2.832 4.638C2.72 4.908 2.561 5.147 2.354 5.354L2.001 5.706Z'/%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='M4.354 4.646L4.854 5.146C4.951 5.244 5 5.362 5 5.5C5 6.299 5.137 7.042 5.41 7.729C5.674 8.392 6.051 8.968 6.541 9.459C7.032 9.949 7.608 10.326 8.271 10.59C8.958 10.863 9.701 11 10.5 11C11.007 11 11.382 11.005 11.624 11.016C12.043 11.035 12.393 11.075 12.671 11.137C13.052 11.222 13.351 11.357 13.568 11.542C13.856 11.789 14 12.109 14 12.5C14 12.839 13.918 13.162 13.754 13.47C13.589 13.778 13.355 14.047 13.05 14.275C12.406 14.758 11.556 15 10.5 15C8.808 15 7.379 14.829 6.211 14.488C4.981 14.128 3.98 13.562 3.209 12.791C2.438 12.02 1.872 11.019 1.512 9.789C1.171 8.621 1 7.192 1 5.5C1 5.362 1.049 5.244 1.146 5.146L1.646 4.646C1.882 4.411 2 4.126 2 3.793L2 2C2 1.724 2.098 1.488 2.293 1.293C2.488 1.098 2.724 1 3 1C3.276 1 3.512 1.098 3.707 1.293C3.902 1.488 4 1.724 4 2L4 3.793C4 4.126 4.118 4.411 4.354 4.646ZM2.001 5.706C2.014 7.212 2.171 8.479 2.472 9.508C2.784 10.575 3.265 11.433 3.916 12.084C4.567 12.735 5.425 13.216 6.492 13.528C7.568 13.843 8.904 14 10.5 14C10.935 14 11.325 13.949 11.672 13.848C11.978 13.759 12.237 13.635 12.45 13.475C12.636 13.335 12.777 13.177 12.871 12.999C12.957 12.838 13 12.672 13 12.5C13 12.415 12.972 12.349 12.917 12.302C12.827 12.224 12.673 12.162 12.454 12.113C12.232 12.064 11.941 12.031 11.579 12.015C11.352 12.005 10.993 12 10.5 12C9.573 12 8.707 11.84 7.901 11.519C7.111 11.205 6.422 10.754 5.834 10.166C5.246 9.578 4.795 8.889 4.481 8.099C4.185 7.354 4.025 6.558 4.003 5.71L3.646 5.354C3.439 5.147 3.28 4.908 3.168 4.638C3.056 4.367 3 4.086 3 3.793C3 4.086 2.944 4.367 2.832 4.638C2.72 4.908 2.561 5.147 2.354 5.354L2.001 5.706Z'/%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='M4.354 4.646L4.854 5.146C4.951 5.244 5 5.362 5 5.5C5 6.299 5.137 7.042 5.41 7.729C5.674 8.392 6.051 8.968 6.541 9.459C7.032 9.949 7.608 10.326 8.271 10.59C8.958 10.863 9.701 11 10.5 11C11.007 11 11.382 11.005 11.624 11.016C12.043 11.035 12.393 11.075 12.671 11.137C13.052 11.222 13.351 11.357 13.568 11.542C13.856 11.789 14 12.109 14 12.5C14 12.839 13.918 13.162 13.754 13.47C13.589 13.778 13.355 14.047 13.05 14.275C12.406 14.758 11.556 15 10.5 15C8.808 15 7.379 14.829 6.211 14.488C4.981 14.128 3.98 13.562 3.209 12.791C2.438 12.02 1.872 11.019 1.512 9.789C1.171 8.621 1 7.192 1 5.5C1 5.362 1.049 5.244 1.146 5.146L1.646 4.646C1.882 4.411 2 4.126 2 3.793L2 2C2 1.724 2.098 1.488 2.293 1.293C2.488 1.098 2.724 1 3 1C3.276 1 3.512 1.098 3.707 1.293C3.902 1.488 4 1.724 4 2L4 3.793C4 4.126 4.118 4.411 4.354 4.646ZM2.001 5.706C2.014 7.212 2.171 8.479 2.472 9.508C2.784 10.575 3.265 11.433 3.916 12.084C4.567 12.735 5.425 13.216 6.492 13.528C7.568 13.843 8.904 14 10.5 14C10.935 14 11.325 13.949 11.672 13.848C11.978 13.759 12.237 13.635 12.45 13.475C12.636 13.335 12.777 13.177 12.871 12.999C12.957 12.838 13 12.672 13 12.5C13 12.415 12.972 12.349 12.917 12.302C12.827 12.224 12.673 12.162 12.454 12.113C12.232 12.064 11.941 12.031 11.579 12.015C11.352 12.005 10.993 12 10.5 12C9.573 12 8.707 11.84 7.901 11.519C7.111 11.205 6.422 10.754 5.834 10.166C5.246 9.578 4.795 8.889 4.481 8.099C4.185 7.354 4.025 6.558 4.003 5.71L3.646 5.354C3.439 5.147 3.28 4.908 3.168 4.638C3.056 4.367 3 4.086 3 3.793C3 4.086 2.944 4.367 2.832 4.638C2.72 4.908 2.561 5.147 2.354 5.354L2.001 5.706Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct BananaIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 4.354, y: 4.646))
        p.addLine(to: CGPoint(x: 4.854, y: 5.146))
        p.addCurve(to: CGPoint(x: 5, y: 5.5), control1: CGPoint(x: 4.951, y: 5.244), control2: CGPoint(x: 5, y: 5.362))
        p.addCurve(to: CGPoint(x: 5.41, y: 7.729), control1: CGPoint(x: 5, y: 6.299), control2: CGPoint(x: 5.137, y: 7.042))
        p.addCurve(to: CGPoint(x: 6.541, y: 9.459), control1: CGPoint(x: 5.674, y: 8.392), control2: CGPoint(x: 6.051, y: 8.968))
        p.addCurve(to: CGPoint(x: 8.271, y: 10.59), control1: CGPoint(x: 7.032, y: 9.949), control2: CGPoint(x: 7.608, y: 10.326))
        p.addCurve(to: CGPoint(x: 10.5, y: 11), control1: CGPoint(x: 8.958, y: 10.863), control2: CGPoint(x: 9.701, y: 11))
        p.addCurve(to: CGPoint(x: 11.624, y: 11.016), control1: CGPoint(x: 11.007, y: 11), control2: CGPoint(x: 11.382, y: 11.005))
        p.addCurve(to: CGPoint(x: 12.671, y: 11.137), control1: CGPoint(x: 12.043, y: 11.035), control2: CGPoint(x: 12.393, y: 11.075))
        p.addCurve(to: CGPoint(x: 13.568, y: 11.542), control1: CGPoint(x: 13.052, y: 11.222), control2: CGPoint(x: 13.351, y: 11.357))
        p.addCurve(to: CGPoint(x: 14, y: 12.5), control1: CGPoint(x: 13.856, y: 11.789), control2: CGPoint(x: 14, y: 12.109))
        p.addCurve(to: CGPoint(x: 13.754, y: 13.47), control1: CGPoint(x: 14, y: 12.839), control2: CGPoint(x: 13.918, y: 13.162))
        p.addCurve(to: CGPoint(x: 13.05, y: 14.275), control1: CGPoint(x: 13.589, y: 13.778), control2: CGPoint(x: 13.355, y: 14.047))
        p.addCurve(to: CGPoint(x: 10.5, y: 15), control1: CGPoint(x: 12.406, y: 14.758), control2: CGPoint(x: 11.556, y: 15))
        p.addCurve(to: CGPoint(x: 6.211, y: 14.488), control1: CGPoint(x: 8.808, y: 15), control2: CGPoint(x: 7.379, y: 14.829))
        p.addCurve(to: CGPoint(x: 3.209, y: 12.791), control1: CGPoint(x: 4.981, y: 14.128), control2: CGPoint(x: 3.98, y: 13.562))
        p.addCurve(to: CGPoint(x: 1.512, y: 9.789), control1: CGPoint(x: 2.438, y: 12.02), control2: CGPoint(x: 1.872, y: 11.019))
        p.addCurve(to: CGPoint(x: 1, y: 5.5), control1: CGPoint(x: 1.171, y: 8.621), control2: CGPoint(x: 1, y: 7.192))
        p.addCurve(to: CGPoint(x: 1.146, y: 5.146), control1: CGPoint(x: 1, y: 5.362), control2: CGPoint(x: 1.049, y: 5.244))
        p.addLine(to: CGPoint(x: 1.646, y: 4.646))
        p.addCurve(to: CGPoint(x: 2, y: 3.793), control1: CGPoint(x: 1.882, y: 4.411), control2: CGPoint(x: 2, y: 4.126))
        p.addLine(to: CGPoint(x: 2, y: 2))
        p.addCurve(to: CGPoint(x: 2.293, y: 1.293), control1: CGPoint(x: 2, y: 1.724), control2: CGPoint(x: 2.098, y: 1.488))
        p.addCurve(to: CGPoint(x: 3, y: 1), control1: CGPoint(x: 2.488, y: 1.098), control2: CGPoint(x: 2.724, y: 1))
        p.addCurve(to: CGPoint(x: 3.707, y: 1.293), control1: CGPoint(x: 3.276, y: 1), control2: CGPoint(x: 3.512, y: 1.098))
        p.addCurve(to: CGPoint(x: 4, y: 2), control1: CGPoint(x: 3.902, y: 1.488), control2: CGPoint(x: 4, y: 1.724))
        p.addLine(to: CGPoint(x: 4, y: 3.793))
        p.addCurve(to: CGPoint(x: 4.354, y: 4.646), control1: CGPoint(x: 4, y: 4.126), control2: CGPoint(x: 4.118, y: 4.411))
        p.closeSubpath()
        p.move(to: CGPoint(x: 2.001, y: 5.706))
        p.addCurve(to: CGPoint(x: 2.472, y: 9.508), control1: CGPoint(x: 2.014, y: 7.212), control2: CGPoint(x: 2.171, y: 8.479))
        p.addCurve(to: CGPoint(x: 3.916, y: 12.084), control1: CGPoint(x: 2.784, y: 10.575), control2: CGPoint(x: 3.265, y: 11.433))
        p.addCurve(to: CGPoint(x: 6.492, y: 13.528), control1: CGPoint(x: 4.567, y: 12.735), control2: CGPoint(x: 5.425, y: 13.216))
        p.addCurve(to: CGPoint(x: 10.5, y: 14), control1: CGPoint(x: 7.568, y: 13.843), control2: CGPoint(x: 8.904, y: 14))
        p.addCurve(to: CGPoint(x: 11.672, y: 13.848), control1: CGPoint(x: 10.935, y: 14), control2: CGPoint(x: 11.325, y: 13.949))
        p.addCurve(to: CGPoint(x: 12.45, y: 13.475), control1: CGPoint(x: 11.978, y: 13.759), control2: CGPoint(x: 12.237, y: 13.635))
        p.addCurve(to: CGPoint(x: 12.871, y: 12.999), control1: CGPoint(x: 12.636, y: 13.335), control2: CGPoint(x: 12.777, y: 13.177))
        p.addCurve(to: CGPoint(x: 13, y: 12.5), control1: CGPoint(x: 12.957, y: 12.838), control2: CGPoint(x: 13, y: 12.672))
        p.addCurve(to: CGPoint(x: 12.917, y: 12.302), control1: CGPoint(x: 13, y: 12.415), control2: CGPoint(x: 12.972, y: 12.349))
        p.addCurve(to: CGPoint(x: 12.454, y: 12.113), control1: CGPoint(x: 12.827, y: 12.224), control2: CGPoint(x: 12.673, y: 12.162))
        p.addCurve(to: CGPoint(x: 11.579, y: 12.015), control1: CGPoint(x: 12.232, y: 12.064), control2: CGPoint(x: 11.941, y: 12.031))
        p.addCurve(to: CGPoint(x: 10.5, y: 12), control1: CGPoint(x: 11.352, y: 12.005), control2: CGPoint(x: 10.993, y: 12))
        p.addCurve(to: CGPoint(x: 7.901, y: 11.519), control1: CGPoint(x: 9.573, y: 12), control2: CGPoint(x: 8.707, y: 11.84))
        p.addCurve(to: CGPoint(x: 5.834, y: 10.166), control1: CGPoint(x: 7.111, y: 11.205), control2: CGPoint(x: 6.422, y: 10.754))
        p.addCurve(to: CGPoint(x: 4.481, y: 8.099), control1: CGPoint(x: 5.246, y: 9.578), control2: CGPoint(x: 4.795, y: 8.889))
        p.addCurve(to: CGPoint(x: 4.003, y: 5.71), control1: CGPoint(x: 4.185, y: 7.354), control2: CGPoint(x: 4.025, y: 6.558))
        p.addLine(to: CGPoint(x: 3.646, y: 5.354))
        p.addCurve(to: CGPoint(x: 3.168, y: 4.638), control1: CGPoint(x: 3.439, y: 5.147), control2: CGPoint(x: 3.28, y: 4.908))
        p.addCurve(to: CGPoint(x: 3, y: 3.793), control1: CGPoint(x: 3.056, y: 4.367), control2: CGPoint(x: 3, y: 4.086))
        p.addCurve(to: CGPoint(x: 2.832, y: 4.638), control1: CGPoint(x: 3, y: 4.086), control2: CGPoint(x: 2.944, y: 4.367))
        p.addCurve(to: CGPoint(x: 2.354, y: 5.354), control1: CGPoint(x: 2.72, y: 4.908), control2: CGPoint(x: 2.561, y: 5.147))
        p.addLine(to: CGPoint(x: 2.001, y: 5.706))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "banana" (line-round), MIT. https://gentleface.com/icons/banana
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 BananaIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "banana", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M4.354 4.646L4.854 5.146C4.951 5.244 5 5.362 5 5.5C5 6.299 5.137 7.042 5.41 7.729C5.674 8.392 6.051 8.968 6.541 9.459C7.032 9.949 7.608 10.326 8.271 10.59C8.958 10.863 9.701 11 10.5 11C11.007 11 11.382 11.005 11.624 11.016C12.043 11.035 12.393 11.075 12.671 11.137C13.052 11.222 13.351 11.357 13.568 11.542C13.856 11.789 14 12.109 14 12.5C14 12.839 13.918 13.162 13.754 13.47C13.589 13.778 13.355 14.047 13.05 14.275C12.406 14.758 11.556 15 10.5 15C8.808 15 7.379 14.829 6.211 14.488C4.981 14.128 3.98 13.562 3.209 12.791C2.438 12.02 1.872 11.019 1.512 9.789C1.171 8.621 1 7.192 1 5.5C1 5.362 1.049 5.244 1.146 5.146L1.646 4.646C1.882 4.411 2 4.126 2 3.793L2 2C2 1.724 2.098 1.488 2.293 1.293C2.488 1.098 2.724 1 3 1C3.276 1 3.512 1.098 3.707 1.293C3.902 1.488 4 1.724 4 2L4 3.793C4 4.126 4.118 4.411 4.354 4.646ZM2.001 5.706C2.014 7.212 2.171 8.479 2.472 9.508C2.784 10.575 3.265 11.433 3.916 12.084C4.567 12.735 5.425 13.216 6.492 13.528C7.568 13.843 8.904 14 10.5 14C10.935 14 11.325 13.949 11.672 13.848C11.978 13.759 12.237 13.635 12.45 13.475C12.636 13.335 12.777 13.177 12.871 12.999C12.957 12.838 13 12.672 13 12.5C13 12.415 12.972 12.349 12.917 12.302C12.827 12.224 12.673 12.162 12.454 12.113C12.232 12.064 11.941 12.031 11.579 12.015C11.352 12.005 10.993 12 10.5 12C9.573 12 8.707 11.84 7.901 11.519C7.111 11.205 6.422 10.754 5.834 10.166C5.246 9.578 4.795 8.889 4.481 8.099C4.185 7.354 4.025 6.558 4.003 5.71L3.646 5.354C3.439 5.147 3.28 4.908 3.168 4.638C3.056 4.367 3 4.086 3 3.793C3 4.086 2.944 4.367 2.832 4.638C2.72 4.908 2.561 5.147 2.354 5.354L2.001 5.706Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_banana.xml · Gentleface "banana" (line-round), MIT. https://gentleface.com/icons/banana -->
<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="M4.354 4.646L4.854 5.146C4.951 5.244 5 5.362 5 5.5C5 6.299 5.137 7.042 5.41 7.729C5.674 8.392 6.051 8.968 6.541 9.459C7.032 9.949 7.608 10.326 8.271 10.59C8.958 10.863 9.701 11 10.5 11C11.007 11 11.382 11.005 11.624 11.016C12.043 11.035 12.393 11.075 12.671 11.137C13.052 11.222 13.351 11.357 13.568 11.542C13.856 11.789 14 12.109 14 12.5C14 12.839 13.918 13.162 13.754 13.47C13.589 13.778 13.355 14.047 13.05 14.275C12.406 14.758 11.556 15 10.5 15C8.808 15 7.379 14.829 6.211 14.488C4.981 14.128 3.98 13.562 3.209 12.791C2.438 12.02 1.872 11.019 1.512 9.789C1.171 8.621 1 7.192 1 5.5C1 5.362 1.049 5.244 1.146 5.146L1.646 4.646C1.882 4.411 2 4.126 2 3.793L2 2C2 1.724 2.098 1.488 2.293 1.293C2.488 1.098 2.724 1 3 1C3.276 1 3.512 1.098 3.707 1.293C3.902 1.488 4 1.724 4 2L4 3.793C4 4.126 4.118 4.411 4.354 4.646ZM2.001 5.706C2.014 7.212 2.171 8.479 2.472 9.508C2.784 10.575 3.265 11.433 3.916 12.084C4.567 12.735 5.425 13.216 6.492 13.528C7.568 13.843 8.904 14 10.5 14C10.935 14 11.325 13.949 11.672 13.848C11.978 13.759 12.237 13.635 12.45 13.475C12.636 13.335 12.777 13.177 12.871 12.999C12.957 12.838 13 12.672 13 12.5C13 12.415 12.972 12.349 12.917 12.302C12.827 12.224 12.673 12.162 12.454 12.113C12.232 12.064 11.941 12.031 11.579 12.015C11.352 12.005 10.993 12 10.5 12C9.573 12 8.707 11.84 7.901 11.519C7.111 11.205 6.422 10.754 5.834 10.166C5.246 9.578 4.795 8.889 4.481 8.099C4.185 7.354 4.025 6.558 4.003 5.71L3.646 5.354C3.439 5.147 3.28 4.908 3.168 4.638C3.056 4.367 3 4.086 3 3.793C3 4.086 2.944 4.367 2.832 4.638C2.72 4.908 2.561 5.147 2.354 5.354L2.001 5.706Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(4.354, 4.646)
      ..lineTo(4.854, 5.146)
      ..cubicTo(4.951, 5.244, 5, 5.362, 5, 5.5)
      ..cubicTo(5, 6.299, 5.137, 7.042, 5.41, 7.729)
      ..cubicTo(5.674, 8.392, 6.051, 8.968, 6.541, 9.459)
      ..cubicTo(7.032, 9.949, 7.608, 10.326, 8.271, 10.59)
      ..cubicTo(8.958, 10.863, 9.701, 11, 10.5, 11)
      ..cubicTo(11.007, 11, 11.382, 11.005, 11.624, 11.016)
      ..cubicTo(12.043, 11.035, 12.393, 11.075, 12.671, 11.137)
      ..cubicTo(13.052, 11.222, 13.351, 11.357, 13.568, 11.542)
      ..cubicTo(13.856, 11.789, 14, 12.109, 14, 12.5)
      ..cubicTo(14, 12.839, 13.918, 13.162, 13.754, 13.47)
      ..cubicTo(13.589, 13.778, 13.355, 14.047, 13.05, 14.275)
      ..cubicTo(12.406, 14.758, 11.556, 15, 10.5, 15)
      ..cubicTo(8.808, 15, 7.379, 14.829, 6.211, 14.488)
      ..cubicTo(4.981, 14.128, 3.98, 13.562, 3.209, 12.791)
      ..cubicTo(2.438, 12.02, 1.872, 11.019, 1.512, 9.789)
      ..cubicTo(1.171, 8.621, 1, 7.192, 1, 5.5)
      ..cubicTo(1, 5.362, 1.049, 5.244, 1.146, 5.146)
      ..lineTo(1.646, 4.646)
      ..cubicTo(1.882, 4.411, 2, 4.126, 2, 3.793)
      ..lineTo(2, 2)
      ..cubicTo(2, 1.724, 2.098, 1.488, 2.293, 1.293)
      ..cubicTo(2.488, 1.098, 2.724, 1, 3, 1)
      ..cubicTo(3.276, 1, 3.512, 1.098, 3.707, 1.293)
      ..cubicTo(3.902, 1.488, 4, 1.724, 4, 2)
      ..lineTo(4, 3.793)
      ..cubicTo(4, 4.126, 4.118, 4.411, 4.354, 4.646)
      ..close()
      ..moveTo(2.001, 5.706)
      ..cubicTo(2.014, 7.212, 2.171, 8.479, 2.472, 9.508)
      ..cubicTo(2.784, 10.575, 3.265, 11.433, 3.916, 12.084)
      ..cubicTo(4.567, 12.735, 5.425, 13.216, 6.492, 13.528)
      ..cubicTo(7.568, 13.843, 8.904, 14, 10.5, 14)
      ..cubicTo(10.935, 14, 11.325, 13.949, 11.672, 13.848)
      ..cubicTo(11.978, 13.759, 12.237, 13.635, 12.45, 13.475)
      ..cubicTo(12.636, 13.335, 12.777, 13.177, 12.871, 12.999)
      ..cubicTo(12.957, 12.838, 13, 12.672, 13, 12.5)
      ..cubicTo(13, 12.415, 12.972, 12.349, 12.917, 12.302)
      ..cubicTo(12.827, 12.224, 12.673, 12.162, 12.454, 12.113)
      ..cubicTo(12.232, 12.064, 11.941, 12.031, 11.579, 12.015)
      ..cubicTo(11.352, 12.005, 10.993, 12, 10.5, 12)
      ..cubicTo(9.573, 12, 8.707, 11.84, 7.901, 11.519)
      ..cubicTo(7.111, 11.205, 6.422, 10.754, 5.834, 10.166)
      ..cubicTo(5.246, 9.578, 4.795, 8.889, 4.481, 8.099)
      ..cubicTo(4.185, 7.354, 4.025, 6.558, 4.003, 5.71)
      ..lineTo(3.646, 5.354)
      ..cubicTo(3.439, 5.147, 3.28, 4.908, 3.168, 4.638)
      ..cubicTo(3.056, 4.367, 3, 4.086, 3, 3.793)
      ..cubicTo(3, 4.086, 2.944, 4.367, 2.832, 4.638)
      ..cubicTo(2.72, 4.908, 2.561, 5.147, 2.354, 5.354)
      ..lineTo(2.001, 5.706)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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