- Category
- general
- Styles
- Outline
- Component
- IconCake
- License
- MIT · Paweł Kuna
- Files
-
outline/cake.svg
Cake icon
Download the Cake icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- birthday
- party
- celebration
- dessert
- sweet
- bakery
- anniversary
Size
Stroke
Color
Code
Copy it the way you use it
cake.svg
<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="M3 20h18v-8a3 3 0 0 0 -3 -3h-12a3 3 0 0 0 -3 3v8" />
<path d="M3 14.803c.312 .135 .654 .204 1 .197a2.4 2.4 0 0 0 2 -1a2.4 2.4 0 0 1 2 -1a2.4 2.4 0 0 1 2 1a2.4 2.4 0 0 0 2 1a2.4 2.4 0 0 0 2 -1a2.4 2.4 0 0 1 2 -1a2.4 2.4 0 0 1 2 1a2.4 2.4 0 0 0 2 1c.35 .007 .692 -.062 1 -.197" />
<path d="M12 4l1.465 1.638a2 2 0 1 1 -3.015 .099l1.55 -1.737" />
</svg> Use the Cake icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconCake } from '@tabler/icons-react';
<IconCake size={24} stroke={2} />Read the React guideVue example
import { IconCake } from '@tabler/icons-vue';
<IconCake :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconCake } from '@tabler/icons-svelte-runes';
<IconCake size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related