# chocolate icon

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

- Category: Food & drink
- Use it for: chocolate, chocolate bar, cocoa
- Tags: chocolate, chocolate-bar, candy-bar, cocoa, cacao, sweet, sweets, dessert, snack, treat, bite, food
- Component name: ChocolateIcon
- Added: 2026-10-29
- Since: version 0.2.0
- npm: `import { ChocolateIcon } from '@gentleface/react';` (@gentleface/react 0.2.0)
- Changed: 2026-10-30 (added)

## Alternatives

- `candy`: candy or sweets

## Also fits

- candy: chocolate

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

The SVG of every style: https://gentleface.com/icons/chocolate.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="M12.5 4C12.309 4 12.125 4.035 11.948 4.105C11.755 4.182 11.586 4.293 11.439 4.439C11.293 4.586 11.182 4.755 11.105 4.948C11.035 5.125 11 5.309 11 5.5C11 5.691 11.035 5.875 11.105 6.052C11.182 6.245 11.293 6.414 11.439 6.561C11.586 6.707 11.755 6.818 11.948 6.895C12.125 6.965 12.309 7 12.5 7C12.641 7 12.759 7.048 12.856 7.144C12.952 7.241 13 7.359 13 7.5L13 12C13 12.254 12.953 12.5 12.86 12.736C12.758 12.993 12.609 13.219 12.414 13.414C12.219 13.609 11.993 13.758 11.736 13.86C11.5 13.953 11.254 14 11 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L11.5 1C11.691 1 11.875 1.035 12.052 1.105C12.245 1.182 12.414 1.293 12.561 1.439C12.707 1.586 12.818 1.755 12.895 1.948C12.965 2.125 13 2.309 13 2.5L13 3.5C13 3.641 12.952 3.759 12.856 3.856C12.759 3.952 12.641 4 12.5 4ZM7 5L7 2L4 2C3.724 2 3.488 2.098 3.293 2.293C3.098 2.488 3 2.724 3 3L3 5L7 5ZM11.854 2.146C11.756 2.049 11.638 2 11.5 2L8 2L8 5L10.05 5C10.079 4.858 10.121 4.717 10.176 4.58C10.303 4.259 10.488 3.976 10.732 3.732C10.976 3.488 11.259 3.303 11.58 3.176C11.717 3.121 11.857 3.079 12 3.05L12 2.5C12 2.362 11.951 2.244 11.854 2.146ZM7 6L3 6L3 9L7 9L7 6ZM8 9L12 9L12 7.95C11.857 7.921 11.717 7.879 11.58 7.824C11.259 7.697 10.976 7.512 10.732 7.268C10.488 7.024 10.303 6.741 10.176 6.42C10.121 6.283 10.079 6.143 10.05 6L8 6L8 9ZM7 10L3 10L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L7 13L7 10ZM8 10L8 13L11 13C11.276 13 11.512 12.902 11.707 12.707C11.902 12.512 12 12.276 12 12L12 10L8 10Z"/></svg>
```

### React

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

export function ChocolateIcon(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="M12.5 4C12.309 4 12.125 4.035 11.948 4.105C11.755 4.182 11.586 4.293 11.439 4.439C11.293 4.586 11.182 4.755 11.105 4.948C11.035 5.125 11 5.309 11 5.5C11 5.691 11.035 5.875 11.105 6.052C11.182 6.245 11.293 6.414 11.439 6.561C11.586 6.707 11.755 6.818 11.948 6.895C12.125 6.965 12.309 7 12.5 7C12.641 7 12.759 7.048 12.856 7.144C12.952 7.241 13 7.359 13 7.5L13 12C13 12.254 12.953 12.5 12.86 12.736C12.758 12.993 12.609 13.219 12.414 13.414C12.219 13.609 11.993 13.758 11.736 13.86C11.5 13.953 11.254 14 11 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L11.5 1C11.691 1 11.875 1.035 12.052 1.105C12.245 1.182 12.414 1.293 12.561 1.439C12.707 1.586 12.818 1.755 12.895 1.948C12.965 2.125 13 2.309 13 2.5L13 3.5C13 3.641 12.952 3.759 12.856 3.856C12.759 3.952 12.641 4 12.5 4ZM7 5L7 2L4 2C3.724 2 3.488 2.098 3.293 2.293C3.098 2.488 3 2.724 3 3L3 5L7 5ZM11.854 2.146C11.756 2.049 11.638 2 11.5 2L8 2L8 5L10.05 5C10.079 4.858 10.121 4.717 10.176 4.58C10.303 4.259 10.488 3.976 10.732 3.732C10.976 3.488 11.259 3.303 11.58 3.176C11.717 3.121 11.857 3.079 12 3.05L12 2.5C12 2.362 11.951 2.244 11.854 2.146ZM7 6L3 6L3 9L7 9L7 6ZM8 9L12 9L12 7.95C11.857 7.921 11.717 7.879 11.58 7.824C11.259 7.697 10.976 7.512 10.732 7.268C10.488 7.024 10.303 6.741 10.176 6.42C10.121 6.283 10.079 6.143 10.05 6L8 6L8 9ZM7 10L3 10L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L7 13L7 10ZM8 10L8 13L11 13C11.276 13 11.512 12.902 11.707 12.707C11.902 12.512 12 12.276 12 12L12 10L8 10Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "chocolate" (line-round), MIT. https://gentleface.com/icons/chocolate -->
<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="M12.5 4C12.309 4 12.125 4.035 11.948 4.105C11.755 4.182 11.586 4.293 11.439 4.439C11.293 4.586 11.182 4.755 11.105 4.948C11.035 5.125 11 5.309 11 5.5C11 5.691 11.035 5.875 11.105 6.052C11.182 6.245 11.293 6.414 11.439 6.561C11.586 6.707 11.755 6.818 11.948 6.895C12.125 6.965 12.309 7 12.5 7C12.641 7 12.759 7.048 12.856 7.144C12.952 7.241 13 7.359 13 7.5L13 12C13 12.254 12.953 12.5 12.86 12.736C12.758 12.993 12.609 13.219 12.414 13.414C12.219 13.609 11.993 13.758 11.736 13.86C11.5 13.953 11.254 14 11 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L11.5 1C11.691 1 11.875 1.035 12.052 1.105C12.245 1.182 12.414 1.293 12.561 1.439C12.707 1.586 12.818 1.755 12.895 1.948C12.965 2.125 13 2.309 13 2.5L13 3.5C13 3.641 12.952 3.759 12.856 3.856C12.759 3.952 12.641 4 12.5 4ZM7 5L7 2L4 2C3.724 2 3.488 2.098 3.293 2.293C3.098 2.488 3 2.724 3 3L3 5L7 5ZM11.854 2.146C11.756 2.049 11.638 2 11.5 2L8 2L8 5L10.05 5C10.079 4.858 10.121 4.717 10.176 4.58C10.303 4.259 10.488 3.976 10.732 3.732C10.976 3.488 11.259 3.303 11.58 3.176C11.717 3.121 11.857 3.079 12 3.05L12 2.5C12 2.362 11.951 2.244 11.854 2.146ZM7 6L3 6L3 9L7 9L7 6ZM8 9L12 9L12 7.95C11.857 7.921 11.717 7.879 11.58 7.824C11.259 7.697 10.976 7.512 10.732 7.268C10.488 7.024 10.303 6.741 10.176 6.42C10.121 6.283 10.079 6.143 10.05 6L8 6L8 9ZM7 10L3 10L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L7 13L7 10ZM8 10L8 13L11 13C11.276 13 11.512 12.902 11.707 12.707C11.902 12.512 12 12.276 12 12L12 10L8 10Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "chocolate" (line-round), MIT. https://gentleface.com/icons/chocolate -->
<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="M12.5 4C12.309 4 12.125 4.035 11.948 4.105C11.755 4.182 11.586 4.293 11.439 4.439C11.293 4.586 11.182 4.755 11.105 4.948C11.035 5.125 11 5.309 11 5.5C11 5.691 11.035 5.875 11.105 6.052C11.182 6.245 11.293 6.414 11.439 6.561C11.586 6.707 11.755 6.818 11.948 6.895C12.125 6.965 12.309 7 12.5 7C12.641 7 12.759 7.048 12.856 7.144C12.952 7.241 13 7.359 13 7.5L13 12C13 12.254 12.953 12.5 12.86 12.736C12.758 12.993 12.609 13.219 12.414 13.414C12.219 13.609 11.993 13.758 11.736 13.86C11.5 13.953 11.254 14 11 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L11.5 1C11.691 1 11.875 1.035 12.052 1.105C12.245 1.182 12.414 1.293 12.561 1.439C12.707 1.586 12.818 1.755 12.895 1.948C12.965 2.125 13 2.309 13 2.5L13 3.5C13 3.641 12.952 3.759 12.856 3.856C12.759 3.952 12.641 4 12.5 4ZM7 5L7 2L4 2C3.724 2 3.488 2.098 3.293 2.293C3.098 2.488 3 2.724 3 3L3 5L7 5ZM11.854 2.146C11.756 2.049 11.638 2 11.5 2L8 2L8 5L10.05 5C10.079 4.858 10.121 4.717 10.176 4.58C10.303 4.259 10.488 3.976 10.732 3.732C10.976 3.488 11.259 3.303 11.58 3.176C11.717 3.121 11.857 3.079 12 3.05L12 2.5C12 2.362 11.951 2.244 11.854 2.146ZM7 6L3 6L3 9L7 9L7 6ZM8 9L12 9L12 7.95C11.857 7.921 11.717 7.879 11.58 7.824C11.259 7.697 10.976 7.512 10.732 7.268C10.488 7.024 10.303 6.741 10.176 6.42C10.121 6.283 10.079 6.143 10.05 6L8 6L8 9ZM7 10L3 10L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L7 13L7 10ZM8 10L8 13L11 13C11.276 13 11.512 12.902 11.707 12.707C11.902 12.512 12 12.276 12 12L12 10L8 10Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "chocolate" (line-round), MIT. https://gentleface.com/icons/chocolate. Takes the text color. */
.icon-chocolate {
  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='M12.5 4C12.309 4 12.125 4.035 11.948 4.105C11.755 4.182 11.586 4.293 11.439 4.439C11.293 4.586 11.182 4.755 11.105 4.948C11.035 5.125 11 5.309 11 5.5C11 5.691 11.035 5.875 11.105 6.052C11.182 6.245 11.293 6.414 11.439 6.561C11.586 6.707 11.755 6.818 11.948 6.895C12.125 6.965 12.309 7 12.5 7C12.641 7 12.759 7.048 12.856 7.144C12.952 7.241 13 7.359 13 7.5L13 12C13 12.254 12.953 12.5 12.86 12.736C12.758 12.993 12.609 13.219 12.414 13.414C12.219 13.609 11.993 13.758 11.736 13.86C11.5 13.953 11.254 14 11 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L11.5 1C11.691 1 11.875 1.035 12.052 1.105C12.245 1.182 12.414 1.293 12.561 1.439C12.707 1.586 12.818 1.755 12.895 1.948C12.965 2.125 13 2.309 13 2.5L13 3.5C13 3.641 12.952 3.759 12.856 3.856C12.759 3.952 12.641 4 12.5 4ZM7 5L7 2L4 2C3.724 2 3.488 2.098 3.293 2.293C3.098 2.488 3 2.724 3 3L3 5L7 5ZM11.854 2.146C11.756 2.049 11.638 2 11.5 2L8 2L8 5L10.05 5C10.079 4.858 10.121 4.717 10.176 4.58C10.303 4.259 10.488 3.976 10.732 3.732C10.976 3.488 11.259 3.303 11.58 3.176C11.717 3.121 11.857 3.079 12 3.05L12 2.5C12 2.362 11.951 2.244 11.854 2.146ZM7 6L3 6L3 9L7 9L7 6ZM8 9L12 9L12 7.95C11.857 7.921 11.717 7.879 11.58 7.824C11.259 7.697 10.976 7.512 10.732 7.268C10.488 7.024 10.303 6.741 10.176 6.42C10.121 6.283 10.079 6.143 10.05 6L8 6L8 9ZM7 10L3 10L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L7 13L7 10ZM8 10L8 13L11 13C11.276 13 11.512 12.902 11.707 12.707C11.902 12.512 12 12.276 12 12L12 10L8 10Z'/%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='M12.5 4C12.309 4 12.125 4.035 11.948 4.105C11.755 4.182 11.586 4.293 11.439 4.439C11.293 4.586 11.182 4.755 11.105 4.948C11.035 5.125 11 5.309 11 5.5C11 5.691 11.035 5.875 11.105 6.052C11.182 6.245 11.293 6.414 11.439 6.561C11.586 6.707 11.755 6.818 11.948 6.895C12.125 6.965 12.309 7 12.5 7C12.641 7 12.759 7.048 12.856 7.144C12.952 7.241 13 7.359 13 7.5L13 12C13 12.254 12.953 12.5 12.86 12.736C12.758 12.993 12.609 13.219 12.414 13.414C12.219 13.609 11.993 13.758 11.736 13.86C11.5 13.953 11.254 14 11 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L11.5 1C11.691 1 11.875 1.035 12.052 1.105C12.245 1.182 12.414 1.293 12.561 1.439C12.707 1.586 12.818 1.755 12.895 1.948C12.965 2.125 13 2.309 13 2.5L13 3.5C13 3.641 12.952 3.759 12.856 3.856C12.759 3.952 12.641 4 12.5 4ZM7 5L7 2L4 2C3.724 2 3.488 2.098 3.293 2.293C3.098 2.488 3 2.724 3 3L3 5L7 5ZM11.854 2.146C11.756 2.049 11.638 2 11.5 2L8 2L8 5L10.05 5C10.079 4.858 10.121 4.717 10.176 4.58C10.303 4.259 10.488 3.976 10.732 3.732C10.976 3.488 11.259 3.303 11.58 3.176C11.717 3.121 11.857 3.079 12 3.05L12 2.5C12 2.362 11.951 2.244 11.854 2.146ZM7 6L3 6L3 9L7 9L7 6ZM8 9L12 9L12 7.95C11.857 7.921 11.717 7.879 11.58 7.824C11.259 7.697 10.976 7.512 10.732 7.268C10.488 7.024 10.303 6.741 10.176 6.42C10.121 6.283 10.079 6.143 10.05 6L8 6L8 9ZM7 10L3 10L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L7 13L7 10ZM8 10L8 13L11 13C11.276 13 11.512 12.902 11.707 12.707C11.902 12.512 12 12.276 12 12L12 10L8 10Z'/%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='M12.5 4C12.309 4 12.125 4.035 11.948 4.105C11.755 4.182 11.586 4.293 11.439 4.439C11.293 4.586 11.182 4.755 11.105 4.948C11.035 5.125 11 5.309 11 5.5C11 5.691 11.035 5.875 11.105 6.052C11.182 6.245 11.293 6.414 11.439 6.561C11.586 6.707 11.755 6.818 11.948 6.895C12.125 6.965 12.309 7 12.5 7C12.641 7 12.759 7.048 12.856 7.144C12.952 7.241 13 7.359 13 7.5L13 12C13 12.254 12.953 12.5 12.86 12.736C12.758 12.993 12.609 13.219 12.414 13.414C12.219 13.609 11.993 13.758 11.736 13.86C11.5 13.953 11.254 14 11 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L11.5 1C11.691 1 11.875 1.035 12.052 1.105C12.245 1.182 12.414 1.293 12.561 1.439C12.707 1.586 12.818 1.755 12.895 1.948C12.965 2.125 13 2.309 13 2.5L13 3.5C13 3.641 12.952 3.759 12.856 3.856C12.759 3.952 12.641 4 12.5 4ZM7 5L7 2L4 2C3.724 2 3.488 2.098 3.293 2.293C3.098 2.488 3 2.724 3 3L3 5L7 5ZM11.854 2.146C11.756 2.049 11.638 2 11.5 2L8 2L8 5L10.05 5C10.079 4.858 10.121 4.717 10.176 4.58C10.303 4.259 10.488 3.976 10.732 3.732C10.976 3.488 11.259 3.303 11.58 3.176C11.717 3.121 11.857 3.079 12 3.05L12 2.5C12 2.362 11.951 2.244 11.854 2.146ZM7 6L3 6L3 9L7 9L7 6ZM8 9L12 9L12 7.95C11.857 7.921 11.717 7.879 11.58 7.824C11.259 7.697 10.976 7.512 10.732 7.268C10.488 7.024 10.303 6.741 10.176 6.42C10.121 6.283 10.079 6.143 10.05 6L8 6L8 9ZM7 10L3 10L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L7 13L7 10ZM8 10L8 13L11 13C11.276 13 11.512 12.902 11.707 12.707C11.902 12.512 12 12.276 12 12L12 10L8 10Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct ChocolateIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 12.5, y: 4))
        p.addCurve(to: CGPoint(x: 11.948, y: 4.105), control1: CGPoint(x: 12.309, y: 4), control2: CGPoint(x: 12.125, y: 4.035))
        p.addCurve(to: CGPoint(x: 11.439, y: 4.439), control1: CGPoint(x: 11.755, y: 4.182), control2: CGPoint(x: 11.586, y: 4.293))
        p.addCurve(to: CGPoint(x: 11.105, y: 4.948), control1: CGPoint(x: 11.293, y: 4.586), control2: CGPoint(x: 11.182, y: 4.755))
        p.addCurve(to: CGPoint(x: 11, y: 5.5), control1: CGPoint(x: 11.035, y: 5.125), control2: CGPoint(x: 11, y: 5.309))
        p.addCurve(to: CGPoint(x: 11.105, y: 6.052), control1: CGPoint(x: 11, y: 5.691), control2: CGPoint(x: 11.035, y: 5.875))
        p.addCurve(to: CGPoint(x: 11.439, y: 6.561), control1: CGPoint(x: 11.182, y: 6.245), control2: CGPoint(x: 11.293, y: 6.414))
        p.addCurve(to: CGPoint(x: 11.948, y: 6.895), control1: CGPoint(x: 11.586, y: 6.707), control2: CGPoint(x: 11.755, y: 6.818))
        p.addCurve(to: CGPoint(x: 12.5, y: 7), control1: CGPoint(x: 12.125, y: 6.965), control2: CGPoint(x: 12.309, y: 7))
        p.addCurve(to: CGPoint(x: 12.856, y: 7.144), control1: CGPoint(x: 12.641, y: 7), control2: CGPoint(x: 12.759, y: 7.048))
        p.addCurve(to: CGPoint(x: 13, y: 7.5), control1: CGPoint(x: 12.952, y: 7.241), control2: CGPoint(x: 13, y: 7.359))
        p.addLine(to: CGPoint(x: 13, y: 12))
        p.addCurve(to: CGPoint(x: 12.86, y: 12.736), control1: CGPoint(x: 13, y: 12.254), control2: CGPoint(x: 12.953, y: 12.5))
        p.addCurve(to: CGPoint(x: 12.414, y: 13.414), control1: CGPoint(x: 12.758, y: 12.993), control2: CGPoint(x: 12.609, y: 13.219))
        p.addCurve(to: CGPoint(x: 11.736, y: 13.86), control1: CGPoint(x: 12.219, y: 13.609), control2: CGPoint(x: 11.993, y: 13.758))
        p.addCurve(to: CGPoint(x: 11, y: 14), control1: CGPoint(x: 11.5, y: 13.953), control2: CGPoint(x: 11.254, y: 14))
        p.addLine(to: CGPoint(x: 4, y: 14))
        p.addCurve(to: CGPoint(x: 3.264, y: 13.86), control1: CGPoint(x: 3.746, y: 14), control2: CGPoint(x: 3.5, y: 13.953))
        p.addCurve(to: CGPoint(x: 2.586, y: 13.414), control1: CGPoint(x: 3.007, y: 13.758), control2: CGPoint(x: 2.781, y: 13.609))
        p.addCurve(to: CGPoint(x: 2.14, y: 12.736), control1: CGPoint(x: 2.391, y: 13.219), control2: CGPoint(x: 2.242, y: 12.993))
        p.addCurve(to: CGPoint(x: 2, y: 12), control1: CGPoint(x: 2.047, y: 12.5), control2: CGPoint(x: 2, y: 12.254))
        p.addLine(to: CGPoint(x: 2, y: 3))
        p.addCurve(to: CGPoint(x: 2.14, y: 2.264), control1: CGPoint(x: 2, y: 2.746), control2: CGPoint(x: 2.047, y: 2.5))
        p.addCurve(to: CGPoint(x: 2.586, y: 1.586), control1: CGPoint(x: 2.242, y: 2.007), control2: CGPoint(x: 2.391, y: 1.781))
        p.addCurve(to: CGPoint(x: 3.264, y: 1.14), control1: CGPoint(x: 2.781, y: 1.391), control2: CGPoint(x: 3.007, y: 1.242))
        p.addCurve(to: CGPoint(x: 4, y: 1), control1: CGPoint(x: 3.5, y: 1.047), control2: CGPoint(x: 3.746, y: 1))
        p.addLine(to: CGPoint(x: 11.5, y: 1))
        p.addCurve(to: CGPoint(x: 12.052, y: 1.105), control1: CGPoint(x: 11.691, y: 1), control2: CGPoint(x: 11.875, y: 1.035))
        p.addCurve(to: CGPoint(x: 12.561, y: 1.439), control1: CGPoint(x: 12.245, y: 1.182), control2: CGPoint(x: 12.414, y: 1.293))
        p.addCurve(to: CGPoint(x: 12.895, y: 1.948), control1: CGPoint(x: 12.707, y: 1.586), control2: CGPoint(x: 12.818, y: 1.755))
        p.addCurve(to: CGPoint(x: 13, y: 2.5), control1: CGPoint(x: 12.965, y: 2.125), control2: CGPoint(x: 13, y: 2.309))
        p.addLine(to: CGPoint(x: 13, y: 3.5))
        p.addCurve(to: CGPoint(x: 12.856, y: 3.856), control1: CGPoint(x: 13, y: 3.641), control2: CGPoint(x: 12.952, y: 3.759))
        p.addCurve(to: CGPoint(x: 12.5, y: 4), control1: CGPoint(x: 12.759, y: 3.952), control2: CGPoint(x: 12.641, y: 4))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7, y: 5))
        p.addLine(to: CGPoint(x: 7, y: 2))
        p.addLine(to: CGPoint(x: 4, y: 2))
        p.addCurve(to: CGPoint(x: 3.293, y: 2.293), control1: CGPoint(x: 3.724, y: 2), control2: CGPoint(x: 3.488, y: 2.098))
        p.addCurve(to: CGPoint(x: 3, y: 3), control1: CGPoint(x: 3.098, y: 2.488), control2: CGPoint(x: 3, y: 2.724))
        p.addLine(to: CGPoint(x: 3, y: 5))
        p.addLine(to: CGPoint(x: 7, y: 5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11.854, y: 2.146))
        p.addCurve(to: CGPoint(x: 11.5, y: 2), control1: CGPoint(x: 11.756, y: 2.049), control2: CGPoint(x: 11.638, y: 2))
        p.addLine(to: CGPoint(x: 8, y: 2))
        p.addLine(to: CGPoint(x: 8, y: 5))
        p.addLine(to: CGPoint(x: 10.05, y: 5))
        p.addCurve(to: CGPoint(x: 10.176, y: 4.58), control1: CGPoint(x: 10.079, y: 4.858), control2: CGPoint(x: 10.121, y: 4.717))
        p.addCurve(to: CGPoint(x: 10.732, y: 3.732), control1: CGPoint(x: 10.303, y: 4.259), control2: CGPoint(x: 10.488, y: 3.976))
        p.addCurve(to: CGPoint(x: 11.58, y: 3.176), control1: CGPoint(x: 10.976, y: 3.488), control2: CGPoint(x: 11.259, y: 3.303))
        p.addCurve(to: CGPoint(x: 12, y: 3.05), control1: CGPoint(x: 11.717, y: 3.121), control2: CGPoint(x: 11.857, y: 3.079))
        p.addLine(to: CGPoint(x: 12, y: 2.5))
        p.addCurve(to: CGPoint(x: 11.854, y: 2.146), control1: CGPoint(x: 12, y: 2.362), control2: CGPoint(x: 11.951, y: 2.244))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7, y: 6))
        p.addLine(to: CGPoint(x: 3, y: 6))
        p.addLine(to: CGPoint(x: 3, y: 9))
        p.addLine(to: CGPoint(x: 7, y: 9))
        p.addLine(to: CGPoint(x: 7, y: 6))
        p.closeSubpath()
        p.move(to: CGPoint(x: 8, y: 9))
        p.addLine(to: CGPoint(x: 12, y: 9))
        p.addLine(to: CGPoint(x: 12, y: 7.95))
        p.addCurve(to: CGPoint(x: 11.58, y: 7.824), control1: CGPoint(x: 11.857, y: 7.921), control2: CGPoint(x: 11.717, y: 7.879))
        p.addCurve(to: CGPoint(x: 10.732, y: 7.268), control1: CGPoint(x: 11.259, y: 7.697), control2: CGPoint(x: 10.976, y: 7.512))
        p.addCurve(to: CGPoint(x: 10.176, y: 6.42), control1: CGPoint(x: 10.488, y: 7.024), control2: CGPoint(x: 10.303, y: 6.741))
        p.addCurve(to: CGPoint(x: 10.05, y: 6), control1: CGPoint(x: 10.121, y: 6.283), control2: CGPoint(x: 10.079, y: 6.143))
        p.addLine(to: CGPoint(x: 8, y: 6))
        p.addLine(to: CGPoint(x: 8, y: 9))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7, y: 10))
        p.addLine(to: CGPoint(x: 3, y: 10))
        p.addLine(to: CGPoint(x: 3, y: 12))
        p.addCurve(to: CGPoint(x: 3.293, y: 12.707), control1: CGPoint(x: 3, y: 12.276), control2: CGPoint(x: 3.098, y: 12.512))
        p.addCurve(to: CGPoint(x: 4, y: 13), control1: CGPoint(x: 3.488, y: 12.902), control2: CGPoint(x: 3.724, y: 13))
        p.addLine(to: CGPoint(x: 7, y: 13))
        p.addLine(to: CGPoint(x: 7, y: 10))
        p.closeSubpath()
        p.move(to: CGPoint(x: 8, y: 10))
        p.addLine(to: CGPoint(x: 8, y: 13))
        p.addLine(to: CGPoint(x: 11, y: 13))
        p.addCurve(to: CGPoint(x: 11.707, y: 12.707), control1: CGPoint(x: 11.276, y: 13), control2: CGPoint(x: 11.512, y: 12.902))
        p.addCurve(to: CGPoint(x: 12, y: 12), control1: CGPoint(x: 11.902, y: 12.512), control2: CGPoint(x: 12, y: 12.276))
        p.addLine(to: CGPoint(x: 12, y: 10))
        p.addLine(to: CGPoint(x: 8, y: 10))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "chocolate" (line-round), MIT. https://gentleface.com/icons/chocolate
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 ChocolateIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "chocolate", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M12.5 4C12.309 4 12.125 4.035 11.948 4.105C11.755 4.182 11.586 4.293 11.439 4.439C11.293 4.586 11.182 4.755 11.105 4.948C11.035 5.125 11 5.309 11 5.5C11 5.691 11.035 5.875 11.105 6.052C11.182 6.245 11.293 6.414 11.439 6.561C11.586 6.707 11.755 6.818 11.948 6.895C12.125 6.965 12.309 7 12.5 7C12.641 7 12.759 7.048 12.856 7.144C12.952 7.241 13 7.359 13 7.5L13 12C13 12.254 12.953 12.5 12.86 12.736C12.758 12.993 12.609 13.219 12.414 13.414C12.219 13.609 11.993 13.758 11.736 13.86C11.5 13.953 11.254 14 11 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L11.5 1C11.691 1 11.875 1.035 12.052 1.105C12.245 1.182 12.414 1.293 12.561 1.439C12.707 1.586 12.818 1.755 12.895 1.948C12.965 2.125 13 2.309 13 2.5L13 3.5C13 3.641 12.952 3.759 12.856 3.856C12.759 3.952 12.641 4 12.5 4ZM7 5L7 2L4 2C3.724 2 3.488 2.098 3.293 2.293C3.098 2.488 3 2.724 3 3L3 5L7 5ZM11.854 2.146C11.756 2.049 11.638 2 11.5 2L8 2L8 5L10.05 5C10.079 4.858 10.121 4.717 10.176 4.58C10.303 4.259 10.488 3.976 10.732 3.732C10.976 3.488 11.259 3.303 11.58 3.176C11.717 3.121 11.857 3.079 12 3.05L12 2.5C12 2.362 11.951 2.244 11.854 2.146ZM7 6L3 6L3 9L7 9L7 6ZM8 9L12 9L12 7.95C11.857 7.921 11.717 7.879 11.58 7.824C11.259 7.697 10.976 7.512 10.732 7.268C10.488 7.024 10.303 6.741 10.176 6.42C10.121 6.283 10.079 6.143 10.05 6L8 6L8 9ZM7 10L3 10L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L7 13L7 10ZM8 10L8 13L11 13C11.276 13 11.512 12.902 11.707 12.707C11.902 12.512 12 12.276 12 12L12 10L8 10Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_chocolate.xml · Gentleface "chocolate" (line-round), MIT. https://gentleface.com/icons/chocolate -->
<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="M12.5 4C12.309 4 12.125 4.035 11.948 4.105C11.755 4.182 11.586 4.293 11.439 4.439C11.293 4.586 11.182 4.755 11.105 4.948C11.035 5.125 11 5.309 11 5.5C11 5.691 11.035 5.875 11.105 6.052C11.182 6.245 11.293 6.414 11.439 6.561C11.586 6.707 11.755 6.818 11.948 6.895C12.125 6.965 12.309 7 12.5 7C12.641 7 12.759 7.048 12.856 7.144C12.952 7.241 13 7.359 13 7.5L13 12C13 12.254 12.953 12.5 12.86 12.736C12.758 12.993 12.609 13.219 12.414 13.414C12.219 13.609 11.993 13.758 11.736 13.86C11.5 13.953 11.254 14 11 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 3C2 2.746 2.047 2.5 2.14 2.264C2.242 2.007 2.391 1.781 2.586 1.586C2.781 1.391 3.007 1.242 3.264 1.14C3.5 1.047 3.746 1 4 1L11.5 1C11.691 1 11.875 1.035 12.052 1.105C12.245 1.182 12.414 1.293 12.561 1.439C12.707 1.586 12.818 1.755 12.895 1.948C12.965 2.125 13 2.309 13 2.5L13 3.5C13 3.641 12.952 3.759 12.856 3.856C12.759 3.952 12.641 4 12.5 4ZM7 5L7 2L4 2C3.724 2 3.488 2.098 3.293 2.293C3.098 2.488 3 2.724 3 3L3 5L7 5ZM11.854 2.146C11.756 2.049 11.638 2 11.5 2L8 2L8 5L10.05 5C10.079 4.858 10.121 4.717 10.176 4.58C10.303 4.259 10.488 3.976 10.732 3.732C10.976 3.488 11.259 3.303 11.58 3.176C11.717 3.121 11.857 3.079 12 3.05L12 2.5C12 2.362 11.951 2.244 11.854 2.146ZM7 6L3 6L3 9L7 9L7 6ZM8 9L12 9L12 7.95C11.857 7.921 11.717 7.879 11.58 7.824C11.259 7.697 10.976 7.512 10.732 7.268C10.488 7.024 10.303 6.741 10.176 6.42C10.121 6.283 10.079 6.143 10.05 6L8 6L8 9ZM7 10L3 10L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L7 13L7 10ZM8 10L8 13L11 13C11.276 13 11.512 12.902 11.707 12.707C11.902 12.512 12 12.276 12 12L12 10L8 10Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(12.5, 4)
      ..cubicTo(12.309, 4, 12.125, 4.035, 11.948, 4.105)
      ..cubicTo(11.755, 4.182, 11.586, 4.293, 11.439, 4.439)
      ..cubicTo(11.293, 4.586, 11.182, 4.755, 11.105, 4.948)
      ..cubicTo(11.035, 5.125, 11, 5.309, 11, 5.5)
      ..cubicTo(11, 5.691, 11.035, 5.875, 11.105, 6.052)
      ..cubicTo(11.182, 6.245, 11.293, 6.414, 11.439, 6.561)
      ..cubicTo(11.586, 6.707, 11.755, 6.818, 11.948, 6.895)
      ..cubicTo(12.125, 6.965, 12.309, 7, 12.5, 7)
      ..cubicTo(12.641, 7, 12.759, 7.048, 12.856, 7.144)
      ..cubicTo(12.952, 7.241, 13, 7.359, 13, 7.5)
      ..lineTo(13, 12)
      ..cubicTo(13, 12.254, 12.953, 12.5, 12.86, 12.736)
      ..cubicTo(12.758, 12.993, 12.609, 13.219, 12.414, 13.414)
      ..cubicTo(12.219, 13.609, 11.993, 13.758, 11.736, 13.86)
      ..cubicTo(11.5, 13.953, 11.254, 14, 11, 14)
      ..lineTo(4, 14)
      ..cubicTo(3.746, 14, 3.5, 13.953, 3.264, 13.86)
      ..cubicTo(3.007, 13.758, 2.781, 13.609, 2.586, 13.414)
      ..cubicTo(2.391, 13.219, 2.242, 12.993, 2.14, 12.736)
      ..cubicTo(2.047, 12.5, 2, 12.254, 2, 12)
      ..lineTo(2, 3)
      ..cubicTo(2, 2.746, 2.047, 2.5, 2.14, 2.264)
      ..cubicTo(2.242, 2.007, 2.391, 1.781, 2.586, 1.586)
      ..cubicTo(2.781, 1.391, 3.007, 1.242, 3.264, 1.14)
      ..cubicTo(3.5, 1.047, 3.746, 1, 4, 1)
      ..lineTo(11.5, 1)
      ..cubicTo(11.691, 1, 11.875, 1.035, 12.052, 1.105)
      ..cubicTo(12.245, 1.182, 12.414, 1.293, 12.561, 1.439)
      ..cubicTo(12.707, 1.586, 12.818, 1.755, 12.895, 1.948)
      ..cubicTo(12.965, 2.125, 13, 2.309, 13, 2.5)
      ..lineTo(13, 3.5)
      ..cubicTo(13, 3.641, 12.952, 3.759, 12.856, 3.856)
      ..cubicTo(12.759, 3.952, 12.641, 4, 12.5, 4)
      ..close()
      ..moveTo(7, 5)
      ..lineTo(7, 2)
      ..lineTo(4, 2)
      ..cubicTo(3.724, 2, 3.488, 2.098, 3.293, 2.293)
      ..cubicTo(3.098, 2.488, 3, 2.724, 3, 3)
      ..lineTo(3, 5)
      ..lineTo(7, 5)
      ..close()
      ..moveTo(11.854, 2.146)
      ..cubicTo(11.756, 2.049, 11.638, 2, 11.5, 2)
      ..lineTo(8, 2)
      ..lineTo(8, 5)
      ..lineTo(10.05, 5)
      ..cubicTo(10.079, 4.858, 10.121, 4.717, 10.176, 4.58)
      ..cubicTo(10.303, 4.259, 10.488, 3.976, 10.732, 3.732)
      ..cubicTo(10.976, 3.488, 11.259, 3.303, 11.58, 3.176)
      ..cubicTo(11.717, 3.121, 11.857, 3.079, 12, 3.05)
      ..lineTo(12, 2.5)
      ..cubicTo(12, 2.362, 11.951, 2.244, 11.854, 2.146)
      ..close()
      ..moveTo(7, 6)
      ..lineTo(3, 6)
      ..lineTo(3, 9)
      ..lineTo(7, 9)
      ..lineTo(7, 6)
      ..close()
      ..moveTo(8, 9)
      ..lineTo(12, 9)
      ..lineTo(12, 7.95)
      ..cubicTo(11.857, 7.921, 11.717, 7.879, 11.58, 7.824)
      ..cubicTo(11.259, 7.697, 10.976, 7.512, 10.732, 7.268)
      ..cubicTo(10.488, 7.024, 10.303, 6.741, 10.176, 6.42)
      ..cubicTo(10.121, 6.283, 10.079, 6.143, 10.05, 6)
      ..lineTo(8, 6)
      ..lineTo(8, 9)
      ..close()
      ..moveTo(7, 10)
      ..lineTo(3, 10)
      ..lineTo(3, 12)
      ..cubicTo(3, 12.276, 3.098, 12.512, 3.293, 12.707)
      ..cubicTo(3.488, 12.902, 3.724, 13, 4, 13)
      ..lineTo(7, 13)
      ..lineTo(7, 10)
      ..close()
      ..moveTo(8, 10)
      ..lineTo(8, 13)
      ..lineTo(11, 13)
      ..cubicTo(11.276, 13, 11.512, 12.902, 11.707, 12.707)
      ..cubicTo(11.902, 12.512, 12, 12.276, 12, 12)
      ..lineTo(12, 10)
      ..lineTo(8, 10)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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