Code icon
gg:code
The Code icon (gg:code) 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m9.953 16.912l-1.36 1.449l-6.562-6.16L8.19 5.64l1.458 1.369l-4.79 5.104l5.094 4.781zm4.094 0l1.36 1.449l6.562-6.16L15.81 5.64l-1.458 1.369l4.79 5.104l-5.094 4.781z"/></svg>How to use the Code icon
React
import { Icon } from "@iconify/react";
<Icon icon="gg:code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gg:code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gg:code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gg--code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gg -->
<div class="i-gg:code"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gg:code"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gg/code.svg" alt="Code icon" width="24" height="24">Related icons in css.gg
Code icon in other icon sets
Code icon FAQ
Is the Code 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 icon in React?
Install @iconify/react and render <Icon icon="gg:code" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Code icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gg/code.svg" alt="Code icon">, or paste the SVG code inline to style it with CSS.