Cookie icon
boxicons:cookie
The Cookie icon (boxicons:cookie) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons are released under the MIT 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="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.6 11.04a.96.96 0 0 0-.85-.17c-.29.07-.52.11-.74.11c-1.65 0-3-1.35-3-2.95c0-.03.02-.13.02-.17a.997.997 0 0 0-1.25-1.01c-.29.08-.53.11-.76.11c-1.65 0-3-1.35-3-3.01c0-.22.03-.45.1-.72A.99.99 0 0 0 11.06 2C5.88 2.5 2 6.79 2 11.98C2 17.51 6.49 22 12 22s10-4.5 10-10.02v-.16c-.01-.31-.16-.59-.4-.78M12 20c-4.41 0-8-3.6-8-8.02c0-3.73 2.51-6.88 6.01-7.77c.13 2.68 2.36 4.85 5.09 4.76a5.01 5.01 0 0 0 4.84 4.01C19.45 16.93 16.08 20 12 20"/><path fill="currentColor" d="M12.5 10a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0-3m3-8a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0-3m-8 9a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0-3M9 8a1 1 0 1 0 0 2a1 1 0 1 0 0-2m6 6a1 1 0 1 0 0 2a1 1 0 1 0 0-2m6-9a1 1 0 1 0 0 2a1 1 0 1 0 0-2M10.5 15a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0-3"/></svg>How to use the Cookie icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:cookie" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:cookie" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:cookie" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--cookie]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:cookie"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:cookie"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/cookie.svg" alt="Cookie icon" width="24" height="24">Related icons in Boxicons
Cookie icon in other icon sets
Cookie icon FAQ
Is the Cookie icon free for commercial use?
Yes. Boxicons are released under the MIT 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="boxicons: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/boxicons/cookie.svg" alt="Cookie icon">, or paste the SVG code inline to style it with CSS.