1. Icon Monks
  2. Development icons
  3. Code Slash

Code Slash icon

The code slash 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 Slash icon, thin weight
Thin
SVG
Code Slash icon, light weight
Light
SVG
Code Slash icon, regular weight
Regular
SVG
Code Slash icon, bold weight
Bold
SVG
Code Slash icon, fill weight
Fill
SVG
Code Slash icon, duotone weight
Duotone
SVG

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

About the code slash icon

It is the crossed-out version of the code icon, for when it is off, blocked or unavailable, so it keeps the exact outline of the code icon. Use it to stand for code off, disable code and developer. The regular weight is a single path made of 5 shapes.

Pairs well with the brackets curly icon. Use the same weight for all of them so they read as one set.

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

React

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

<CodeSlash size={24} />

Vue

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

<CodeSlash :size="24" />

Web component

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

Icon font

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

Flutter

Icon(IconMonks.codeSlash)

SwiftUI

Image(iconMonks: .codeSlash)

Compose

import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.CodeSlash

Icon(IconMonks.Regular.CodeSlash, 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 slash icon

Is the code slash icon free for commercial use?

Yes. The code slash 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 slash 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 slash and code icons?

The code slash icon is the crossed-out version of the code icon, for when it is off, blocked or unavailable. 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