ICONYZ
English
Grid icon from Unicons Thin Line

Grid icon

uit:grid

The Grid icon (uit:grid) is a free SVG icon from the Unicons Thin Line set by Iconscout. It is drawn on a 24 × 24 grid. Unicons Thin Line 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
Unicons Thin Line
Author
Iconscout
License
Apache-2.0
Size
24 × 24
Category
Cloud And Web
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.5 2h-19a.5.5 0 0 0-.5.5v19a.5.5 0 0 0 .5.5h19a.5.5 0 0 0 .5-.5v-19a.5.5 0 0 0-.5-.5m-10 19H3v-5.5h8.5zm0-6.5H3v-5h8.5zM21 21h-8.5v-5.5H21zm0-6.5h-8.5v-5H21zm0-6H3V3h18z"/></svg>

How to use the Grid icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Unicons Thin Line

Grid icon in other icon sets

Grid icon FAQ

Is the Grid icon free for commercial use?

Yes. Unicons Thin Line icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Grid icon in React?

Install @iconify/react and render <Icon icon="uit: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/uit/grid.svg" alt="Grid icon">, or paste the SVG code inline to style it with CSS.

Browse all Unicons Thin Line icons →