ICONYZ
English
Grid icon from Pepicons

Grid icon

pepicons:grid

The Grid icon (pepicons:grid) is a free SVG icon from the Pepicons set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Pepicons
Author
CyCraft
License
CC-BY-4.0
Size
20 × 20
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M5 5v3h3V5H5ZM4 3.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5V4a.5.5 0 0 0-.5-.5H4ZM12 5v3h3V5h-3Zm-1-1.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5V4a.5.5 0 0 0-.5-.5h-5ZM5 12v3h3v-3H5Zm-1-1.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5H4Zm8 1.5v3h3v-3h-3Zm-1-1.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z" clip-rule="evenodd"/></svg>

How to use the Grid icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Pepicons

Grid icon in other icon sets

Grid icon FAQ

Is the Grid icon free for commercial use?

Yes. Pepicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Grid icon in React?

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

Browse all Pepicons →