Cookie icon
ci:cookie
The Cookie icon (ci:cookie) is a free SVG icon from the coolicons set by Kryston Schwarze. It is drawn on a 24 × 24 grid. coolicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- coolicons
- Author
- Kryston Schwarze
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- Environment
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M12.152 4.087c0-.367-.052-.733-.152-1.087c4.968.005 8.994 4.04 9 9c.016 4.962-4.03 8.984-9 9s-8.984-4.037-9-9c1.112.236 2.27-.002 3.15-.72a3.83 3.83 0 0 0 1.42-3.006a4.5 4.5 0 0 0-.07-.781a3.28 3.28 0 0 0 3.07-.351a3.69 3.69 0 0 0 1.582-3.055m-9.15 2.915V7H3v.002zm5-4V3H8v.002zm-4 0V3H4v.002z"/><path d="M10.002 17.002V17H10v.002zm5-2V15H15v.002zm-4-3V12H11v.002zm5-2V10H16v.002zm-13-3V7H3v.002zm5-4V3H8v.002zm-4 0V3H4v.002z"/></g></svg>How to use the Cookie icon
React
import { Icon } from "@iconify/react";
<Icon icon="ci:cookie" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ci:cookie" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ci:cookie" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ci--cookie]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ci -->
<div class="i-ci:cookie"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ci:cookie"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ci/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. coolicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Cookie icon in React?
Install @iconify/react and render <Icon icon="ci: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/ci/cookie.svg" alt="Cookie icon">, or paste the SVG code inline to style it with CSS.