ICONYZ
English
Blocks Sharp Duotone icon from Keyline Icons

Blocks Sharp Duotone icon

keyline-icons:blocks-sharp-duotone

The Blocks Sharp Duotone icon (keyline-icons:blocks-sharp-duotone) 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, sharpduotone, blockssharpduotone, block
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path fill-opacity=".4" fill-rule="evenodd" d="M2 5C2 4.4477 2.4477 4 3 4L9 4C9.5523 4 10 4.4477 10 5L10 11C10 11.5523 9.5523 12 9 12L3 12C2.4477 12 2 11.5523 2 11L2 5ZM2 15C2 14.4477 2.4477 14 3 14L9 14C9.5523 14 10 14.4477 10 15L10 21C10 21.5523 9.5523 22 9 22L3 22C2.4477 22 2 21.5523 2 21L2 15ZM12 15C12 14.4477 12.4477 14 13 14L19 14C19.5523 14 20 14.4477 20 15L20 21C20 21.5523 19.5523 22 19 22L13 22C12.4477 22 12 21.5523 12 21L12 15Z" clip-rule="evenodd"/><path d="M14 3C14 2.4477 14.4477 2 15 2L21 2C21.5523 2 22 2.4477 22 3L22 9C22 9.5523 21.5523 10 21 10L15 10C14.4477 10 14 9.5523 14 9L14 3Z"/></g></svg>

How to use the Blocks Sharp Duotone icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:blocks-sharp-duotone"></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-sharp-duotone"></iconify-icon>

HTML image

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

Related icons in Keyline Icons

Blocks Sharp Duotone icon FAQ

Is the Blocks Sharp Duotone 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 Sharp Duotone icon in React?

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

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

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

Browse all Keyline Icons →