ICONYZ
English
Code Sample icon from Jam Icons

Code Sample icon

jam:code-sample

The Code Sample icon (jam:code-sample) is a free SVG icon from the Jam Icons set by Michael Amprimo. It is drawn on a 18 × 14 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
18 × 14
Tags
codesample
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="18" height="14" viewBox="0 0 18 14"><path fill="currentColor" d="m5.243 6.657l-4.95-4.95A1 1 0 1 1 1.707.293L7.364 5.95a1 1 0 0 1 0 1.414l-5.657 5.657a1 1 0 1 1-1.414-1.414zM9 11h8a1 1 0 0 1 0 2H9a1 1 0 0 1 0-2"/></svg>

How to use the Code Sample icon

React

import { Icon } from "@iconify/react";

<Icon icon="jam:code-sample" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="jam:code-sample" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="jam:code-sample" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[jam--code-sample]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/jam -->
<div class="i-jam:code-sample"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="jam:code-sample"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/jam/code-sample.svg" alt="Code Sample icon" width="24" height="24">

Related icons in Jam Icons

Code Sample icon FAQ

Is the Code Sample 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 Sample icon in React?

Install @iconify/react and render <Icon icon="jam:code-sample" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Code Sample icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/jam/code-sample.svg" alt="Code Sample icon">, or paste the SVG code inline to style it with CSS.

Browse all Jam Icons →