Grain icon
material-icon-theme:grain
The Grain icon (material-icon-theme:grain) is a free SVG icon from the Material Icon Theme set by Material Extensions. It is drawn on a 32 × 32 grid. Material Icon Theme 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
- Material Icon Theme
- Author
- Material Extensions
- License
- MIT
- Size
- 32 × 32
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="#ffa726" d="m16 2l-4.97 9.782L16 16l5.094-4.218Z"/><path fill="#f57f17" d="M2 6.848V18.64L16 30l7.228-5.844Z"/><path fill="#f57c00" d="M30 18.645V6.71L17.334 17.235l7.284 5.808Z"/></svg>How to use the Grain icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-icon-theme:grain" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-icon-theme:grain" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-icon-theme:grain" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-icon-theme--grain]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-icon-theme -->
<div class="i-material-icon-theme:grain"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-icon-theme:grain"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-icon-theme/grain.svg" alt="Grain icon" width="24" height="24">Grain icon in other icon sets
Grain icon FAQ
Is the Grain icon free for commercial use?
Yes. Material Icon Theme icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Grain icon in React?
Install @iconify/react and render <Icon icon="material-icon-theme:grain" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Grain icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-icon-theme/grain.svg" alt="Grain icon">, or paste the SVG code inline to style it with CSS.