softicons.dev

cake icon

Free cake SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons commerce set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <path d="M4 13a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v7a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1Z"/>
  <path d="M4 16c1.5 0 1.5 1.5 3 1.5S8.5 16 10 16s1.5 1.5 3 1.5 1.5-1.5 3-1.5 1.5 1.5 3 1.5"/>
  <line x1="12" y1="6" x2="12" y2="11"/>
  <line x1="12" y1="3" x2="12" y2="3.01"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/commerce/cake.svg"
     width="24" height="24" alt="cake icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { CakeIcon } from "@softicons/react";

export default function Example() {
  return <CakeIcon size={24} strokeWidth={2} />;
}
<script setup>
import { CakeIcon } from "@softicons/vue";
</script>

<template>
  <CakeIcon :size="24" :stroke-width="2" />
</template>
import { CakeIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [CakeIconComponent],
  template: `<cake-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}