ICONYZ
English
Cake 20 icon from Energy Icons

Cake 20 icon

energy-icons:cake-20

The Cake 20 icon (energy-icons:cake-20) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 20 × 20 grid. Energy 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
Energy Icons
Author
Sam Passmore
License
MIT
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M16.667 8.668a.5.5 0 0 1 .5.5v8.333a.5.5 0 0 1-.5.5H3.333a.5.5 0 0 1-.5-.5V9.168a.5.5 0 0 1 .5-.5zM3.833 17.001h12.334V9.668H3.833z"/><path fill="currentColor" d="M13.333 11.168a.5.5 0 0 1 .416.223c.636.953 1.866.953 2.502 0l.832.554c-.908 1.36-2.643 1.524-3.75.492a2.41 2.41 0 0 1-3.333 0a2.41 2.41 0 0 1-3.325.007c-.424.42-.937.661-1.519.661c-.757 0-1.502-.41-2.177-1.084l.708-.707c.575.576 1.08.791 1.47.791c.362 0 .743-.189 1.094-.714a.5.5 0 0 1 .832 0c.635.953 1.866.953 2.501 0l.037-.05a.5.5 0 0 1 .795.05c.635.953 1.866.953 2.501 0l.037-.05a.5.5 0 0 1 .379-.173M6.167 5.834a.5.5 0 0 1 1 0v3.334h-1zM9.5 5.001a.5.5 0 1 1 1 0v4.167h-1zm3.333.833a.5.5 0 0 1 1 0v3.334h-1zM6.167 3.759V3.75a.5.5 0 1 1 1 0v.008a.5.5 0 0 1-1 0M9.5 2.926v-.008a.5.5 0 0 1 1 0v.008a.5.5 0 0 1-1 0m3.333.833V3.75a.5.5 0 0 1 1 0v.008a.5.5 0 0 1-1 0"/></svg>

How to use the Cake 20 icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="energy-icons:cake-20"></iconify-icon>

HTML image

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

Related icons in Energy Icons

Cake 20 icon FAQ

Is the Cake 20 icon free for commercial use?

Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Cake 20 icon in React?

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

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

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

Browse all Energy Icons →