Cake icon
bx:cake
The Cake icon (bx:cake) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 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
- BoxIcons v2
- Author
- Boxicons
- License
- MIT
- Size
- 24 × 24
- Tags
- bx cake
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 5h-6V2h-2v3H5C3.346 5 2 6.346 2 8v10c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V8c0-1.654-1.346-3-3-3M5 7h14a1 1 0 0 1 1 1l.001 3.12c-.896.228-1.469.734-1.916 1.132c-.507.45-.842.748-1.588.748c-.745 0-1.08-.298-1.587-.747c-.595-.529-1.409-1.253-2.915-1.253c-1.505 0-2.319.724-2.914 1.253c-.507.45-.841.747-1.586.747c-.743 0-1.077-.297-1.582-.747c-.447-.398-1.018-.905-1.913-1.133V8a1 1 0 0 1 1-1M4 18v-4.714c.191.123.374.274.583.461C5.178 14.276 5.991 15 7.495 15s2.319-.724 2.914-1.253c.507-.45.841-.747 1.586-.747s1.08.298 1.587.747c.595.529 1.409 1.253 2.915 1.253s2.321-.724 2.916-1.253c.211-.188.395-.34.588-.464L20.002 18z"/></svg>How to use the Cake icon
React
import { Icon } from "@iconify/react";
<Icon icon="bx:cake" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bx:cake" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bx:cake" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bx--cake]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bx -->
<div class="i-bx:cake"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bx:cake"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bx/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. BoxIcons v2 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="bx: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/bx/cake.svg" alt="Cake icon">, or paste the SVG code inline to style it with CSS.