ICONYZ
English
Cookie icon from Font Awesome 6 Solid

Cookie icon

fa6-solid:cookie

The Cookie icon (fa6-solid:cookie) is a free SVG icon from the Font Awesome 6 Solid set by Dave Gandy. It is drawn on a 512 × 512 grid. Font Awesome 6 Solid icons 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
Font Awesome 6 Solid
Author
Dave Gandy
License
CC-BY-4.0
Size
512 × 512
Category
Objects, Childhood, Food
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M247.2 17c-22.1-3.1-44.6.9-64.4 11.4l-74 39.5c-19.7 10.5-35.6 27-45.4 47.1l-36.7 75.6c-9.8 20.1-13 42.9-9.1 64.9l14.5 82.8c3.9 22.1 14.6 42.3 30.7 57.9l60.3 58.4c16.1 15.6 36.6 25.6 58.7 28.7l83 11.7c22.1 3.1 44.6-.9 64.4-11.4l74-39.5c19.7-10.5 35.6-27 45.4-47.2l36.7-75.5c9.8-20.1 13-42.9 9.1-64.9l-14.6-82.8c-3.9-22.1-14.6-42.3-30.7-57.9l-60.2-58.3c-16.1-15.6-36.6-25.6-58.7-28.7zM208 144a32 32 0 1 1 0 64a32 32 0 1 1 0-64m-64 192a32 32 0 1 1 64 0a32 32 0 1 1-64 0m224-64a32 32 0 1 1 0 64a32 32 0 1 1 0-64"/></svg>

How to use the Cookie icon

React

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

<Icon icon="fa6-solid:cookie" width="24" />

Vue

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

<template>
  <Icon icon="fa6-solid:cookie" width="24" />
</template>

Svelte

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

<Icon icon="fa6-solid:cookie" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fa6-solid:cookie"></iconify-icon>

HTML image

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

Related icons in Font Awesome 6 Solid

Cookie icon in other icon sets

Cookie icon FAQ

Is the Cookie icon free for commercial use?

Yes. Font Awesome 6 Solid icons 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="fa6-solid: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/fa6-solid/cookie.svg" alt="Cookie icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 6 Solid icons →