ICONYZ
English
Code Square icon from ProIcons

Code Square icon

proicons:code-square

The Code Square icon (proicons:code-square) is a free SVG icon from the ProIcons set by ProCode. It is drawn on a 24 × 24 grid. ProIcons 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
ProIcons
Author
ProCode
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"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M10.143 8.857L7 12l3.143 3.143m3.714-6.286L17 12l-3.143 3.143"/><rect width="16.5" height="16.5" x="3.75" y="3.75" rx="4"/></g></svg>

How to use the Code Square icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="proicons:code-square"></iconify-icon>

HTML image

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

Related icons in ProIcons

Code Square icon in other icon sets

Code Square icon FAQ

Is the Code Square icon free for commercial use?

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

How do I use the Code Square icon in React?

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

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

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

Browse all ProIcons →