Chocolate Bar icon
game-icons:chocolate-bar
The Chocolate Bar icon (game-icons:chocolate-bar) is a free SVG icon from the Game Icons set by GameIcons. It is drawn on a 512 × 512 grid. Game Icons are released under the CC BY 3.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Game Icons
- Author
- GameIcons
- License
- CC-BY-3.0
- Size
- 512 × 512
- Tags
- chocolatebar
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M296.385 64.965s-17.449 15.537-26.69 12.29c-3.338-1.172-6.104-4.45-8.353-8.49L244.398 85.71l84.582 84.584l60.258-60.258l-14.955-14.955c-3.33 1.341-6.57 2.1-9.422 1.842c-10.105-.913-23.527-19.315-23.527-19.315S325.559 92.59 316.4 90.602c-10.594-2.3-20.015-25.637-20.015-25.637m-64.713 33.47l-60.254 60.256L256 243.273l60.254-60.253zm170.293 24.327l-60.258 60.258l84.584 84.582l60.256-60.256zM158.69 171.418l-44.802 44.803l100.488 68.675L243.273 256zm170.29 24.328L268.726 256l84.582 84.582l60.255-60.254zM78.491 213.828L48.848 278.02l85.732.11l48.123 93.856l72.02-17.418l49.988 79.266l29.115-45.504zM256 268.727l-26.504 26.503l100.488 68.676l10.598-10.597zM34.107 296l-8.654 8.654l181.893 181.893l67.047-67.047l-28-44.4l-73.239 17.712l-49.58-96.697L34.777 296z"/></svg>How to use the Chocolate Bar icon
React
import { Icon } from "@iconify/react";
<Icon icon="game-icons:chocolate-bar" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="game-icons:chocolate-bar" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="game-icons:chocolate-bar" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[game-icons--chocolate-bar]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/game-icons -->
<div class="i-game-icons:chocolate-bar"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="game-icons:chocolate-bar"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/game-icons/chocolate-bar.svg" alt="Chocolate Bar icon" width="24" height="24">Chocolate Bar icon in other icon sets
Chocolate Bar icon FAQ
Is the Chocolate Bar icon free for commercial use?
Yes. Game Icons are released under the CC BY 3.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Chocolate Bar icon in React?
Install @iconify/react and render <Icon icon="game-icons:chocolate-bar" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Chocolate Bar icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/game-icons/chocolate-bar.svg" alt="Chocolate Bar icon">, or paste the SVG code inline to style it with CSS.