Code icon
jam:code
The Code icon (jam:code) is a free SVG icon from the Jam Icons set by Michael Amprimo. It is drawn on a 20 × 16 grid. Jam 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
- Jam Icons
- Author
- Michael Amprimo
- License
- MIT
- Size
- 20 × 16
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="16" viewBox="0 0 20 16"><path fill="currentColor" d="M12.736.064c.52.2.787.805.598 1.353L8.546 15.305c-.19.548-.763.83-1.282.631c-.52-.2-.787-.805-.598-1.353L11.454.695c.19-.548.763-.83 1.282-.631M2.414 8.256L5.95 11.99c.39.412.39 1.08 0 1.492a.963.963 0 0 1-1.414 0L.293 9.003a1.1 1.1 0 0 1 0-1.493l4.243-4.48a.963.963 0 0 1 1.414 0a1.1 1.1 0 0 1 0 1.494zm15.172 0L14.05 4.524a1.1 1.1 0 0 1 0-1.493a.963.963 0 0 1 1.414 0l4.243 4.479c.39.412.39 1.08 0 1.493l-4.243 4.478a.963.963 0 0 1-1.414 0a1.1 1.1 0 0 1 0-1.492z"/></svg>How to use the Code icon
React
import { Icon } from "@iconify/react";
<Icon icon="jam:code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="jam:code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="jam:code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[jam--code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/jam -->
<div class="i-jam:code"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="jam:code"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/jam/code.svg" alt="Code icon" width="24" height="24">Related icons in Jam Icons
Code icon in other icon sets
Code icon FAQ
Is the Code icon free for commercial use?
Yes. Jam 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="jam: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/jam/code.svg" alt="Code icon">, or paste the SVG code inline to style it with CSS.