Cake Solid icon
heroicons:cake-solid
The Cake Solid icon (heroicons:cake-solid) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
- Tags
- cakesolid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m15 1.784l-.796.795a1.125 1.125 0 1 0 1.592 0zm-3 0l-.796.795a1.125 1.125 0 1 0 1.592 0zm-3 0l-.796.795a1.125 1.125 0 1 0 1.592 0zm.75 5.763q.747-.032 1.5-.042V6.75a.75.75 0 0 1 1.5 0v.755q.753.01 1.5.042V6.75a.75.75 0 0 1 1.5 0v.88l.307.022c1.55.117 2.693 1.427 2.693 2.946v1.018a62.2 62.2 0 0 0-13.5 0v-1.018c0-1.519 1.143-2.829 2.693-2.946l.307-.022v-.88a.75.75 0 0 1 1.5 0zM12 12.75c-2.472 0-4.9.184-7.274.54c-1.454.217-2.476 1.482-2.476 2.916v.384a4.1 4.1 0 0 1 2.585.364a2.6 2.6 0 0 0 2.33 0a4.1 4.1 0 0 1 3.67 0a2.6 2.6 0 0 0 2.33 0a4.1 4.1 0 0 1 3.67 0a2.6 2.6 0 0 0 2.33 0a4.1 4.1 0 0 1 2.585-.364v-.384c0-1.434-1.022-2.7-2.476-2.917A49 49 0 0 0 12 12.75m9.75 5.381a2.6 2.6 0 0 0-1.915.165a4.1 4.1 0 0 1-3.67 0a2.6 2.6 0 0 0-2.33 0a4.1 4.1 0 0 1-3.67 0a2.6 2.6 0 0 0-2.33 0a4.1 4.1 0 0 1-3.67 0a2.6 2.6 0 0 0-1.915-.165v2.494c0 1.035.84 1.875 1.875 1.875h15.75c1.035 0 1.875-.84 1.875-1.875z"/></svg>How to use the Cake Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:cake-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:cake-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:cake-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--cake-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:cake-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:cake-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/cake-solid.svg" alt="Cake Solid icon" width="24" height="24">Related icons in HeroIcons
Cake Solid icon in other icon sets
Cake Solid icon FAQ
Is the Cake Solid icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Cake Solid icon in React?
Install @iconify/react and render <Icon icon="heroicons:cake-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cake Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/cake-solid.svg" alt="Cake Solid icon">, or paste the SVG code inline to style it with CSS.