ICONYZ
English
Code Block 28 Regular icon from Fluent UI System Icons

Code Block 28 Regular icon

fluent:code-block-28-regular

The Code Block 28 Regular icon (fluent:code-block-28-regular) is a free SVG icon from the Fluent UI System Icons set by Microsoft Corporation. It is drawn on a 28 × 28 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
28 × 28
Tags
codeblock, blockregular, codeblockregular
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"><path fill="currentColor" d="M3 6.75A3.75 3.75 0 0 1 6.75 3h14.5A3.75 3.75 0 0 1 25 6.75v14.5A3.75 3.75 0 0 1 21.25 25H6.75A3.75 3.75 0 0 1 3 21.25zM6.75 4.5A2.25 2.25 0 0 0 4.5 6.75v14.5a2.25 2.25 0 0 0 2.25 2.25h14.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25zm5.28 4.72a.75.75 0 0 1 0 1.06L8.31 14l3.72 3.72a.75.75 0 1 1-1.06 1.06l-4.25-4.25a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0m5 0a.75.75 0 1 0-1.06 1.06L19.69 14l-3.72 3.72a.75.75 0 1 0 1.06 1.06l4.25-4.25a.75.75 0 0 0 0-1.06z"/></svg>

How to use the Code Block 28 Regular icon

React

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

<Icon icon="fluent:code-block-28-regular" width="24" />

Vue

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

<template>
  <Icon icon="fluent:code-block-28-regular" width="24" />
</template>

Svelte

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

<Icon icon="fluent:code-block-28-regular" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent--code-block-28-regular]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fluent -->
<div class="i-fluent:code-block-28-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-28-regular"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fluent/code-block-28-regular.svg" alt="Code Block 28 Regular icon" width="24" height="24">

Related icons in Fluent UI System Icons

Code Block 28 Regular icon FAQ

Is the Code Block 28 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 28 Regular icon in React?

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

How do I add the Code Block 28 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-28-regular.svg" alt="Code Block 28 Regular icon">, or paste the SVG code inline to style it with CSS.

Browse all Fluent UI System Icons →