ICONYZ
English
Candy Cane icon from Line Awesome

Candy Cane icon

la:candy-cane

The Candy Cane icon (la:candy-cane) is a free SVG icon from the Line Awesome set by Icons8. It is drawn on a 32 × 32 grid. Line Awesome icons are released under the Apache 2.0 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
Line Awesome
Author
Icons8
License
Apache-2.0
Size
32 × 32
Category
Objects
Tags
candycane, candy cane solid
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M18 2a7.96 7.96 0 0 0-5.688 2.375l-.718.719l-.688.718l.719.688l2.844 2.813l.687.718l.719-.719l.688-.718C16.945 8.207 17.453 8 18 8c1.113 0 2 .887 2 2a1.95 1.95 0 0 1-.594 1.406L5.72 25.031L5 25.75l.719.688L8.53 29.28l.72.72l.688-.719l13.718-13.625A7.97 7.97 0 0 0 26 10c0-4.402-3.598-8-8-8m0 2c.805 0 1.582.152 2.281.438l-1.062 1.78c-.367-.116-.754-.21-1.157-.218l-.625-1.969C17.625 4.016 17.81 4 18 4m-2.469.563l.594 1.937c-.348.188-.688.402-.969.688L13.72 5.78c.527-.531 1.152-.922 1.812-1.218zm6.438.937a6 6 0 0 1 1.5 2l-1.938.688a4 4 0 0 0-.593-.876zm2 3.938c.015.183.031.374.031.562c0 .695-.125 1.367-.344 2H21.47c.32-.555.508-1.191.531-1.844zM19.656 14h2.813c-.074.082-.14.172-.219.25L20.5 16h-2.844zm-4.031 4h2.844l-2 2h-2.844zm-4 4h2.813l-2 2H9.594zm-3.531 4h2.312L9.25 27.156z"/></svg>

How to use the Candy Cane icon

React

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

<Icon icon="la:candy-cane" width="24" />

Vue

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

<template>
  <Icon icon="la:candy-cane" width="24" />
</template>

Svelte

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

<Icon icon="la:candy-cane" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="la:candy-cane"></iconify-icon>

HTML image

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

Candy Cane icon in other icon sets

Candy Cane icon FAQ

Is the Candy Cane icon free for commercial use?

Yes. Line Awesome icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Candy Cane icon in React?

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

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

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

Browse all Line Awesome icons →