gentleface

Gentleface › Food & drink › banana

banana icon

Banana: banana. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

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
// 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: see /icons/banana.md
Svelte
Svelte: see /icons/banana.md
HTML img
HTML img: see /icons/banana.md
CSS
CSS: see /icons/banana.md
Data URL
Data URL: see /icons/banana.md
Sprite
Sprite: see /icons/banana.md
SwiftUI
SwiftUI: see /icons/banana.md
Compose
Compose: see /icons/banana.md
Android XML
Android XML: see /icons/banana.md
Flutter
Flutter: see /icons/banana.md

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. 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. More in how to use.

With npm: import { BananaIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
banana
Tags
banana, fruit, tropical, potassium, snack, smoothie, produce, healthy, groceries, food
Category
Food & drink
Component name
BananaIcon
History
  • released in 0.2.0
  • added
Since
version 0.2.0

More food & drink icons

For agents

Metadata: /icons/banana.json · Markdown: /icons/banana.md · SVG: https://gentleface.com/svg/{style}/16/banana.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/banana.png