Swap icon
uiw:swap
The Swap icon (uiw:swap) is a free SVG icon from the uiw icons set by liwen0526. It is drawn on a 20 × 20 grid. uiw 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M19.299 13.098a.7.7 0 0 1 .498 1.191l-5.427 5.503a.7.7 0 1 1-.996-.984l4.252-4.31H.703a.7.7 0 0 1 0-1.4zM6.619.202a.7.7 0 0 1 .007.99l-4.252 4.31h16.923a.7.7 0 0 1 0 1.4H.7a.7.7 0 0 1-.498-1.191L5.63.208a.7.7 0 0 1 .99-.006"/></svg>How to use the Swap icon
React
import { Icon } from "@iconify/react";
<Icon icon="uiw:swap" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uiw:swap" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uiw:swap" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uiw--swap]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uiw -->
<div class="i-uiw:swap"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uiw:swap"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uiw/swap.svg" alt="Swap icon" width="24" height="24">Related icons in uiw icons
Swap icon in other icon sets
Swap icon FAQ
Is the Swap icon free for commercial use?
Yes. uiw icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Swap icon in React?
Install @iconify/react and render <Icon icon="uiw:swap" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Swap icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uiw/swap.svg" alt="Swap icon">, or paste the SVG code inline to style it with CSS.