ICONYZ
English
Cake icon from Akar Icons

Cake icon

akar-icons:cake

The Cake icon (akar-icons:cake) is a free SVG icon from the Akar Icons set by Arturo Wibawa. It is drawn on a 24 × 24 grid. Akar 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
Akar Icons
Author
Arturo Wibawa
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-width="2"><path stroke-linejoin="round" d="M3 13a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><path d="m3 13l2.914 2.331c1.187.95 2.9.855 3.975-.22v0a2.985 2.985 0 0 1 4.222 0v0a2.985 2.985 0 0 0 3.975.22L21 13"/><path stroke-linejoin="round" d="M12 6a2 2 0 0 1-2-2c0-.876.677-1.576 1.273-2.217L12 1l.727.783C13.323 2.424 14 3.124 14 4a2 2 0 0 1-2 2"/></g></svg>

How to use the Cake icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/akar-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. Akar 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="akar-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/akar-icons/cake.svg" alt="Cake icon">, or paste the SVG code inline to style it with CSS.

Browse all Akar Icons →