Chocolate icon
Download the Chocolate icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- chocolate-bar
- candy
- sweet
- dessert
- cocoa
- snack
- treat
- sugar
- food
Size
Stroke
Color
- Category
- general
- Styles
- Outline
- Component
- IconChocolate
- License
- MIT · Paweł Kuna
- Files
-
outline/chocolate.svg
Code
Copy it the way you use it
chocolate.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 21v-16" />
<path d="M6 15h12" />
<path d="M6 9h10.5" />
<path d="M10.05 3a2.5 2.5 0 0 0 3.987 1.47a3 3 0 0 0 2.047 2.387a2.504 2.504 0 0 0 1.916 3.093v9.05a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h2.05" />
</svg> Use the Chocolate icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconChocolate } from '@tabler/icons-react';
<IconChocolate size={24} stroke={2} />Read the React guideVue example
import { IconChocolate } from '@tabler/icons-vue';
<IconChocolate :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconChocolate } from '@tabler/icons-svelte-runes';
<IconChocolate size={24} stroke={2} />Read the Svelte guideRelated