# lemon icon

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

- Category: Food & drink
- Use it for: lemon, citrus, lime
- Tags: lemon, citrus, lime, orange, slice, fruit, sour, vitamin, juice, food
- Component name: LemonIcon
- 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/lemon.svg · PNG https://gentleface.com/png/line-round/16/lemon.png · https://gentleface.com/png/line-round/32/lemon.png · https://gentleface.com/png/line-round/48/lemon.png
- line-soft: https://gentleface.com/svg/line-soft/16/lemon.svg · PNG https://gentleface.com/png/line-soft/16/lemon.png · https://gentleface.com/png/line-soft/32/lemon.png · https://gentleface.com/png/line-soft/48/lemon.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/lemon.svg · PNG https://gentleface.com/png/line-sharp/16/lemon.png · https://gentleface.com/png/line-sharp/32/lemon.png · https://gentleface.com/png/line-sharp/48/lemon.png
- solid-round: https://gentleface.com/svg/solid-round/16/lemon.svg · PNG https://gentleface.com/png/solid-round/16/lemon.png · https://gentleface.com/png/solid-round/32/lemon.png · https://gentleface.com/png/solid-round/48/lemon.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/lemon.svg · PNG https://gentleface.com/png/solid-soft/16/lemon.png · https://gentleface.com/png/solid-soft/32/lemon.png · https://gentleface.com/png/solid-soft/48/lemon.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/lemon.svg · PNG https://gentleface.com/png/solid-sharp/16/lemon.png · https://gentleface.com/png/solid-sharp/32/lemon.png · https://gentleface.com/png/solid-sharp/48/lemon.png

The SVG of every style: https://gentleface.com/icons/lemon.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="M8.707 6L4.027 6C4.062 5.688 4.13 5.38 4.231 5.077C4.4 4.57 4.651 4.108 4.984 3.691L3.564 2.271C3.139 2.765 2.796 3.314 2.535 3.918C2.178 4.742 2 5.603 2 6.5C2 7.397 2.178 8.258 2.535 9.082C2.863 9.84 3.319 10.512 3.904 11.096C4.488 11.681 5.16 12.137 5.918 12.465C6.742 12.822 7.603 13 8.5 13C9.397 13 10.258 12.822 11.082 12.465C11.686 12.204 12.235 11.861 12.729 11.436L11.309 10.016C10.892 10.349 10.43 10.6 9.923 10.769C9.62 10.87 9.312 10.938 9 10.973L9 6.293L13.803 11.096C13.903 11.196 13.953 11.314 13.953 11.45C13.953 11.586 13.903 11.704 13.803 11.803C13.129 12.478 12.354 13.004 11.479 13.383C10.528 13.794 9.536 14 8.5 14C7.464 14 6.472 13.794 5.521 13.383C4.646 13.004 3.871 12.478 3.197 11.803C2.522 11.129 1.996 10.354 1.617 9.479C1.206 8.528 1 7.536 1 6.5C1 5.464 1.206 4.472 1.617 3.521C1.996 2.646 2.522 1.871 3.197 1.197C3.294 1.099 3.412 1.05 3.55 1.05C3.688 1.05 3.806 1.099 3.904 1.197L8.707 6ZM4.028 7L7.293 7L4.984 9.309C4.758 9.027 4.569 8.72 4.415 8.389C4.21 7.945 4.081 7.482 4.028 7ZM5.691 10.016L8 7.707L8 10.972C7.518 10.919 7.055 10.79 6.611 10.585C6.28 10.431 5.973 10.242 5.691 10.016Z"/></svg>
```

### React

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

export function LemonIcon(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="M8.707 6L4.027 6C4.062 5.688 4.13 5.38 4.231 5.077C4.4 4.57 4.651 4.108 4.984 3.691L3.564 2.271C3.139 2.765 2.796 3.314 2.535 3.918C2.178 4.742 2 5.603 2 6.5C2 7.397 2.178 8.258 2.535 9.082C2.863 9.84 3.319 10.512 3.904 11.096C4.488 11.681 5.16 12.137 5.918 12.465C6.742 12.822 7.603 13 8.5 13C9.397 13 10.258 12.822 11.082 12.465C11.686 12.204 12.235 11.861 12.729 11.436L11.309 10.016C10.892 10.349 10.43 10.6 9.923 10.769C9.62 10.87 9.312 10.938 9 10.973L9 6.293L13.803 11.096C13.903 11.196 13.953 11.314 13.953 11.45C13.953 11.586 13.903 11.704 13.803 11.803C13.129 12.478 12.354 13.004 11.479 13.383C10.528 13.794 9.536 14 8.5 14C7.464 14 6.472 13.794 5.521 13.383C4.646 13.004 3.871 12.478 3.197 11.803C2.522 11.129 1.996 10.354 1.617 9.479C1.206 8.528 1 7.536 1 6.5C1 5.464 1.206 4.472 1.617 3.521C1.996 2.646 2.522 1.871 3.197 1.197C3.294 1.099 3.412 1.05 3.55 1.05C3.688 1.05 3.806 1.099 3.904 1.197L8.707 6ZM4.028 7L7.293 7L4.984 9.309C4.758 9.027 4.569 8.72 4.415 8.389C4.21 7.945 4.081 7.482 4.028 7ZM5.691 10.016L8 7.707L8 10.972C7.518 10.919 7.055 10.79 6.611 10.585C6.28 10.431 5.973 10.242 5.691 10.016Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "lemon" (line-round), MIT. https://gentleface.com/icons/lemon -->
<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="M8.707 6L4.027 6C4.062 5.688 4.13 5.38 4.231 5.077C4.4 4.57 4.651 4.108 4.984 3.691L3.564 2.271C3.139 2.765 2.796 3.314 2.535 3.918C2.178 4.742 2 5.603 2 6.5C2 7.397 2.178 8.258 2.535 9.082C2.863 9.84 3.319 10.512 3.904 11.096C4.488 11.681 5.16 12.137 5.918 12.465C6.742 12.822 7.603 13 8.5 13C9.397 13 10.258 12.822 11.082 12.465C11.686 12.204 12.235 11.861 12.729 11.436L11.309 10.016C10.892 10.349 10.43 10.6 9.923 10.769C9.62 10.87 9.312 10.938 9 10.973L9 6.293L13.803 11.096C13.903 11.196 13.953 11.314 13.953 11.45C13.953 11.586 13.903 11.704 13.803 11.803C13.129 12.478 12.354 13.004 11.479 13.383C10.528 13.794 9.536 14 8.5 14C7.464 14 6.472 13.794 5.521 13.383C4.646 13.004 3.871 12.478 3.197 11.803C2.522 11.129 1.996 10.354 1.617 9.479C1.206 8.528 1 7.536 1 6.5C1 5.464 1.206 4.472 1.617 3.521C1.996 2.646 2.522 1.871 3.197 1.197C3.294 1.099 3.412 1.05 3.55 1.05C3.688 1.05 3.806 1.099 3.904 1.197L8.707 6ZM4.028 7L7.293 7L4.984 9.309C4.758 9.027 4.569 8.72 4.415 8.389C4.21 7.945 4.081 7.482 4.028 7ZM5.691 10.016L8 7.707L8 10.972C7.518 10.919 7.055 10.79 6.611 10.585C6.28 10.431 5.973 10.242 5.691 10.016Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "lemon" (line-round), MIT. https://gentleface.com/icons/lemon -->
<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="M8.707 6L4.027 6C4.062 5.688 4.13 5.38 4.231 5.077C4.4 4.57 4.651 4.108 4.984 3.691L3.564 2.271C3.139 2.765 2.796 3.314 2.535 3.918C2.178 4.742 2 5.603 2 6.5C2 7.397 2.178 8.258 2.535 9.082C2.863 9.84 3.319 10.512 3.904 11.096C4.488 11.681 5.16 12.137 5.918 12.465C6.742 12.822 7.603 13 8.5 13C9.397 13 10.258 12.822 11.082 12.465C11.686 12.204 12.235 11.861 12.729 11.436L11.309 10.016C10.892 10.349 10.43 10.6 9.923 10.769C9.62 10.87 9.312 10.938 9 10.973L9 6.293L13.803 11.096C13.903 11.196 13.953 11.314 13.953 11.45C13.953 11.586 13.903 11.704 13.803 11.803C13.129 12.478 12.354 13.004 11.479 13.383C10.528 13.794 9.536 14 8.5 14C7.464 14 6.472 13.794 5.521 13.383C4.646 13.004 3.871 12.478 3.197 11.803C2.522 11.129 1.996 10.354 1.617 9.479C1.206 8.528 1 7.536 1 6.5C1 5.464 1.206 4.472 1.617 3.521C1.996 2.646 2.522 1.871 3.197 1.197C3.294 1.099 3.412 1.05 3.55 1.05C3.688 1.05 3.806 1.099 3.904 1.197L8.707 6ZM4.028 7L7.293 7L4.984 9.309C4.758 9.027 4.569 8.72 4.415 8.389C4.21 7.945 4.081 7.482 4.028 7ZM5.691 10.016L8 7.707L8 10.972C7.518 10.919 7.055 10.79 6.611 10.585C6.28 10.431 5.973 10.242 5.691 10.016Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "lemon" (line-round), MIT. https://gentleface.com/icons/lemon. Takes the text color. */
.icon-lemon {
  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='M8.707 6L4.027 6C4.062 5.688 4.13 5.38 4.231 5.077C4.4 4.57 4.651 4.108 4.984 3.691L3.564 2.271C3.139 2.765 2.796 3.314 2.535 3.918C2.178 4.742 2 5.603 2 6.5C2 7.397 2.178 8.258 2.535 9.082C2.863 9.84 3.319 10.512 3.904 11.096C4.488 11.681 5.16 12.137 5.918 12.465C6.742 12.822 7.603 13 8.5 13C9.397 13 10.258 12.822 11.082 12.465C11.686 12.204 12.235 11.861 12.729 11.436L11.309 10.016C10.892 10.349 10.43 10.6 9.923 10.769C9.62 10.87 9.312 10.938 9 10.973L9 6.293L13.803 11.096C13.903 11.196 13.953 11.314 13.953 11.45C13.953 11.586 13.903 11.704 13.803 11.803C13.129 12.478 12.354 13.004 11.479 13.383C10.528 13.794 9.536 14 8.5 14C7.464 14 6.472 13.794 5.521 13.383C4.646 13.004 3.871 12.478 3.197 11.803C2.522 11.129 1.996 10.354 1.617 9.479C1.206 8.528 1 7.536 1 6.5C1 5.464 1.206 4.472 1.617 3.521C1.996 2.646 2.522 1.871 3.197 1.197C3.294 1.099 3.412 1.05 3.55 1.05C3.688 1.05 3.806 1.099 3.904 1.197L8.707 6ZM4.028 7L7.293 7L4.984 9.309C4.758 9.027 4.569 8.72 4.415 8.389C4.21 7.945 4.081 7.482 4.028 7ZM5.691 10.016L8 7.707L8 10.972C7.518 10.919 7.055 10.79 6.611 10.585C6.28 10.431 5.973 10.242 5.691 10.016Z'/%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='M8.707 6L4.027 6C4.062 5.688 4.13 5.38 4.231 5.077C4.4 4.57 4.651 4.108 4.984 3.691L3.564 2.271C3.139 2.765 2.796 3.314 2.535 3.918C2.178 4.742 2 5.603 2 6.5C2 7.397 2.178 8.258 2.535 9.082C2.863 9.84 3.319 10.512 3.904 11.096C4.488 11.681 5.16 12.137 5.918 12.465C6.742 12.822 7.603 13 8.5 13C9.397 13 10.258 12.822 11.082 12.465C11.686 12.204 12.235 11.861 12.729 11.436L11.309 10.016C10.892 10.349 10.43 10.6 9.923 10.769C9.62 10.87 9.312 10.938 9 10.973L9 6.293L13.803 11.096C13.903 11.196 13.953 11.314 13.953 11.45C13.953 11.586 13.903 11.704 13.803 11.803C13.129 12.478 12.354 13.004 11.479 13.383C10.528 13.794 9.536 14 8.5 14C7.464 14 6.472 13.794 5.521 13.383C4.646 13.004 3.871 12.478 3.197 11.803C2.522 11.129 1.996 10.354 1.617 9.479C1.206 8.528 1 7.536 1 6.5C1 5.464 1.206 4.472 1.617 3.521C1.996 2.646 2.522 1.871 3.197 1.197C3.294 1.099 3.412 1.05 3.55 1.05C3.688 1.05 3.806 1.099 3.904 1.197L8.707 6ZM4.028 7L7.293 7L4.984 9.309C4.758 9.027 4.569 8.72 4.415 8.389C4.21 7.945 4.081 7.482 4.028 7ZM5.691 10.016L8 7.707L8 10.972C7.518 10.919 7.055 10.79 6.611 10.585C6.28 10.431 5.973 10.242 5.691 10.016Z'/%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='M8.707 6L4.027 6C4.062 5.688 4.13 5.38 4.231 5.077C4.4 4.57 4.651 4.108 4.984 3.691L3.564 2.271C3.139 2.765 2.796 3.314 2.535 3.918C2.178 4.742 2 5.603 2 6.5C2 7.397 2.178 8.258 2.535 9.082C2.863 9.84 3.319 10.512 3.904 11.096C4.488 11.681 5.16 12.137 5.918 12.465C6.742 12.822 7.603 13 8.5 13C9.397 13 10.258 12.822 11.082 12.465C11.686 12.204 12.235 11.861 12.729 11.436L11.309 10.016C10.892 10.349 10.43 10.6 9.923 10.769C9.62 10.87 9.312 10.938 9 10.973L9 6.293L13.803 11.096C13.903 11.196 13.953 11.314 13.953 11.45C13.953 11.586 13.903 11.704 13.803 11.803C13.129 12.478 12.354 13.004 11.479 13.383C10.528 13.794 9.536 14 8.5 14C7.464 14 6.472 13.794 5.521 13.383C4.646 13.004 3.871 12.478 3.197 11.803C2.522 11.129 1.996 10.354 1.617 9.479C1.206 8.528 1 7.536 1 6.5C1 5.464 1.206 4.472 1.617 3.521C1.996 2.646 2.522 1.871 3.197 1.197C3.294 1.099 3.412 1.05 3.55 1.05C3.688 1.05 3.806 1.099 3.904 1.197L8.707 6ZM4.028 7L7.293 7L4.984 9.309C4.758 9.027 4.569 8.72 4.415 8.389C4.21 7.945 4.081 7.482 4.028 7ZM5.691 10.016L8 7.707L8 10.972C7.518 10.919 7.055 10.79 6.611 10.585C6.28 10.431 5.973 10.242 5.691 10.016Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct LemonIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 8.707, y: 6))
        p.addLine(to: CGPoint(x: 4.027, y: 6))
        p.addCurve(to: CGPoint(x: 4.231, y: 5.077), control1: CGPoint(x: 4.062, y: 5.688), control2: CGPoint(x: 4.13, y: 5.38))
        p.addCurve(to: CGPoint(x: 4.984, y: 3.691), control1: CGPoint(x: 4.4, y: 4.57), control2: CGPoint(x: 4.651, y: 4.108))
        p.addLine(to: CGPoint(x: 3.564, y: 2.271))
        p.addCurve(to: CGPoint(x: 2.535, y: 3.918), control1: CGPoint(x: 3.139, y: 2.765), control2: CGPoint(x: 2.796, y: 3.314))
        p.addCurve(to: CGPoint(x: 2, y: 6.5), control1: CGPoint(x: 2.178, y: 4.742), control2: CGPoint(x: 2, y: 5.603))
        p.addCurve(to: CGPoint(x: 2.535, y: 9.082), control1: CGPoint(x: 2, y: 7.397), control2: CGPoint(x: 2.178, y: 8.258))
        p.addCurve(to: CGPoint(x: 3.904, y: 11.096), control1: CGPoint(x: 2.863, y: 9.84), control2: CGPoint(x: 3.319, y: 10.512))
        p.addCurve(to: CGPoint(x: 5.918, y: 12.465), control1: CGPoint(x: 4.488, y: 11.681), control2: CGPoint(x: 5.16, y: 12.137))
        p.addCurve(to: CGPoint(x: 8.5, y: 13), control1: CGPoint(x: 6.742, y: 12.822), control2: CGPoint(x: 7.603, y: 13))
        p.addCurve(to: CGPoint(x: 11.082, y: 12.465), control1: CGPoint(x: 9.397, y: 13), control2: CGPoint(x: 10.258, y: 12.822))
        p.addCurve(to: CGPoint(x: 12.729, y: 11.436), control1: CGPoint(x: 11.686, y: 12.204), control2: CGPoint(x: 12.235, y: 11.861))
        p.addLine(to: CGPoint(x: 11.309, y: 10.016))
        p.addCurve(to: CGPoint(x: 9.923, y: 10.769), control1: CGPoint(x: 10.892, y: 10.349), control2: CGPoint(x: 10.43, y: 10.6))
        p.addCurve(to: CGPoint(x: 9, y: 10.973), control1: CGPoint(x: 9.62, y: 10.87), control2: CGPoint(x: 9.312, y: 10.938))
        p.addLine(to: CGPoint(x: 9, y: 6.293))
        p.addLine(to: CGPoint(x: 13.803, y: 11.096))
        p.addCurve(to: CGPoint(x: 13.953, y: 11.45), control1: CGPoint(x: 13.903, y: 11.196), control2: CGPoint(x: 13.953, y: 11.314))
        p.addCurve(to: CGPoint(x: 13.803, y: 11.803), control1: CGPoint(x: 13.953, y: 11.586), control2: CGPoint(x: 13.903, y: 11.704))
        p.addCurve(to: CGPoint(x: 11.479, y: 13.383), control1: CGPoint(x: 13.129, y: 12.478), control2: CGPoint(x: 12.354, y: 13.004))
        p.addCurve(to: CGPoint(x: 8.5, y: 14), control1: CGPoint(x: 10.528, y: 13.794), control2: CGPoint(x: 9.536, y: 14))
        p.addCurve(to: CGPoint(x: 5.521, y: 13.383), control1: CGPoint(x: 7.464, y: 14), control2: CGPoint(x: 6.472, y: 13.794))
        p.addCurve(to: CGPoint(x: 3.197, y: 11.803), control1: CGPoint(x: 4.646, y: 13.004), control2: CGPoint(x: 3.871, y: 12.478))
        p.addCurve(to: CGPoint(x: 1.617, y: 9.479), control1: CGPoint(x: 2.522, y: 11.129), control2: CGPoint(x: 1.996, y: 10.354))
        p.addCurve(to: CGPoint(x: 1, y: 6.5), control1: CGPoint(x: 1.206, y: 8.528), control2: CGPoint(x: 1, y: 7.536))
        p.addCurve(to: CGPoint(x: 1.617, y: 3.521), control1: CGPoint(x: 1, y: 5.464), control2: CGPoint(x: 1.206, y: 4.472))
        p.addCurve(to: CGPoint(x: 3.197, y: 1.197), control1: CGPoint(x: 1.996, y: 2.646), control2: CGPoint(x: 2.522, y: 1.871))
        p.addCurve(to: CGPoint(x: 3.55, y: 1.05), control1: CGPoint(x: 3.294, y: 1.099), control2: CGPoint(x: 3.412, y: 1.05))
        p.addCurve(to: CGPoint(x: 3.904, y: 1.197), control1: CGPoint(x: 3.688, y: 1.05), control2: CGPoint(x: 3.806, y: 1.099))
        p.addLine(to: CGPoint(x: 8.707, y: 6))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4.028, y: 7))
        p.addLine(to: CGPoint(x: 7.293, y: 7))
        p.addLine(to: CGPoint(x: 4.984, y: 9.309))
        p.addCurve(to: CGPoint(x: 4.415, y: 8.389), control1: CGPoint(x: 4.758, y: 9.027), control2: CGPoint(x: 4.569, y: 8.72))
        p.addCurve(to: CGPoint(x: 4.028, y: 7), control1: CGPoint(x: 4.21, y: 7.945), control2: CGPoint(x: 4.081, y: 7.482))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5.691, y: 10.016))
        p.addLine(to: CGPoint(x: 8, y: 7.707))
        p.addLine(to: CGPoint(x: 8, y: 10.972))
        p.addCurve(to: CGPoint(x: 6.611, y: 10.585), control1: CGPoint(x: 7.518, y: 10.919), control2: CGPoint(x: 7.055, y: 10.79))
        p.addCurve(to: CGPoint(x: 5.691, y: 10.016), control1: CGPoint(x: 6.28, y: 10.431), control2: CGPoint(x: 5.973, y: 10.242))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "lemon" (line-round), MIT. https://gentleface.com/icons/lemon
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 LemonIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "lemon", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M8.707 6L4.027 6C4.062 5.688 4.13 5.38 4.231 5.077C4.4 4.57 4.651 4.108 4.984 3.691L3.564 2.271C3.139 2.765 2.796 3.314 2.535 3.918C2.178 4.742 2 5.603 2 6.5C2 7.397 2.178 8.258 2.535 9.082C2.863 9.84 3.319 10.512 3.904 11.096C4.488 11.681 5.16 12.137 5.918 12.465C6.742 12.822 7.603 13 8.5 13C9.397 13 10.258 12.822 11.082 12.465C11.686 12.204 12.235 11.861 12.729 11.436L11.309 10.016C10.892 10.349 10.43 10.6 9.923 10.769C9.62 10.87 9.312 10.938 9 10.973L9 6.293L13.803 11.096C13.903 11.196 13.953 11.314 13.953 11.45C13.953 11.586 13.903 11.704 13.803 11.803C13.129 12.478 12.354 13.004 11.479 13.383C10.528 13.794 9.536 14 8.5 14C7.464 14 6.472 13.794 5.521 13.383C4.646 13.004 3.871 12.478 3.197 11.803C2.522 11.129 1.996 10.354 1.617 9.479C1.206 8.528 1 7.536 1 6.5C1 5.464 1.206 4.472 1.617 3.521C1.996 2.646 2.522 1.871 3.197 1.197C3.294 1.099 3.412 1.05 3.55 1.05C3.688 1.05 3.806 1.099 3.904 1.197L8.707 6ZM4.028 7L7.293 7L4.984 9.309C4.758 9.027 4.569 8.72 4.415 8.389C4.21 7.945 4.081 7.482 4.028 7ZM5.691 10.016L8 7.707L8 10.972C7.518 10.919 7.055 10.79 6.611 10.585C6.28 10.431 5.973 10.242 5.691 10.016Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_lemon.xml · Gentleface "lemon" (line-round), MIT. https://gentleface.com/icons/lemon -->
<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="M8.707 6L4.027 6C4.062 5.688 4.13 5.38 4.231 5.077C4.4 4.57 4.651 4.108 4.984 3.691L3.564 2.271C3.139 2.765 2.796 3.314 2.535 3.918C2.178 4.742 2 5.603 2 6.5C2 7.397 2.178 8.258 2.535 9.082C2.863 9.84 3.319 10.512 3.904 11.096C4.488 11.681 5.16 12.137 5.918 12.465C6.742 12.822 7.603 13 8.5 13C9.397 13 10.258 12.822 11.082 12.465C11.686 12.204 12.235 11.861 12.729 11.436L11.309 10.016C10.892 10.349 10.43 10.6 9.923 10.769C9.62 10.87 9.312 10.938 9 10.973L9 6.293L13.803 11.096C13.903 11.196 13.953 11.314 13.953 11.45C13.953 11.586 13.903 11.704 13.803 11.803C13.129 12.478 12.354 13.004 11.479 13.383C10.528 13.794 9.536 14 8.5 14C7.464 14 6.472 13.794 5.521 13.383C4.646 13.004 3.871 12.478 3.197 11.803C2.522 11.129 1.996 10.354 1.617 9.479C1.206 8.528 1 7.536 1 6.5C1 5.464 1.206 4.472 1.617 3.521C1.996 2.646 2.522 1.871 3.197 1.197C3.294 1.099 3.412 1.05 3.55 1.05C3.688 1.05 3.806 1.099 3.904 1.197L8.707 6ZM4.028 7L7.293 7L4.984 9.309C4.758 9.027 4.569 8.72 4.415 8.389C4.21 7.945 4.081 7.482 4.028 7ZM5.691 10.016L8 7.707L8 10.972C7.518 10.919 7.055 10.79 6.611 10.585C6.28 10.431 5.973 10.242 5.691 10.016Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(8.707, 6)
      ..lineTo(4.027, 6)
      ..cubicTo(4.062, 5.688, 4.13, 5.38, 4.231, 5.077)
      ..cubicTo(4.4, 4.57, 4.651, 4.108, 4.984, 3.691)
      ..lineTo(3.564, 2.271)
      ..cubicTo(3.139, 2.765, 2.796, 3.314, 2.535, 3.918)
      ..cubicTo(2.178, 4.742, 2, 5.603, 2, 6.5)
      ..cubicTo(2, 7.397, 2.178, 8.258, 2.535, 9.082)
      ..cubicTo(2.863, 9.84, 3.319, 10.512, 3.904, 11.096)
      ..cubicTo(4.488, 11.681, 5.16, 12.137, 5.918, 12.465)
      ..cubicTo(6.742, 12.822, 7.603, 13, 8.5, 13)
      ..cubicTo(9.397, 13, 10.258, 12.822, 11.082, 12.465)
      ..cubicTo(11.686, 12.204, 12.235, 11.861, 12.729, 11.436)
      ..lineTo(11.309, 10.016)
      ..cubicTo(10.892, 10.349, 10.43, 10.6, 9.923, 10.769)
      ..cubicTo(9.62, 10.87, 9.312, 10.938, 9, 10.973)
      ..lineTo(9, 6.293)
      ..lineTo(13.803, 11.096)
      ..cubicTo(13.903, 11.196, 13.953, 11.314, 13.953, 11.45)
      ..cubicTo(13.953, 11.586, 13.903, 11.704, 13.803, 11.803)
      ..cubicTo(13.129, 12.478, 12.354, 13.004, 11.479, 13.383)
      ..cubicTo(10.528, 13.794, 9.536, 14, 8.5, 14)
      ..cubicTo(7.464, 14, 6.472, 13.794, 5.521, 13.383)
      ..cubicTo(4.646, 13.004, 3.871, 12.478, 3.197, 11.803)
      ..cubicTo(2.522, 11.129, 1.996, 10.354, 1.617, 9.479)
      ..cubicTo(1.206, 8.528, 1, 7.536, 1, 6.5)
      ..cubicTo(1, 5.464, 1.206, 4.472, 1.617, 3.521)
      ..cubicTo(1.996, 2.646, 2.522, 1.871, 3.197, 1.197)
      ..cubicTo(3.294, 1.099, 3.412, 1.05, 3.55, 1.05)
      ..cubicTo(3.688, 1.05, 3.806, 1.099, 3.904, 1.197)
      ..lineTo(8.707, 6)
      ..close()
      ..moveTo(4.028, 7)
      ..lineTo(7.293, 7)
      ..lineTo(4.984, 9.309)
      ..cubicTo(4.758, 9.027, 4.569, 8.72, 4.415, 8.389)
      ..cubicTo(4.21, 7.945, 4.081, 7.482, 4.028, 7)
      ..close()
      ..moveTo(5.691, 10.016)
      ..lineTo(8, 7.707)
      ..lineTo(8, 10.972)
      ..cubicTo(7.518, 10.919, 7.055, 10.79, 6.611, 10.585)
      ..cubicTo(6.28, 10.431, 5.973, 10.242, 5.691, 10.016)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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