Cookie icon
carbon:cookie
The Cookie icon (carbon:cookie) is a free SVG icon from the Carbon set by IBM. It is drawn on a 32 × 32 grid. Carbon 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="10" cy="21" r="2" fill="currentColor"/><circle cx="23" cy="20" r="2" fill="currentColor"/><circle cx="13" cy="10" r="2" fill="currentColor"/><circle cx="14" cy="15" r="1" fill="currentColor"/><circle cx="23" cy="5" r="2" fill="currentColor"/><circle cx="29" cy="3" r="1" fill="currentColor"/><circle cx="16" cy="23" r="1" fill="currentColor"/><path fill="currentColor" d="M16 30C8.3 30 2 23.7 2 16S8.3 2 16 2h.3l1.4.1l-.3 1.2c-.1.4-.2.9-.2 1.3c0 2.8 2.2 5 5 5c1 0 2-.3 2.9-.9l1.3 1.5c-.4.4-.6.9-.6 1.4c0 1.3 1.3 2.4 2.7 1.9l1.2-.5l.2 1.3c.1.6.1 1.2.1 1.7c0 7.7-6.3 14-14 14m-.7-26C9 4.4 4 9.6 4 16c0 6.6 5.4 12 12 12s12-5.4 12-12v-.4c-2.3.1-4.2-1.7-4.2-4v-.2c-.5.1-1 .2-1.6.2c-3.9 0-7-3.1-7-7c0-.2 0-.4.1-.6"/></svg>How to use the Cookie icon
React
import { Icon } from "@iconify/react";
<Icon icon="carbon:cookie" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="carbon:cookie" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="carbon:cookie" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[carbon--cookie]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/carbon -->
<div class="i-carbon:cookie"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="carbon:cookie"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/carbon/cookie.svg" alt="Cookie icon" width="24" height="24">Cookie icon in other icon sets
Cookie icon FAQ
Is the Cookie icon free for commercial use?
Yes. Carbon 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="carbon: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/carbon/cookie.svg" alt="Cookie icon">, or paste the SVG code inline to style it with CSS.