Code icon
griddy-icons:code
The Code icon (griddy-icons:code) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy 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
- Griddy Icons
- Author
- Zuzana Benova
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="m8.288 20.76l6.005-18l1.423.475l-6.005 18zM6.97 18.03l-5.145-5.145a1.26 1.26 0 0 1 0-1.77L6.97 5.97l1.06 1.06L3.06 12l4.97 4.97zm10.06 0l-1.06-1.06L20.94 12l-4.97-4.97l1.06-1.06l5.145 5.145c.485.485.485 1.28 0 1.77z" clip-rule="evenodd"/></svg>How to use the Code icon
React
import { Icon } from "@iconify/react";
<Icon icon="griddy-icons:code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="griddy-icons:code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="griddy-icons:code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:code"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="griddy-icons:code"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/griddy-icons/code.svg" alt="Code icon" width="24" height="24">Related icons in Griddy Icons
code-alt
code-branch
code-branch-filled
code-circle
code-circle-filled
code-commit-horizontal
code-commit-horizontal-filled
code-commit-vertical
code-commit-vertical-filled
code-compare
code-compare-filled
code-deploy
code-deploy-filled
code-fork
code-fork-alt
code-fork-alt-filled
code-fork-filled
code-merge
code-merge-filled
code-package
code-package-filled
code-pull-request
code-pull-request-filled
code-square
Code icon in other icon sets
Code icon FAQ
Is the Code icon free for commercial use?
Yes. Griddy 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="griddy-icons: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/griddy-icons/code.svg" alt="Code icon">, or paste the SVG code inline to style it with CSS.