Code Fork icon
griddy-icons:code-fork
The Code Fork icon (griddy-icons:code-fork) 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
- Tags
- codefork
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 5.25C21 3.46 19.54 2 17.75 2S14.5 3.46 14.5 5.25c0 1.535 1.07 2.82 2.5 3.16V10c0 .69-.56 1.25-1.25 1.25h-7.5C7.56 11.25 7 10.69 7 10V8.41a3.254 3.254 0 0 0 2.5-3.16C9.5 3.46 8.04 2 6.25 2S3 3.46 3 5.25c0 1.535 1.07 2.82 2.5 3.16V10a2.755 2.755 0 0 0 2.75 2.75h3v2.84a3.254 3.254 0 0 0-2.5 3.16C8.75 20.54 10.21 22 12 22s3.25-1.46 3.25-3.25c0-1.535-1.07-2.82-2.5-3.16v-2.84h3A2.755 2.755 0 0 0 18.5 10V8.41A3.254 3.254 0 0 0 21 5.25m-16.5 0c0-.965.785-1.75 1.75-1.75S8 4.285 8 5.25S7.215 7 6.25 7S4.5 6.215 4.5 5.25m9.25 13.5c0 .965-.785 1.75-1.75 1.75s-1.75-.785-1.75-1.75S11.035 17 12 17s1.75.785 1.75 1.75m4-11.75C16.785 7 16 6.215 16 5.25s.785-1.75 1.75-1.75s1.75.785 1.75 1.75S18.715 7 17.75 7"/></svg>How to use the Code Fork icon
React
import { Icon } from "@iconify/react";
<Icon icon="griddy-icons:code-fork" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="griddy-icons:code-fork" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="griddy-icons:code-fork" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--code-fork]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:code-fork"></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-fork"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/griddy-icons/code-fork.svg" alt="Code Fork icon" width="24" height="24">Related icons in Griddy Icons
Code Fork icon in other icon sets
Code Fork icon FAQ
Is the Code Fork 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 Fork icon in React?
Install @iconify/react and render <Icon icon="griddy-icons:code-fork" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Code Fork icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/griddy-icons/code-fork.svg" alt="Code Fork icon">, or paste the SVG code inline to style it with CSS.