ICONYZ
English
Candy icon from OpenMoji

Candy icon

openmoji:candy

The Candy icon (openmoji:candy) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Food Drink
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#b1cc33" d="m48.075 26.673l4.042-.992l10.178-2.601c.238-.048.858-.36 1.03-.531l1.019-.781c.618-.618.855-1.579.453-2.356a2.008 2.008 0 0 0-3.186-.568c-.722.69-1.87.818-2.66.208a2 2 0 0 1-.242-2.962c.694-.736.826-1.907.196-2.698a2 2 0 0 0-2.973-.183c-.709.7-1.89.785-2.667.164a2 2 0 0 1-.21-2.943c.685-.72.825-1.865.224-2.656a2 2 0 0 0-3.014-.211a7 7 0 0 0-1.864 3.362l-2.113 9.139l-.902 4.193M24.71 44.707l-4.562 1.427l-10.285 2.55c-.563.113-1.08.39-1.485.796l-.712.711c-.713.713-.883 1.867-.282 2.677a2.003 2.003 0 0 0 2.999.265c.72-.69 1.869-.816 2.66-.207a2 2 0 0 1 .241 2.962c-.693.736-.825 1.907-.194 2.698a2 2 0 0 0 2.937.215c.738-.694 1.91-.83 2.701-.197a2 2 0 0 1 .21 2.943c-.684.72-.825 1.866-.223 2.656a2 2 0 0 0 3.013.211l.472-.472a4.4 4.4 0 0 0 1.203-2.248l2.468-9.838l1.236-3.489"/><circle cx="35.993" cy="36" r="14.999" fill="#b1cc33"/><path fill="#5c9e31" d="M51.001 35.99c.001-5.502-2.973-10.3-7.392-12.91a14.9 14.9 0 0 1 2.09 7.608c0 8.285-6.716 15.002-15 15A14.9 14.9 0 0 1 23.09 43.6c2.61 4.42 7.408 7.39 12.911 7.392c8.284 0 15-6.717 14.999-15.002"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><circle cx="35.999" cy="35.999" r="15" transform="rotate(-45 36 35.999)"/><path d="m51.929 25.356l9.547-1.91a5.13 5.13 0 0 0 2.623-1.403l.234-.234c.705-.705.883-1.84.303-2.649a2.003 2.003 0 0 0-3.019-.292c-.721.69-1.869.818-2.66.208a2 2 0 0 1-.241-2.962c.694-.736.826-1.907.195-2.698a2 2 0 0 0-2.972-.183c-.709.699-1.89.785-2.667.163a2 2 0 0 1-.21-2.943c.685-.72.825-1.865.224-2.655a2 2 0 0 0-3.014-.212l-.486.486a4.33 4.33 0 0 0-1.185 2.214l-1.957 9.785M20.071 46.643l-10.546 2.11a1.77 1.77 0 0 0-.904.483l-.954.954c-.715.714-.883 1.87-.28 2.68a2.002 2.002 0 0 0 2.994.263c.724-.69 1.871-.82 2.663-.208a2 2 0 0 1 .242 2.958c-.695.738-.83 1.91-.197 2.702a2 2 0 0 0 2.94.213c.736-.694 1.907-.827 2.698-.196a2 2 0 0 1 .209 2.946c-.684.72-.823 1.865-.222 2.655a2 2 0 0 0 3.013.211L23.142 63l2.216-11.072"/><circle cx="36.001" cy="35.958" r="15" transform="rotate(-45 36 35.958)"/></g></svg>

How to use the Candy icon

React

import { Icon } from "@iconify/react";

<Icon icon="openmoji:candy" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="openmoji:candy" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="openmoji:candy" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--candy]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:candy"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="openmoji:candy"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/candy.svg" alt="Candy icon" width="24" height="24">

Candy icon in other icon sets

Candy icon FAQ

Is the Candy icon free for commercial use?

Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Candy icon in React?

Install @iconify/react and render <Icon icon="openmoji:candy" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Candy icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/openmoji/candy.svg" alt="Candy icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →