View Grid icon
gg:view-grid
The View Grid icon (gg:view-grid) is a free SVG icon from the css.gg set by Astrit. It is drawn on a 24 × 24 grid. css.gg 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M5 5a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3zm3 2H5a1 1 0 0 0-1 1v1h4zm2 0v2h4V7zm6 0v2h4V8a1 1 0 0 0-1-1zm-2 4h-4v2h4zm2 2v-2h4v2zm-2 2h-4v2h4zm2 2v-2h4v1a1 1 0 0 1-1 1zm-8 0v-2H4v1a1 1 0 0 0 1 1zm0-4v-2H4v2z" clip-rule="evenodd"/></svg>How to use the View Grid icon
React
import { Icon } from "@iconify/react";
<Icon icon="gg:view-grid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gg:view-grid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gg:view-grid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gg--view-grid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gg -->
<div class="i-gg:view-grid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gg:view-grid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gg/view-grid.svg" alt="View Grid icon" width="24" height="24">Related icons in css.gg
View Grid icon in other icon sets
View Grid icon FAQ
Is the View Grid icon free for commercial use?
Yes. css.gg icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the View Grid icon in React?
Install @iconify/react and render <Icon icon="gg:view-grid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the View Grid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gg/view-grid.svg" alt="View Grid icon">, or paste the SVG code inline to style it with CSS.