ICONYZ
English
Cake icon from Lets Icons

Cake icon

lets-icons:cake

The Cake icon (lets-icons:cake) is a free SVG icon from the Lets Icons set by Leonid Tsvetkov. It is drawn on a 24 × 24 grid. Lets Icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Lets Icons
Author
Leonid Tsvetkov
License
CC-BY-4.0
Size
24 × 24
Category
Food and Drinks
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m7 16l.276 1.658c.266 1.596.4 2.394.959 2.868c.56.474 1.369.474 2.987.474h1.556c1.618 0 2.428 0 2.987-.474s.693-1.272.959-2.868L17 16"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M13.5 4.5C14 3.5 15 3 16 3"/><circle cx="12" cy="6" r="2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/><path fill="currentColor" fill-rule="evenodd" d="M10 7.535a4 4 0 0 0-1.668 1.866a1 1 0 0 1-.893.6a2.5 2.5 0 1 0 1.512 4.535a1 1 0 0 1 1.076-.056c.581.33 1.253.52 1.973.52s1.392-.19 1.973-.52a1 1 0 0 1 1.076.056a2.5 2.5 0 1 0 1.512-4.535a1 1 0 0 1-.893-.6A4 4 0 0 0 14 7.535V5.341a6.02 6.02 0 0 1 3.23 2.718a4.501 4.501 0 1 1-2.81 8.433A6 6 0 0 1 12 17a6 6 0 0 1-2.42-.509A4.5 4.5 0 1 1 6.77 8.06A6.02 6.02 0 0 1 10 5.341z" clip-rule="evenodd"/></g></svg>

How to use the Cake icon

React

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

<Icon icon="lets-icons:cake" width="24" />

Vue

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

<template>
  <Icon icon="lets-icons:cake" width="24" />
</template>

Svelte

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

<Icon icon="lets-icons:cake" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[lets-icons--cake]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="lets-icons:cake"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/lets-icons/cake.svg" alt="Cake icon" width="24" height="24">

Cake icon in other icon sets

Cake icon FAQ

Is the Cake icon free for commercial use?

Yes. Lets Icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Cake icon in React?

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

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

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

Browse all Lets Icons →