ICONYZ
English
Codeblocks icon from Simple Icons

Codeblocks icon

simple-icons:codeblocks

The Codeblocks icon (simple-icons:codeblocks) is a free SVG icon from the Simple Icons set by Simple Icons Collaborators. It is drawn on a 24 × 24 grid. Simple Icons are released under the CC0 1.0 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
Simple Icons
Author
Simple Icons Collaborators
License
CC0-1.0
Size
24 × 24
Tags
codeblock
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M.011 0v8.406H8.61V0zm15.39 0v8.406H24V0zM8.972.658l.012 7.869l2.54 2.43l.007-5.564zm6.066 0l-2.555 4.735l.004 5.564l2.54-2.43zM.332 8.768l5.52 2.677l5.655-.006l-2.773-2.67zm14.944 0L12.53 11.49l5.655-.09l5.498-2.631zm-9.323 3.855L.318 15.232h8.405l2.748-2.722zm6.565-.113l2.747 2.722h8.402l-5.586-2.609zm-1.006.533l-2.54 2.43l-.011 7.873l2.555-4.74zm.964 0l-.008 5.564l2.559 4.74l-.011-7.874zM0 15.598V24h8.598v-8.402zm15.39 0V24h8.598v-8.402z"/></svg>

How to use the Codeblocks icon

React

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

<Icon icon="simple-icons:codeblocks" width="24" />

Vue

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

<template>
  <Icon icon="simple-icons:codeblocks" width="24" />
</template>

Svelte

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

<Icon icon="simple-icons:codeblocks" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[simple-icons--codeblocks]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/simple-icons -->
<div class="i-simple-icons:codeblocks"></div>

Web component

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

<iconify-icon icon="simple-icons:codeblocks"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/simple-icons/codeblocks.svg" alt="Codeblocks icon" width="24" height="24">

Codeblocks icon FAQ

Is the Codeblocks icon free for commercial use?

Yes. Simple Icons are released under the CC0 1.0 license, which allows use in personal and commercial projects.

How do I use the Codeblocks icon in React?

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

How do I add the Codeblocks icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/simple-icons/codeblocks.svg" alt="Codeblocks icon">, or paste the SVG code inline to style it with CSS.

Browse all Simple Icons →