ICONYZ
English
Code Slash icon from css.gg

Code Slash icon

gg:code-slash

The Code Slash icon (gg:code-slash) is a free SVG icon from the css.gg set by Astrit. It is drawn on a 24 × 24 grid. css.gg icons 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
css.gg
Author
Astrit
License
MIT
Size
24 × 24
Tags
codeslash
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="M13.325 3.05L8.667 20.432l1.932.518l4.658-17.382zM7.612 18.36l1.36-1.448l-.001-.019l-5.094-4.78l4.79-5.105l-1.458-1.369l-6.16 6.563zm8.776 0l-1.36-1.448l.001-.019l5.094-4.78l-4.79-5.105l1.458-1.369l6.16 6.563z"/></svg>

How to use the Code Slash icon

React

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

<Icon icon="gg:code-slash" width="24" />

Vue

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

<template>
  <Icon icon="gg:code-slash" width="24" />
</template>

Svelte

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

<Icon icon="gg:code-slash" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="gg:code-slash"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/gg/code-slash.svg" alt="Code Slash icon" width="24" height="24">

Related icons in css.gg

Code Slash icon in other icon sets

Code Slash icon FAQ

Is the Code Slash icon free for commercial use?

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

How do I use the Code Slash icon in React?

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

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

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

Browse all css.gg icons →