ICONYZ
English
Cookie icon from Majesticons

Cookie icon

majesticons:cookie

The Cookie icon (majesticons:cookie) is a free SVG icon from the Majesticons set by Gerrit Halfmann. It is drawn on a 24 × 24 grid. Majesticons 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.

Icon set
Majesticons
Author
Gerrit Halfmann
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M6.85 4.787C8.731 3.44 10.958 3 12.456 3h1.005a1 1 0 0 1 1 1v3h2.014a1 1 0 0 1 1 1v2h3.019a1 1 0 0 1 1 1v1c0 3.503-1.395 5.808-3.297 7.206c-1.85 1.36-4.087 1.794-5.74 1.794s-3.89-.434-5.742-1.794C4.814 17.808 3.419 15.503 3.419 12c0-3.528 1.5-5.828 3.431-7.213M9.442 7a1 1 0 1 0 0 2h.001a1 1 0 0 0 0-2zm-3.01 5a1 1 0 0 1 1-1h.002a1 1 0 1 1 0 2h-.001a1 1 0 0 1-1-1zm6.024 0a1 1 0 1 0 0 2h.001a1 1 0 1 0 0-2zm-3.01 4a1 1 0 0 1 1-1h.002a1 1 0 1 1 0 2h-.001a1 1 0 0 1-1-1zm7.029-2a1 1 0 1 0 0 2a1 1 0 1 0 0-2" clip-rule="evenodd"/></svg>

How to use the Cookie icon

React

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

<Icon icon="majesticons:cookie" width="24" />

Vue

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

<template>
  <Icon icon="majesticons:cookie" width="24" />
</template>

Svelte

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

<Icon icon="majesticons:cookie" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="majesticons:cookie"></iconify-icon>

HTML image

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

Related icons in Majesticons

Cookie icon in other icon sets

Cookie icon FAQ

Is the Cookie icon free for commercial use?

Yes. Majesticons 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="majesticons: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/majesticons/cookie.svg" alt="Cookie icon">, or paste the SVG code inline to style it with CSS.

Browse all Majesticons →