ICONYZ
English
Snacks icon from Griddy Icons

Snacks icon

griddy-icons:snacks

The Snacks icon (griddy-icons:snacks) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy Icons 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
Griddy Icons
Author
Zuzana Benova
License
MIT
Size
24 × 24
Tags
snack
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M17.231 4.298A2.75 2.75 0 0 1 19.944 2H22v1.5h-2.056a1.25 1.25 0 0 0-1.233 1.045L18.635 5h3.453L20.42 20H18.5v-1.5h.579l1.333-12H10.6l.394 3.157l-1.488.186L8.9 5h8.214z"/><path fill-rule="evenodd" d="M8 11.5a6 6 0 0 0-6 6v1.75a2.25 2.25 0 0 0 2.25 2.25h10A2.75 2.75 0 0 0 17 18.75V17.5a6 6 0 0 0-6-6zm6.25 8.5H6.372q.126-.354.128-.75V17.5a4.5 4.5 0 1 1 9 0v1.25c0 .69-.56 1.25-1.25 1.25M5 17.5c0-1.717.72-3.265 1.876-4.359A4.5 4.5 0 0 0 3.5 17.5v1.75a.75.75 0 0 0 1.5 0z" clip-rule="evenodd"/></g></svg>

How to use the Snacks icon

React

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

<Icon icon="griddy-icons:snacks" width="24" />

Vue

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

<template>
  <Icon icon="griddy-icons:snacks" width="24" />
</template>

Svelte

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

<Icon icon="griddy-icons:snacks" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--snacks]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="griddy-icons:snacks"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/griddy-icons/snacks.svg" alt="Snacks icon" width="24" height="24">

Related icons in Griddy Icons

Snacks icon in other icon sets

Snacks icon FAQ

Is the Snacks icon free for commercial use?

Yes. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Snacks icon in React?

Install @iconify/react and render <Icon icon="griddy-icons:snacks" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Snacks icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/griddy-icons/snacks.svg" alt="Snacks icon">, or paste the SVG code inline to style it with CSS.

Browse all Griddy Icons →