Chocolate Bar icon
twemoji:chocolate-bar
The Chocolate Bar icon (twemoji:chocolate-bar) is a free SVG icon from the Twitter Emoji set by Twitter. It is drawn on a 36 × 36 grid. Twitter Emoji icons are released under the CC BY 4.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
- Twitter Emoji
- Author
- License
- CC-BY-4.0
- Size
- 36 × 36
- Category
- Food & Drink
- Tags
- chocolatebar
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="#c1694f" d="M26.339 33.496a4 4 0 0 1-5.657 0L1.59 14.404c-1.562-1.562-1.562-2.681 0-4.243l8.485-8.485c1.562-1.562 2.681-1.562 4.243 0L33.41 20.768a4 4 0 0 1 0 5.657z"/><path fill="#8a4b38" d="m16.582 15.253l-4.885-4.885l5.657-5.657l-1.415-1.414l-5.656 5.657L6.54 5.211L5.126 6.626l3.743 3.742l-5.657 5.657l1.414 1.414l5.657-5.657l4.885 4.885z"/><path fill="#dd2e44" d="M26.339 34.91a4 4 0 0 1-5.657 0l-9.899-9.899l14.142-14.142l9.899 9.899a4 4 0 0 1 0 5.657z"/><path fill="#be1931" d="m12.825 27.053l4.673 4.674l7.955-20.33l-.528-.529l-1.504-.932z"/><path fill="#ccd6dd" d="m22.804 8.747l2.121 2.121c-.707 2.122-8.485 15.557-9.9 18.385c0 0-.707 2.121-2.475.354l-5.304-5.304c-.679-.679-.685-2.142 0-2.828L19.975 8.747c1.414-1.414 2.829 0 2.829 0"/></svg>How to use the Chocolate Bar icon
React
import { Icon } from "@iconify/react";
<Icon icon="twemoji:chocolate-bar" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="twemoji:chocolate-bar" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="twemoji:chocolate-bar" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[twemoji--chocolate-bar]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/twemoji -->
<div class="i-twemoji:chocolate-bar"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="twemoji:chocolate-bar"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/twemoji/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. Twitter Emoji icons are released under the CC BY 4.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="twemoji: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/twemoji/chocolate-bar.svg" alt="Chocolate Bar icon">, or paste the SVG code inline to style it with CSS.