ICONYZ
English
Candy icon from Huge Icons

Candy icon

hugeicons:candy

The Candy icon (hugeicons:candy) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Download SVG

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="m7.45 9.55l2.1-2.1a4.95 4.95 0 0 1 7 7l-2.1 2.1a4.95 4.95 0 0 1-7-7M14 6.5v10m-4-9v10"/><path d="m17.5 8.5l4.012-.446A.55.55 0 0 0 22 7.51c0-.287-.225-.507-.503-.579a1.46 1.46 0 0 1-.687-.406c-.867-.867-.086-1.514-.953-2.381c-.833-.833-1.547-.12-2.38-.953a1.47 1.47 0 0 1-.413-.681c-.073-.28-.29-.509-.578-.509a.543.543 0 0 0-.54.483L15.5 6.5m-9 9l-4.012.446A.55.55 0 0 0 2 16.49c0 .287.225.506.503.579c.223.057.45.17.687.406c.867.867.086 1.515.953 2.381c.833.834 1.547.12 2.38.953c.242.24.356.465.413.681c.073.28.29.509.578.509c.276 0 .51-.208.54-.483L8.5 17.5"/></g></svg>

How to use the Candy icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Huge Icons

Candy icon in other icon sets

Candy icon FAQ

Is the Candy icon free for commercial use?

Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Candy icon in React?

Install @iconify/react and render <Icon icon="hugeicons: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/hugeicons/candy.svg" alt="Candy icon">, or paste the SVG code inline to style it with CSS.

Browse all Huge Icons →