Replace icon
codicon:replace
The Replace icon (codicon:replace) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Codicons
- Author
- Microsoft Corporation
- License
- CC-BY-4.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path fill-rule="evenodd" d="M10 2.813a1.8 1.8 0 0 1 1-.313c1.103 0 2 1.009 2 2.25S12.103 7 11 7c-.38 0-.731-.127-1.034-.334A.495.495 0 0 1 9.5 7a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 1 0zm0 1.937c0 .689.448 1.25 1 1.25s1-.561 1-1.25s-.448-1.25-1-1.25s-1 .561-1 1.25M2 9h5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1m3.039 4.645c-.229.204-.84.323-1.209-.139a1.62 1.62 0 0 1-.33-1.014c0-.388.118-.748.33-1.014c.371-.464.981-.345 1.21-.139a.5.5 0 1 0 .669-.742c-.787-.71-1.976-.596-2.66.256a2.63 2.63 0 0 0-.549 1.639c0 .614.195 1.196.549 1.639c.381.474.896.736 1.451.736a1.8 1.8 0 0 0 1.208-.48a.5.5 0 1 0-.669-.742" clip-rule="evenodd"/><path d="M4 4.5C4 3.673 4.673 3 5.5 3h2.002a.5.5 0 0 1 0 1h-2a.5.5 0 0 0-.5.5v1.793l1.146-1.146a.5.5 0 0 1 .707.707l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .707-.707L4 6.293z"/></g></svg>How to use the Replace icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:replace" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:replace" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:replace" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--replace]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:replace"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:replace"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/replace.svg" alt="Replace icon" width="24" height="24">Related icons in Codicons
Replace icon in other icon sets
Replace icon FAQ
Is the Replace icon free for commercial use?
Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Replace icon in React?
Install @iconify/react and render <Icon icon="codicon:replace" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Replace icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/replace.svg" alt="Replace icon">, or paste the SVG code inline to style it with CSS.