Blocks icon
boxicons:blocks
The Blocks icon (boxicons:blocks) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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" d="M15 14h-5V9c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1m-7-4v4H4v-4zM4 20v-4h4v4zm10 0h-4v-4h4zm3.46-17.71a.996.996 0 0 0-1.41 0L11.8 6.54a.996.996 0 0 0 0 1.41l4.25 4.25c.2.2.45.29.71.29s.51-.1.71-.29l4.25-4.25a.996.996 0 0 0 0-1.41l-4.25-4.25Zm-.71 7.79l-2.84-2.84l2.84-2.84l2.84 2.84z"/></svg>How to use the Blocks icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:blocks" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:blocks" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:blocks" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--blocks]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:blocks"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:blocks"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/blocks.svg" alt="Blocks icon" width="24" height="24">Related icons in Boxicons
Blocks icon in other icon sets
Blocks icon FAQ
Is the Blocks icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Blocks icon in React?
Install @iconify/react and render <Icon icon="boxicons:blocks" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Blocks icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/blocks.svg" alt="Blocks icon">, or paste the SVG code inline to style it with CSS.