Code Block 48 Regular icon
fluent:code-block-48-regular
The Code Block 48 Regular icon (fluent:code-block-48-regular) is a free SVG icon from the Fluent UI System Icons set by Microsoft Corporation. It is drawn on a 48 × 48 grid. Fluent UI System 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
- Fluent UI System Icons
- Author
- Microsoft Corporation
- License
- MIT
- Size
- 48 × 48
- Tags
- codeblock, blockregular, codeblockregular
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" d="M6 12.25A6.25 6.25 0 0 1 12.25 6h23.5A6.25 6.25 0 0 1 42 12.25v23.5A6.25 6.25 0 0 1 35.75 42h-23.5A6.25 6.25 0 0 1 6 35.75zm6.25-3.75a3.75 3.75 0 0 0-3.75 3.75v23.5a3.75 3.75 0 0 0 3.75 3.75h23.5a3.75 3.75 0 0 0 3.75-3.75v-23.5a3.75 3.75 0 0 0-3.75-3.75zm8.634 6.866a1.25 1.25 0 0 1 0 1.768L14.018 24l6.866 6.866a1.25 1.25 0 0 1-1.768 1.768l-7.75-7.75a1.25 1.25 0 0 1 0-1.768l7.75-7.75a1.25 1.25 0 0 1 1.768 0m8 0a1.25 1.25 0 0 0-1.768 1.768L33.982 24l-6.866 6.866a1.25 1.25 0 0 0 1.768 1.768l7.75-7.75a1.25 1.25 0 0 0 0-1.768z"/></svg>How to use the Code Block 48 Regular icon
React
import { Icon } from "@iconify/react";
<Icon icon="fluent:code-block-48-regular" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fluent:code-block-48-regular" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fluent:code-block-48-regular" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent--code-block-48-regular]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fluent -->
<div class="i-fluent:code-block-48-regular"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fluent:code-block-48-regular"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fluent/code-block-48-regular.svg" alt="Code Block 48 Regular icon" width="24" height="24">Related icons in Fluent UI System Icons
Code Block 48 Regular icon FAQ
Is the Code Block 48 Regular icon free for commercial use?
Yes. Fluent UI System Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Code Block 48 Regular icon in React?
Install @iconify/react and render <Icon icon="fluent:code-block-48-regular" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Code Block 48 Regular icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fluent/code-block-48-regular.svg" alt="Code Block 48 Regular icon">, or paste the SVG code inline to style it with CSS.