16
24
32
48
Chocolate bar icon
Badges
import { ChocolateBar } from "kubai-icons-react";
<ChocolateBar size={32} color="#22C55E" /><script>
import { ChocolateBar } from "kubai-icons-svelte";
</script>
<ChocolateBar size={32} color="#22C55E" /><script setup>
import { ChocolateBar } from "kubai-icons-vue";
</script>
<template>
<ChocolateBar :size="32" color="#22C55E" />
</template>import { ChocolateBar } from "kubai-icons-solid";
<ChocolateBar size={32} color="#22C55E" /><script type="module" src="https://cdn.jsdelivr.net/npm/kubai-icons@0/dist/cdn/element.js"></script>
<kubai-icon name="chocolate-bar" size="32" color="#22C55E"></kubai-icon>import { createIcon, ChocolateBar } from "kubai-icons";
document.body.append(createIcon(ChocolateBar, { size: 32, color: "#22C55E" }));import SwiftUI
import KubaiIcons
KubaiIcon(.chocolateBar, size: 32, color: Color(red: 0.133, green: 0.773, blue: 0.369))import { ChocolateBar } from "kubai-icons-react";
<ChocolateBar size={32} color="#22C55E" />About this icon
- Category
- Food & Drink
- Badged versions (2)
- Heart
- Plus
- Search words
- chocolate
- chocolate bar
- candy bar
- cocoa
- sweet
- snack
- treat
Related icons
Questions
How do I use the chocolate bar icon in React?
Install kubai-icons-react, add import { ChocolateBar } from "kubai-icons-react" and render <ChocolateBar />. In Vue, import the same name from kubai-icons-vue. In plain HTML, use <kubai-icon name="chocolate-bar"></kubai-icon>.
Can I change the chocolate bar icon's color and size?
Yes. Set color and size, or use the CSS color property; every shade is calculated from one accent color. You can also pick a color on this page and download the icon as SVG or PNG.
Does the chocolate bar icon come with badges?
Yes, 2: chocolate-bar-heart, chocolate-bar-plus.
Is the chocolate bar icon free for commercial use?
Yes. The icons are released under the MIT License, which permits personal and commercial use, modification and redistribution. Keep the copyright notice when you redistribute the icon files.