- Icon Monks
- Development icons
- Code Square
Code Square icon
The code square icon is a free development icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.
Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.
About the code square icon
It is the code icon set inside a square, for app-style tiles, so it keeps the exact outline of the code icon. Use it to stand for code, square and brackets. The regular weight is a single path made of 5 shapes, and the duotone weight adds a 20% tint behind the outline.
When to use the code square icon
It belongs to the development set, made for code, terminals, version control and developer tools. Pair it with the related icons below so a screen stays in one visual style.
Use the code square icon in your code
React
import { CodeSquare } from '@icon-monks/react';
<CodeSquare size={24} />Vue
<script setup>
import { CodeSquare } from '@icon-monks/vue';
</script>
<CodeSquare :size="24" />Web component
<icon-monks name="code-square" size="24"></icon-monks>Icon font
<i class="im im-code-square"></i>Flutter
Icon(IconMonks.codeSquare)SwiftUI
Image(iconMonks: .codeSquare)Compose
import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.CodeSquare
Icon(IconMonks.Regular.CodeSquare, contentDescription = null)Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.
Tags
Related development icons
brackets-square-square
brackets-curly-square
brackets-round-square
brackets-square-slash
brackets-square-circle
cloud-code
code
code-asterisk
code-circle
code-dots
code-minus
code-plus
code-slash
code-variable
code-variable-eye
code-variable-magnifying-glass
code-variable-minus
code-variable-pencil
Similar icons in other categories
code-block
cursor-code
flag-code
funnel-code
gear-code
globe-code
heart-code
image-code
lock-code
magnifying-glass-code
map-pin-code
map-trifold-code
Questions about the code square icon
Is the code square icon free for commercial use?
Yes. The code square icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.
How do I change the color and size of the code square icon?
The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.
What is the difference between the code square and code icons?
The code square icon is the code icon set inside a square, for app-style tiles. Both share the same outline and come in all six weights, so you can swap one for the other to show a change of state.
Last updated with version 0.4.3. Release notes