cake from HeroIcons by Refactoring UI Inc · Outline 24x24 · MIT Free for personal and commercial use.

Name
cake
Set
HeroIcons
Style
Outline 24x24
Viewbox
24×24
License
MIT

3 other variants in HeroIcons

The same icon in other sets

Use the cake icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 8.25v-1.5m0 1.5q-2.033 0-4.024.166C6.845 8.51 6 9.473 6 10.608v2.513m6-4.871q2.033 0 4.024.166C17.155 8.51 18 9.473 18 10.608v2.513M15 8.25v-1.5m-6 1.5v-1.5m12 9.75l-1.5.75a3.35 3.35 0 0 1-3 0a3.35 3.35 0 0 0-3 0a3.35 3.35 0 0 1-3 0a3.35 3.35 0 0 0-3 0a3.35 3.35 0 0 1-3 0L3 16.5m15-3.379a49 49 0 0 0-6-.371q-3.05.002-6 .371m12 0q.585.073 1.163.16c1.07.16 1.837 1.094 1.837 2.175v5.169c0 .621-.504 1.125-1.125 1.125H4.125A1.125 1.125 0 0 1 3 20.625v-5.17c0-1.08.768-2.014 1.837-2.174A48 48 0 0 1 6 13.12m6.265-10.01a.375.375 0 1 1-.53 0L12 2.845zm-3 0a.375.375 0 1 1-.53 0L9 2.845zm6 0a.375.375 0 1 1-.53 0L15 2.845z"/></svg>

React

import type { SVGProps } from "react";

export function HeroiconsCake(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M12 8.25v-1.5m0 1.5q-2.033 0-4.024.166C6.845 8.51 6 9.473 6 10.608v2.513m6-4.871q2.033 0 4.024.166C17.155 8.51 18 9.473 18 10.608v2.513M15 8.25v-1.5m-6 1.5v-1.5m12 9.75l-1.5.75a3.35 3.35 0 0 1-3 0a3.35 3.35 0 0 0-3 0a3.35 3.35 0 0 1-3 0a3.35 3.35 0 0 0-3 0a3.35 3.35 0 0 1-3 0L3 16.5m15-3.379a49 49 0 0 0-6-.371q-3.05.002-6 .371m12 0q.585.073 1.163.16c1.07.16 1.837 1.094 1.837 2.175v5.169c0 .621-.504 1.125-1.125 1.125H4.125A1.125 1.125 0 0 1 3 20.625v-5.17c0-1.08.768-2.014 1.837-2.174A48 48 0 0 1 6 13.12m6.265-10.01a.375.375 0 1 1-.53 0L12 2.845zm-3 0a.375.375 0 1 1-.53 0L9 2.845zm6 0a.375.375 0 1 1-.53 0L15 2.845z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 8.25v-1.5m0 1.5q-2.033 0-4.024.166C6.845 8.51 6 9.473 6 10.608v2.513m6-4.871q2.033 0 4.024.166C17.155 8.51 18 9.473 18 10.608v2.513M15 8.25v-1.5m-6 1.5v-1.5m12 9.75l-1.5.75a3.35 3.35 0 0 1-3 0a3.35 3.35 0 0 0-3 0a3.35 3.35 0 0 1-3 0a3.35 3.35 0 0 0-3 0a3.35 3.35 0 0 1-3 0L3 16.5m15-3.379a49 49 0 0 0-6-.371q-3.05.002-6 .371m12 0q.585.073 1.163.16c1.07.16 1.837 1.094 1.837 2.175v5.169c0 .621-.504 1.125-1.125 1.125H4.125A1.125 1.125 0 0 1 3 20.625v-5.17c0-1.08.768-2.014 1.837-2.174A48 48 0 0 1 6 13.12m6.265-10.01a.375.375 0 1 1-.53 0L12 2.845zm-3 0a.375.375 0 1 1-.53 0L9 2.845zm6 0a.375.375 0 1 1-.53 0L15 2.845z"/></svg>
</template>

CSS

.icon-cake {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M12%208.25v-1.5m0%201.5q-2.033%200-4.024.166C6.845%208.51%206%209.473%206%2010.608v2.513m6-4.871q2.033%200%204.024.166C17.155%208.51%2018%209.473%2018%2010.608v2.513M15%208.25v-1.5m-6%201.5v-1.5m12%209.75l-1.5.75a3.35%203.35%200%200%201-3%200a3.35%203.35%200%200%200-3%200a3.35%203.35%200%200%201-3%200a3.35%203.35%200%200%200-3%200a3.35%203.35%200%200%201-3%200L3%2016.5m15-3.379a49%2049%200%200%200-6-.371q-3.05.002-6%20.371m12%200q.585.073%201.163.16c1.07.16%201.837%201.094%201.837%202.175v5.169c0%20.621-.504%201.125-1.125%201.125H4.125A1.125%201.125%200%200%201%203%2020.625v-5.17c0-1.08.768-2.014%201.837-2.174A48%2048%200%200%201%206%2013.12m6.265-10.01a.375.375%200%201%201-.53%200L12%202.845zm-3%200a.375.375%200%201%201-.53%200L9%202.845zm6%200a.375.375%200%201%201-.53%200L15%202.845z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M12%208.25v-1.5m0%201.5q-2.033%200-4.024.166C6.845%208.51%206%209.473%206%2010.608v2.513m6-4.871q2.033%200%204.024.166C17.155%208.51%2018%209.473%2018%2010.608v2.513M15%208.25v-1.5m-6%201.5v-1.5m12%209.75l-1.5.75a3.35%203.35%200%200%201-3%200a3.35%203.35%200%200%200-3%200a3.35%203.35%200%200%201-3%200a3.35%203.35%200%200%200-3%200a3.35%203.35%200%200%201-3%200L3%2016.5m15-3.379a49%2049%200%200%200-6-.371q-3.05.002-6%20.371m12%200q.585.073%201.163.16c1.07.16%201.837%201.094%201.837%202.175v5.169c0%20.621-.504%201.125-1.125%201.125H4.125A1.125%201.125%200%200%201%203%2020.625v-5.17c0-1.08.768-2.014%201.837-2.174A48%2048%200%200%201%206%2013.12m6.265-10.01a.375.375%200%201%201-.53%200L12%202.845zm-3%200a.375.375%200%201%201-.53%200L9%202.845zm6%200a.375.375%200%201%201-.53%200L15%202.845z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/heroicons/cake.svg?color=%231a73e8&size=48