ICONYZ
English
Cake icon from Huge Icons

Cake icon

hugeicons:cake

The Cake icon (hugeicons:cake) 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="M4 15.5v5h16v-5c0-2.828 0-4.243-.879-5.121C18.243 9.5 16.828 9.5 14 9.5h-4c-2.828 0-4.243 0-5.121.879C4 11.257 4 12.672 4 15.5"/><path d="M19.732 14A2 2 0 0 1 16 13a2 2 0 1 1-4 0a2 2 0 1 1-4 0a2 2 0 0 1-3.732 1M2 20.5h20"/><circle cx="12" cy="7.5" r="2"/><path d="M13 3.5c-.333.167-1 .8-1 2"/></g></svg>

How to use the Cake icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Huge Icons

Cake icon in other icon sets

Cake icon FAQ

Is the Cake 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 Cake icon in React?

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

Browse all Huge Icons →