Code Block Bold icon
ph:code-block-bold
The Code Block Bold icon (ph:code-block-bold) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- angle brackets, angle braces, snippets, codeblock, blockbold, codeblockbold
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="m51.51 104.49l-32-32a12 12 0 0 1 0-17l32-32a12 12 0 1 1 17 17L45 64l23.49 23.51a12 12 0 0 1-17 17Zm48 0a12 12 0 0 0 17 0l32-32a12 12 0 0 0 0-17l-32-32a12 12 0 1 0-17 17L123 64L99.51 87.51a12 12 0 0 0 0 16.98M200 36h-20a12 12 0 0 0 0 24h16v136H60v-56a12 12 0 0 0-24 0v60a20 20 0 0 0 20 20h144a20 20 0 0 0 20-20V56a20 20 0 0 0-20-20"/></svg>How to use the Code Block Bold icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:code-block-bold" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:code-block-bold" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:code-block-bold" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--code-block-bold]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:code-block-bold"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:code-block-bold"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/code-block-bold.svg" alt="Code Block Bold icon" width="24" height="24">Related icons in Phosphor
Code Block Bold icon FAQ
Is the Code Block Bold icon free for commercial use?
Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Code Block Bold icon in React?
Install @iconify/react and render <Icon icon="ph:code-block-bold" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Code Block Bold icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/code-block-bold.svg" alt="Code Block Bold icon">, or paste the SVG code inline to style it with CSS.