ICONYZ
English
Grains icon from Phosphor

Grains icon

ph:grains

The Grains icon (ph:grains) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
Phosphor
Author
Phosphor Icons
License
MIT
Size
256 × 256
Tags
wheat, gluten, farm, farming, agriculture, grain
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M208 56a87.5 87.5 0 0 0-31.85 6c-14.32-29.7-43.25-44.46-44.57-45.12a8 8 0 0 0-7.16 0c-1.33.66-30.25 15.42-44.57 45.12A87.5 87.5 0 0 0 48 56a8 8 0 0 0-8 8v80a88 88 0 0 0 176 0V64a8 8 0 0 0-8-8m-88 159.56A72.1 72.1 0 0 1 56 144v-15.56A72.1 72.1 0 0 1 120 200Zm0-66.1a88 88 0 0 0-64-37.09V72.44A72.1 72.1 0 0 1 120 144ZM94.15 69.11c9.22-19.21 26.41-31.33 33.85-35.9c7.44 4.58 24.63 16.7 33.84 35.9A88.6 88.6 0 0 0 128 107.36a88.57 88.57 0 0 0-33.85-38.25M200 144a72.1 72.1 0 0 1-64 71.56V200a72.1 72.1 0 0 1 64-71.56Zm0-31.63a88 88 0 0 0-64 37.09V144a72.1 72.1 0 0 1 64-71.56Z"/></svg>

How to use the Grains icon

React

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

<Icon icon="ph:grains" width="24" />

Vue

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

<template>
  <Icon icon="ph:grains" width="24" />
</template>

Svelte

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

<Icon icon="ph:grains" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="ph:grains"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ph/grains.svg" alt="Grains icon" width="24" height="24">

Related icons in Phosphor

Grains icon FAQ

Is the Grains icon free for commercial use?

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

How do I use the Grains icon in React?

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

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

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

Browse all Phosphor icons →