ICONYZ
English
Grid icon from Elegant

Grid icon

et:grid

The Grid icon (et:grid) is a free SVG icon from the Elegant set by Kenny Sing. It is drawn on a 31 × 32 grid. Elegant icons are released under the GPL 3.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Elegant
Author
Kenny Sing
License
GPL-3.0-or-later
Size
31 × 32
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="31" height="32" viewBox="0 0 31 32"><g fill="currentColor"><path d="M28.5 11a.5.5 0 0 0 0-1H21V2.5a.5.5 0 0 0-1 0V10h-9V2.5a.5.5 0 0 0-1 0V10H2.5a.5.5 0 0 0 0 1H10v9H2.5a.5.5 0 0 0 0 1H10v8.5a.5.5 0 0 0 1 0V21h9v8.5a.5.5 0 0 0 1 0V21h7.5a.5.5 0 0 0 0-1H21v-9zM20 20h-9v-9h9z"/><path d="M31 30.5v-29c0-.827-.673-1.5-1.5-1.5h-28C.673 0 0 .673 0 1.5v29c0 .827.673 1.5 1.5 1.5h28c.827 0 1.5-.673 1.5-1.5m-30 0v-29a.5.5 0 0 1 .5-.5h28a.5.5 0 0 1 .5.5v29a.5.5 0 0 1-.5.5h-28a.5.5 0 0 1-.5-.5"/></g></svg>

How to use the Grid icon

React

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

<Icon icon="et:grid" width="24" />

Vue

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

<template>
  <Icon icon="et:grid" width="24" />
</template>

Svelte

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

<Icon icon="et:grid" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="et:grid"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/et/grid.svg" alt="Grid icon" width="24" height="24">

Grid icon in other icon sets

Grid icon FAQ

Is the Grid icon free for commercial use?

Yes. Elegant icons are released under the GPL 3.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license.

How do I use the Grid icon in React?

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

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

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

Browse all Elegant icons →