ICONYZ
English
Chocolate Bar icon from Fluent Emoji Flat

Chocolate Bar icon

fluent-emoji-flat:chocolate-bar

The Chocolate Bar icon (fluent-emoji-flat:chocolate-bar) is a free SVG icon from the Fluent Emoji Flat set by Microsoft Corporation. It is drawn on a 32 × 32 grid. Fluent Emoji Flat icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Fluent Emoji Flat
Author
Microsoft Corporation
License
MIT
Size
32 × 32
Category
Food & Drink
Tags
chocolatebar
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="none"><path fill="#8c5543" d="M13.823 2.413c-.55-.55-1.43-.55-1.98 0l-9.43 9.43c-.55.55-.55 1.43 0 1.98l7.885 7.884l.383-.126l11.022-10.943v-.335z"/><path fill="#6d4534" d="m8.822 8.193l3.58 3.58c.24.24.62.24.85-.01l3.58-3.58c.24-.23.24-.61 0-.85l-3.58-3.58a.59.59 0 0 0-.85 0l-3.58 3.59c-.24.23-.24.61 0 .85m.312 10.458l3.58 3.58c.24.23.62.23.85 0l3.58-3.58c.24-.23.24-.61 0-.85l-3.58-3.58a.59.59 0 0 0-.85 0l-3.58 3.58c-.24.23-.24.61 0 .85m8.664-1.494l-3.58-3.58a.59.59 0 0 1 0-.85l3.58-3.58c.24-.24.62-.24.85 0l3.58 3.58c.24.24.24.62 0 .85l-3.58 3.58c-.24.24-.62.24-.85 0M3.752 13.263l3.58 3.58c.24.24.62.24.85 0l3.58-3.58c.24-.23.24-.61 0-.85l-3.58-3.58a.59.59 0 0 0-.85 0l-3.58 3.58c-.24.23-.24.61 0 .85"/><path fill="#a56953" d="m13.262 3.753l3.58 3.58c.12.12.18.28.18.43h-8.37c0-.16.06-.31.18-.43l3.58-3.58c.23-.24.61-.24.85 0m-5.07 5.07l3.58 3.58c.12.12.18.27.18.43h-8.37c0-.16.06-.31.18-.43l3.58-3.58c.23-.24.61-.24.85 0m8.962 8.968l-3.58-3.58a.59.59 0 0 0-.85 0l-3.58 3.58c-.12.12-.18.27-.18.43h8.38a.65.65 0 0 0-.19-.43m1.494-8.653l3.58 3.58c.12.12.18.27.18.43h-8.37c0-.16.06-.31.18-.43l3.58-3.58c.23-.24.61-.24.85 0"/><path fill="#8c5543" d="m12.832 4.553l-3.21 3.21l3.21 3.21l3.21-3.21zm-8.28 8.28l3.21 3.21l3.21-3.21l-3.21-3.21zm8.6 8.6l-3.22-3.21l3.22-3.21l3.21 3.21zm1.86-8.28l3.21 3.21l3.21-3.21l-3.21-3.22z"/><path fill="#ca0b4a" d="m10.293 21.713l7.88 7.88c.55.55 1.43.55 1.98 0l9.43-9.43c.55-.55.55-1.43 0-1.98l-7.88-7.88z"/><path fill="#d3d3d3" d="m23.163 11.533l-9.82 13.29c-.13.17-.37.19-.52.04l-2.6-2.6a.357.357 0 0 1 0-.49l11.56-11.55c.13-.13.35-.13.49 0l.86.86c.12.12.13.31.03.45"/></g></svg>

How to use the Chocolate Bar icon

React

import { Icon } from "@iconify/react";

<Icon icon="fluent-emoji-flat:chocolate-bar" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="fluent-emoji-flat:chocolate-bar" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="fluent-emoji-flat:chocolate-bar" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-emoji-flat--chocolate-bar]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fluent-emoji-flat -->
<div class="i-fluent-emoji-flat:chocolate-bar"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="fluent-emoji-flat:chocolate-bar"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fluent-emoji-flat/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. Fluent Emoji Flat icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Chocolate Bar icon in React?

Install @iconify/react and render <Icon icon="fluent-emoji-flat: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/fluent-emoji-flat/chocolate-bar.svg" alt="Chocolate Bar icon">, or paste the SVG code inline to style it with CSS.

Browse all Fluent Emoji Flat icons →