- Category
- general
- Styles
- Outline
- Component
- IconCandy
- License
- MIT · Paweł Kuna
- Files
-
outline/candy.svg
Candy icon
Download the Candy icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- sweet
- sugar
- confectionery
- treat
- halloween
- bonbon
- dessert
Size
Stroke
Color
Code
Copy it the way you use it
candy.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="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 0l-2.829 -2.831a2 2 0 0 1 0 -2.828" />
<path d="M16.243 9.172l3.086 -.772a1.5 1.5 0 0 0 .697 -2.516l-2.216 -2.217a1.5 1.5 0 0 0 -2.44 .47l-1.248 2.913" />
<path d="M9.172 16.243l-.772 3.086a1.5 1.5 0 0 1 -2.516 .697l-2.217 -2.216a1.5 1.5 0 0 1 .47 -2.44l2.913 -1.248" />
</svg> Use the Candy 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 { IconCandy } from '@tabler/icons-react';
<IconCandy size={24} stroke={2} />Read the React guideVue example
import { IconCandy } from '@tabler/icons-vue';
<IconCandy :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconCandy } from '@tabler/icons-svelte-runes';
<IconCandy size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related