Code Block 16 icon
fluent-color:code-block-16
The Code Block 16 icon (fluent-color:code-block-16) is a free SVG icon from the Fluent UI System Color Icons set by Microsoft Corporation. It is drawn on a 16 × 16 grid. Fluent UI System Color 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 Color Icons
- Author
- Microsoft Corporation
- License
- MIT
- Size
- 16 × 16
- Tags
- codeblock
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none"><path fill="url(#SVGwr0PldEs)" d="M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5z"/><path fill="url(#SVGx0liHdyC)" d="M9.854 5.646a.5.5 0 1 0-.708.708L10.793 8L9.146 9.646a.5.5 0 0 0 .708.708l2-2a.5.5 0 0 0 0-.708zm-3 .708a.5.5 0 0 0-.708-.707l-2 2a.5.5 0 0 0 0 .707l2 2a.5.5 0 0 0 .708-.708L5.207 8z"/><defs><linearGradient id="SVGwr0PldEs" x1="4.975" x2="11.665" y1="2" y2="14.2" gradientUnits="userSpaceOnUse"><stop offset=".028" stop-color="#e67eea"/><stop offset=".438" stop-color="#ad64d7"/><stop offset="1" stop-color="#794dc5"/></linearGradient><linearGradient id="SVGx0liHdyC" x1="5.897" x2="8.694" y1="5.692" y2="13.416" gradientUnits="userSpaceOnUse"><stop stop-color="#fdfdfd"/><stop offset="1" stop-color="#f9dcfa"/></linearGradient></defs></g></svg>How to use the Code Block 16 icon
React
import { Icon } from "@iconify/react";
<Icon icon="fluent-color:code-block-16" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fluent-color:code-block-16" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fluent-color:code-block-16" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-color--code-block-16]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fluent-color -->
<div class="i-fluent-color:code-block-16"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fluent-color:code-block-16"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fluent-color/code-block-16.svg" alt="Code Block 16 icon" width="24" height="24">Related icons in Fluent UI System Color Icons
Code Block 16 icon FAQ
Is the Code Block 16 icon free for commercial use?
Yes. Fluent UI System Color Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Code Block 16 icon in React?
Install @iconify/react and render <Icon icon="fluent-color:code-block-16" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Code Block 16 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fluent-color/code-block-16.svg" alt="Code Block 16 icon">, or paste the SVG code inline to style it with CSS.