ICONYZ
English
Cookie icon from Material Symbols

Cookie icon

material-symbols:cookie

The Cookie icon (material-symbols:cookie) is a free SVG icon from the Material Symbols set by Google. It is drawn on a 24 × 24 grid. Material Symbols 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
Material Symbols
Author
Google
License
Apache-2.0
Size
24 × 24
Category
Social
Tags
biscuit, cookies, data, dessert, wafer, social, cookie sharp
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 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12q0-1.875.725-3.675T4.75 5.112t3.125-2.275t4-.862q.525 0 1.075.05t1.125.175q-.225 1.125.15 2.125t1.125 1.662t1.788.913t2.137-.125q-.65 1.475.188 2.825T21.95 11q.025.275.038.512t.012.513q0 2.05-.788 3.862t-2.137 3.175t-3.175 2.15T12 22m-1.5-12q.625 0 1.063-.437T12 8.5t-.437-1.062T10.5 7t-1.062.438T9 8.5t.438 1.063T10.5 10m-2 5q.625 0 1.063-.437T10 13.5t-.437-1.062T8.5 12t-1.062.438T7 13.5t.438 1.063T8.5 15m6.5 1q.425 0 .713-.288T16 15t-.288-.712T15 14t-.712.288T14 15t.288.713T15 16"/></svg>

How to use the Cookie icon

React

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

<Icon icon="material-symbols:cookie" width="24" />

Vue

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

<template>
  <Icon icon="material-symbols:cookie" width="24" />
</template>

Svelte

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

<Icon icon="material-symbols:cookie" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols--cookie]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/material-symbols -->
<div class="i-material-symbols:cookie"></div>

Web component

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

<iconify-icon icon="material-symbols:cookie"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/material-symbols/cookie.svg" alt="Cookie icon" width="24" height="24">

Related icons in Material Symbols

Cookie icon in other icon sets

Cookie icon FAQ

Is the Cookie icon free for commercial use?

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

How do I use the Cookie icon in React?

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

How do I add the Cookie icon to a web page?

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

Browse all Material Symbols icons →