ICONYZ
English
Outline Cake icon from Google Material Icons

Outline Cake icon

ic:outline-cake

The Outline Cake icon (ic:outline-cake) is a free SVG icon from the Google Material Icons set by Material Design Authors. It is drawn on a 24 × 24 grid. Google Material Icons are released under the Apache 2.0 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
Google Material Icons
Author
Material Design Authors
License
Apache-2.0
Size
24 × 24
Category
Social
Tags
add, baked, birthday, cake, candles, celebration, dessert, food, frosting, party, pastries, pastry, plus, social, sweet, symbol
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 6a2 2 0 0 0 2-2c0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03c0 1.1.9 2 2 2m6 3h-5V7h-2v2H6c-1.66 0-3 1.34-3 3v9c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-9c0-1.66-1.34-3-3-3m1 11H5v-3c.9-.01 1.76-.37 2.4-1.01l1.09-1.07l1.07 1.07c1.31 1.31 3.59 1.3 4.89 0l1.08-1.07l1.07 1.07c.64.64 1.5 1 2.4 1.01zm0-4.5c-.51-.01-.99-.2-1.35-.57l-2.13-2.13l-2.14 2.13c-.74.74-2.03.74-2.77 0L8.48 12.8l-2.14 2.13c-.35.36-.83.56-1.34.57V12c0-.55.45-1 1-1h12c.55 0 1 .45 1 1z"/></svg>

How to use the Outline Cake icon

React

import { Icon } from "@iconify/react";

<Icon icon="ic:outline-cake" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="ic:outline-cake" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="ic:outline-cake" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ic--outline-cake]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ic -->
<div class="i-ic:outline-cake"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="ic:outline-cake"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ic/outline-cake.svg" alt="Outline Cake icon" width="24" height="24">

Related icons in Google Material Icons

Outline Cake icon FAQ

Is the Outline Cake icon free for commercial use?

Yes. Google Material Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Outline Cake icon in React?

Install @iconify/react and render <Icon icon="ic:outline-cake" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Outline Cake icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ic/outline-cake.svg" alt="Outline Cake icon">, or paste the SVG code inline to style it with CSS.

Browse all Google Material Icons →