ICONYZ
English
Copy icon from CodeX Icons

Copy icon

codex:copy

The Copy icon (codex:copy) is a free SVG icon from the CodeX Icons set by CodeX. It is drawn on a 24 × 24 grid. CodeX 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
CodeX Icons
Author
CodeX
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M17.25 8.5h-7a1.75 1.75 0 0 0-1.75 1.75v7c0 .966.784 1.75 1.75 1.75h7A1.75 1.75 0 0 0 19 17.25v-7a1.75 1.75 0 0 0-1.75-1.75"/><path d="M15.5 8.5V6.75A1.75 1.75 0 0 0 13.75 5h-7A1.75 1.75 0 0 0 5 6.75v7a1.75 1.75 0 0 0 1.75 1.75H8.5M12 12h3.5M12 15.5h3.5"/></g></svg>

How to use the Copy icon

React

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

<Icon icon="codex:copy" width="24" />

Vue

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

<template>
  <Icon icon="codex:copy" width="24" />
</template>

Svelte

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

<Icon icon="codex:copy" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codex--copy]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/codex -->
<div class="i-codex:copy"></div>

Web component

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

<iconify-icon icon="codex:copy"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codex/copy.svg" alt="Copy icon" width="24" height="24">

Copy icon in other icon sets

Copy icon FAQ

Is the Copy icon free for commercial use?

Yes. CodeX Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Copy icon in React?

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

How do I add the Copy icon to a web page?

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

Browse all CodeX Icons →