ICONYZ
English
Blocks 2 Sharp Fill icon from Keyline Icons

Blocks 2 Sharp Fill icon

keyline-icons:blocks-2-sharp-fill

The Blocks 2 Sharp Fill icon (keyline-icons:blocks-2-sharp-fill) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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.

Icon set
Keyline Icons
Author
Keyline Icons
License
MIT
Size
24 × 24
Tags
blockssharp, sharpfill, blockssharpfill, block
Download SVG

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="M7 2C7 1.4477 7.4477 1 8 1L16 1C16.5523 1 17 1.4477 17 2L17 10C17 10.5523 16.5523 11 16 11L8 11C7.4477 11 7 10.5523 7 10L7 2ZM1 14C1 13.4477 1.4477 13 2 13L10 13C10.5523 13 11 13.4477 11 14L11 22C11 22.5523 10.5523 23 10 23L2 23C1.4477 23 1 22.5523 1 22L1 14ZM13 14C13 13.4477 13.4477 13 14 13L22 13C22.5523 13 23 13.4477 23 14L23 22C23 22.5523 22.5523 23 22 23L14 23C13.4477 23 13 22.5523 13 22L13 14Z" clip-rule="evenodd"/></svg>

How to use the Blocks 2 Sharp Fill icon

React

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

<Icon icon="keyline-icons:blocks-2-sharp-fill" width="24" />

Vue

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

<template>
  <Icon icon="keyline-icons:blocks-2-sharp-fill" width="24" />
</template>

Svelte

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

<Icon icon="keyline-icons:blocks-2-sharp-fill" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--blocks-2-sharp-fill]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:blocks-2-sharp-fill"></div>

Web component

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

<iconify-icon icon="keyline-icons:blocks-2-sharp-fill"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/blocks-2-sharp-fill.svg" alt="Blocks 2 Sharp Fill icon" width="24" height="24">

Related icons in Keyline Icons

Blocks 2 Sharp Fill icon FAQ

Is the Blocks 2 Sharp Fill icon free for commercial use?

Yes. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Blocks 2 Sharp Fill icon in React?

Install @iconify/react and render <Icon icon="keyline-icons:blocks-2-sharp-fill" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Blocks 2 Sharp Fill icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/blocks-2-sharp-fill.svg" alt="Blocks 2 Sharp Fill icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →