ICONYZ
English
Code Square 16 icon from Octicons

Code Square 16 icon

octicon:code-square-16

The Code Square 16 icon (octicon:code-square-16) is a free SVG icon from the Octicons set by GitHub. It is drawn on a 24 × 24 grid. Octicons 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
Octicons
Author
GitHub
License
MIT
Size
24 × 24
Tags
codesquare
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="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25Zm7.47 3.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326a.75.75 0 0 1 .215-.734L10.69 8L9.22 6.53a.75.75 0 0 1 0-1.06M6.78 6.53L5.31 8l1.47 1.47a.749.749 0 0 1-.326 1.275a.75.75 0 0 1-.734-.215l-2-2a.75.75 0 0 1 0-1.06l2-2a.75.75 0 0 1 1.042.018a.75.75 0 0 1 .018 1.042"/></svg>

How to use the Code Square 16 icon

React

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

<Icon icon="octicon:code-square-16" width="24" />

Vue

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

<template>
  <Icon icon="octicon:code-square-16" width="24" />
</template>

Svelte

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

<Icon icon="octicon:code-square-16" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[octicon--code-square-16]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/octicon -->
<div class="i-octicon:code-square-16"></div>

Web component

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

<iconify-icon icon="octicon:code-square-16"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/octicon/code-square-16.svg" alt="Code Square 16 icon" width="24" height="24">

Related icons in Octicons

Code Square 16 icon FAQ

Is the Code Square 16 icon free for commercial use?

Yes. Octicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Code Square 16 icon in React?

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

How do I add the Code Square 16 icon to a web page?

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

Browse all Octicons →