Grocery icon
material-symbols:grocery
The Grocery icon (material-symbols:grocery) is a free SVG icon from the Material Symbols set by Google. It is drawn on a 24 × 24 grid. Material Symbols icons are released under the Apache 2.0 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
- Material Symbols
- Author
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Household
- Tags
- grocery rounded
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4 20q-.825 0-1.412-.587T2 18v-7.6q0-.2.038-.4t.112-.4l2-4.6H4q-.425 0-.712-.288T3 4V3q0-.425.288-.712T4 2h7q.425 0 .713.288T12 3v1q0 .425-.288.713T11 5h-.15l1.65 3.8q-2.025 1.05-3.275 2.938t-1.25 4.237q0 1 .275 2.088T9.1 20zm12 2q-2.5 0-4.25-1.75T10 16t1.75-4.25T16 10t4.25 1.75T22 16t-1.75 4.25T16 22m0-13q-1.05 0-1.775-.725T13.5 6.5t.725-1.775T16 4zq0-1.05.725-1.775T18.5 6.5t1.775.725T21 9z"/></svg>How to use the Grocery icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols:grocery" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols:grocery" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols:grocery" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols--grocery]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols -->
<div class="i-material-symbols:grocery"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-symbols:grocery"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-symbols/grocery.svg" alt="Grocery icon" width="24" height="24">Related icons in Material Symbols
Grocery icon in other icon sets
Grocery icon FAQ
Is the Grocery icon free for commercial use?
Yes. Material Symbols icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Grocery icon in React?
Install @iconify/react and render <Icon icon="material-symbols:grocery" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Grocery icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-symbols/grocery.svg" alt="Grocery icon">, or paste the SVG code inline to style it with CSS.