Block icon
gridicons:block
The Block icon (gridicons:block) is a free SVG icon from the Gridicons set by Automattic. It is drawn on a 24 × 24 grid. Gridicons are released under the GPL 2.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
- Gridicons
- Author
- Automattic
- License
- GPL-2.0-only
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10s10-4.477 10-10S17.523 2 12 2M4 12a8 8 0 0 1 8-8c1.848 0 3.545.633 4.9 1.686L5.686 16.9A7.96 7.96 0 0 1 4 12m8 8a7.96 7.96 0 0 1-4.9-1.686L18.314 7.1A7.96 7.96 0 0 1 20 12a8 8 0 0 1-8 8"/></svg>How to use the Block icon
React
import { Icon } from "@iconify/react";
<Icon icon="gridicons:block" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gridicons:block" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gridicons:block" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gridicons--block]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gridicons -->
<div class="i-gridicons:block"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gridicons:block"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gridicons/block.svg" alt="Block icon" width="24" height="24">Block icon in other icon sets
Block icon FAQ
Is the Block icon free for commercial use?
Yes. Gridicons are released under the GPL 2.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 Block icon in React?
Install @iconify/react and render <Icon icon="gridicons:block" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Block icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gridicons/block.svg" alt="Block icon">, or paste the SVG code inline to style it with CSS.