1. Icon Monks
  2. Development icons
  3. Code

Code icon

The code 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.

Code icon, thin weight
Thin
SVG
Code icon, light weight
Light
SVG
Code icon, regular weight
Regular
SVG
Code icon, bold weight
Bold
SVG
Code icon, fill weight
Fill
SVG
Code icon, duotone weight
Duotone
SVG

Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.

About the code icon

Use it to stand for programming, developer and html. The regular weight is a single path made of 3 shapes. It comes with ten or more variants for states and actions: code arrow down, code asterisk, code block, code circle, code dots, code minus, code plus, code slash, code sparkle and code square.

Pairs well with the file html, text c and brackets curly icons, which share the “developer” theme. Use the same weight for all of them so they read as one set.

When to use the code 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 icon in your code

React

import { Code } from '@icon-monks/react';

<Code size={24} />

Vue

<script setup>
import { Code } from '@icon-monks/vue';
</script>

<Code :size="24" />

Web component

<icon-monks name="code" size="24"></icon-monks>

Icon font

<i class="im im-code"></i>

Flutter

Icon(IconMonks.code)

SwiftUI

Image(iconMonks: .code)

Compose

import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.Code

Icon(IconMonks.Regular.Code, contentDescription = null)

Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.

Tags

Related development icons

See all 182 development icons

Similar icons in other categories

Questions about the code icon

Is the code icon free for commercial use?

Yes. The code 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 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.

Are there variants of the code icon?

Yes. The code icon has ten or more variants, including code arrow down, code asterisk, code block and code circle. Each one keeps the same base shape and comes in all six weights.

Last updated with version 0.4.3. Release notes