Chocolate Bar icon
iconoven:chocolate-bar
The Chocolate Bar icon (iconoven:chocolate-bar) is a free SVG icon from the IconOven set by Appic Marketing. It is drawn on a 24 × 24 grid. IconOven 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
- IconOven
- Author
- Appic Marketing
- License
- MIT
- Size
- 24 × 24
- Tags
- chocolatebar
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M5 13V4.75a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2V13l-1.75-1.25L15.5 13l-1.75-1.25L12 13l-1.75-1.25L8.5 13l-1.75-1.25Zm7-10.25V12M5 7.5h14"/><path d="m5 13l1.75-1.25L8.5 13l1.75-1.25L12 13l1.75-1.25L15.5 13l1.75-1.25L19 13v6.25a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2Z"/></g></svg>How to use the Chocolate Bar icon
React
import { Icon } from "@iconify/react";
<Icon icon="iconoven:chocolate-bar" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="iconoven:chocolate-bar" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="iconoven:chocolate-bar" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[iconoven--chocolate-bar]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/iconoven -->
<div class="i-iconoven:chocolate-bar"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="iconoven:chocolate-bar"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/iconoven/chocolate-bar.svg" alt="Chocolate Bar icon" width="24" height="24">Related icons in IconOven
Chocolate Bar icon in other icon sets
Chocolate Bar icon FAQ
Is the Chocolate Bar icon free for commercial use?
Yes. IconOven 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="iconoven: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/iconoven/chocolate-bar.svg" alt="Chocolate Bar icon">, or paste the SVG code inline to style it with CSS.