Chocolate Bar
The chocolate-bar icon represents a type of food, specifically a chocolate bar, often associated with snacks and desserts.
Exports at 24 × 24 px
Code
Chocolate Bar in your framework
In any framework. Customize it above, and the code follows.
export const ChocolateBarIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 64 64" {...props}>
<path fill="#b37b47" d="M15 4h8v8h-8z"/><path fill="#a16745" d="m15 4l-2-2v12l2-2z"/><path fill="#633f2c" d="m23 12l2 2V2l-2 2z"/><path fill="#8c5b3e" d="m23 4l2-2H13l2 2z"/><path fill="#523420" d="M23 12h-8l-2 2h12z"/><path fill="#b37b47" d="M27 4h8v8h-8z"/><path fill="#a16745" d="M27 12V4l-2-2v12z"/><path fill="#633f2c" d="M37 14V6.5c-1.2-1-2-2.5-2-2.5v8z"/><path fill="#8c5b3e" d="M35 4s-.1-1.2.3-2H25l2 2z"/><path fill="#523420" d="M35 12h-8l-2 2h12z"/><path fill="#b37b47" d="M39 7.3V12h1.3C39 10 39 7.3 39 7.3"/><path fill="#a16745" d="M39 7.3c-.6-.2-1.5-.4-2-.8V14l2-2z"/><path fill="#523420" d="M37 14h7.2s-2.7-.6-4-2H39z"/><path fill="#b37b47" d="M15 16h8v8h-8z"/><path fill="#a16745" d="m15 16l-2-2v12l2-2z"/><path fill="#633f2c" d="M23 16v8l2 2V14z"/><path fill="#8c5b3e" d="m23 16l2-2H13l2 2z"/><path fill="#523420" d="M23 24h-8l-2 2h12z"/><path fill="#b37b47" d="M27 16h8v8h-8z"/><path fill="#a16745" d="m27 16l-2-2v12l2-2z"/><path fill="#633f2c" d="M35 16v8l2 2V14z"/><path fill="#8c5b3e" d="m35 16l2-2H25l2 2z"/><path fill="#523420" d="m27 24l-2 2h12l-2-2z"/><path fill="#b37b47" d="M44.8 16H39v8h8v-6.9c-.9-.3-1.7-.3-2.2-1.1"/><path fill="#a16745" d="M37 14v12l2-2v-8z"/><path fill="#633f2c" d="M47 17.1V24l2 2v-8.7c-.6 0-1.5 0-2-.2"/><path fill="#8c5b3e" d="M39 16h5.8c-.4-.5-.5-1.2-.6-2H37z"/><path fill="#523420" d="m39 24l-2 2h12l-2-2z"/><path fill="#b37b47" d="M15 28h8v8h-8z"/><path fill="#a16745" d="m15 28l-2-2v11.4l2-1.4z"/><path fill="#633f2c" d="M23 28v8h2V26z"/><path fill="#8c5b3e" d="m23 28l2-2H13l2 2zm0 8h-8l-2 1.4z"/><path fill="#b37b47" d="M27 28h8v8h-8z"/><path fill="#a16745" d="m27 28l-2-2v10h2z"/><path fill="#633f2c" d="M35 36h2V26l-2 2z"/><path fill="#8c5b3e" d="M27 28h8l2-2H25z"/><path fill="#b37b47" d="M39 28h8v8h-8z"/><path fill="#a16745" d="M39 36v-8l-2-2v10z"/><path fill="#633f2c" d="M47 36h2V26l-2 2z"/><path fill="#8c5b3e" d="M39 28h8l2-2H37z"/><path fill="#9e6eeb" d="M13 36.8h36V60H13z"/><path fill="#7350ab" d="M45.4 34.9L13 36.8c21.6 0 15.6 20.3 31.7 20.3c-4.6-5.9.7-22.2.7-22.2"/><path fill="#f8d317" d="M49 32.4c-7.1-5.6-36 4.4-36 4.4c24.9-1.9 17.6 18.9 34.9 17c-4.2-9.8 7.6-16.4 1.1-21.4M13 60h36v2H13z"/>
</svg>
);Other libraries
Chocolate Bar in 3 more libraries
Each library draws it its own way. Open one to compare.
Emoji One (Colored)
More like it
Icons that share its tags, in the same style.
Search Emoji One (Colored)
Skip the copy and paste. With Pro, your AI agent finds and installs any Emoji One (Colored) icon from a prompt.
Get ProTags
Browse by tag
Chocolate Bar is tagged food, dessert, snack and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Emoji One (Colored) MCP, with Pro
Ask for Chocolate Bar or any of 1,834 Emoji One (Colored) icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Chocolate Bar icon means and where it's used, then how to install, style, label and license it.
The chocolate-bar icon represents a type of food, specifically a chocolate bar, often associated with snacks and desserts. It symbolizes a sweet and indulgent treat. This icon is often used in food-related contexts to convey culinary themes.
In real-world applications, this icon appears in food packaging, candy stores, and dessert menus. It is used to represent chocolate bars as a recognizable food item, helping users identify content related to snacks and desserts.
From a UX perspective, this icon communicates a sense of indulgence and pleasure, helping users quickly identify chocolate-related content. It aids in navigation by allowing users to find recipes and products related to chocolate.
Chocolate Bar is one of 1,834 icons in Emoji One (Colored), made by Emoji One and released under CC BY 4.0. It is drawn on a 64 × 64 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds ChocolateBarIcon to components/icons/emojione-chocolate-bar.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed ChocolateBarIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Chocolate Bar icon, or any of 1,834 Emoji One (Colored) icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 64 × 64 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Chocolate Bar", so screen readers say what it does.
Yes. ChocolateBarIcon passes every SVG prop to the svg element, so <ChocolateBarIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 4.0 asks you to credit the author (Emoji One) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Emoji One, CC BY 4.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
3 other libraries draw an icon called Chocolate Bar. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are food, dessert, snack, sweet and treat. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Chocolate Bar in another set.
Emoji One (Colored) draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see Chocolate Bar's siblings in it.
4.9 out of 5 from 150+ developers
Install Chocolate Bar from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro