Code icon
ps:code
The Code icon (ps:code) is a free SVG icon from the PrestaShop Icons set by PrestaShop. It is drawn on a 496 × 472 grid. PrestaShop Icons use the CC BY-NC 4.0 license, which does not allow commercial use without separate permission from the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- PrestaShop Icons
- Author
- PrestaShop
- License
- CC-BY-NC-4.0
- Size
- 496 × 472
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="496" height="472" viewBox="0 0 496 472"><path fill="currentColor" d="M312 3q-8-4-16 .5T286 18L169 404q-4 18 15 25q8 4 16-.5t10-14.5L325 28q7-18-13-25m45 320q14 14 30 0l106-107l-106-107q-16-14-30 0q-16 16 0 30l77 77l-77 77q-12 14 0 30m-250 0q16 14 30 0q16-16 0-30l-75-77l77-77q16-14 0-30q-14-14-30 0L3 216z"/></svg>How to use the Code icon
React
import { Icon } from "@iconify/react";
<Icon icon="ps:code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ps:code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ps:code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ps--code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ps -->
<div class="i-ps:code"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ps:code"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ps/code.svg" alt="Code icon" width="24" height="24">Code icon in other icon sets
Code icon FAQ
Is the Code icon free for commercial use?
No. PrestaShop Icons use the CC BY-NC 4.0 license, which does not allow commercial use without separate permission from the author.
How do I use the Code icon in React?
Install @iconify/react and render <Icon icon="ps: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/ps/code.svg" alt="Code icon">, or paste the SVG code inline to style it with CSS.