ICONYZ
English
Candy icon from Tabler Icons

Candy icon

tabler:candy

The Candy icon (tabler:candy) is a free SVG icon from the Tabler Icons set by Paweł Kuna. It is drawn on a 24 × 24 grid. Tabler 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
Tabler Icons
Author
Paweł Kuna
License
MIT
Size
24 × 24
Tags
sweet, food, sugar, cane, halloween, meal, cuisine, eating, nutrition
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="2"><path d="m7.05 11.293l4.243-4.243a2 2 0 0 1 2.828 0l2.829 2.83a2 2 0 0 1 0 2.828l-4.243 4.243a2 2 0 0 1-2.828 0L7.05 14.12a2 2 0 0 1 0-2.828m9.193-2.12l3.086-.772a1.5 1.5 0 0 0 .697-2.516L17.81 3.667a1.5 1.5 0 0 0-2.44.47L14.122 7.05"/><path d="M9.172 16.243L8.4 19.329a1.5 1.5 0 0 1-2.516.697L3.667 17.81a1.5 1.5 0 0 1 .47-2.44l2.913-1.248"/></g></svg>

How to use the Candy icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Tabler Icons

Candy icon in other icon sets

Candy icon FAQ

Is the Candy icon free for commercial use?

Yes. Tabler 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="tabler: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/tabler/candy.svg" alt="Candy icon">, or paste the SVG code inline to style it with CSS.

Browse all Tabler Icons →