Code icon
whh:code
The Code icon (whh:code) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1024 × 769 grid. WebHostingHub Glyphs icons are released under the Open Font 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
- WebHostingHub Glyphs
- Author
- WebHostingHub
- License
- OFL-1.1
- Size
- 1024 × 769
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="769" viewBox="0 0 1024 769"><path fill="currentColor" d="M1006 428L744 751q-18 18-43.5 18T657 751t-18-43t18-43l227-280l-227-280q-18-18-18-43.5T657 18t43.5-18T744 18l262 323q18 18 18 43.5t-18 43.5M367 751q-18 18-43.5 18T280 751L18 428Q0 410 0 384.5T18 341L280 18q18-18 43.5-18T367 18t18 43.5t-18 43.5L140 385l227 280q18 18 18 43t-18 43"/></svg>How to use the Code icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:code"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:code"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/code.svg" alt="Code icon" width="24" height="24">Related icons in WebHostingHub Glyphs
Code icon in other icon sets
Code icon FAQ
Is the Code icon free for commercial use?
Yes. WebHostingHub Glyphs icons are released under the Open Font 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="whh: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/whh/code.svg" alt="Code icon">, or paste the SVG code inline to style it with CSS.