ICONYZ
English
Swap icon from Web3 Icons

Swap icon

token:swap

The Swap icon (token:swap) is a free SVG icon from the Web3 Icons set by 0xa3k5. It is drawn on a 24 × 24 grid. Web3 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
Web3 Icons
Author
0xa3k5
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"><path fill="currentColor" d="M7.5 9.616v1.034l3.15-2.25L7.5 6.375v.92a4.95 4.95 0 0 0 .45 9.88c1.133 0 2.7-.399 3.6-1.35c1.125-1.299 2.466-4.57 2.466-4.57L9.999 13.86a2.59 2.59 0 0 1-3.327.465A2.588 2.588 0 0 1 7.5 9.616"/><path fill="currentColor" d="M16.5 14.384V13.35l-3.15 2.25l3.15 2.025v-.92a4.95 4.95 0 0 0-.45-9.88c-1.134 0-2.7.399-3.6 1.35c-1.125 1.299-2.466 4.57-2.466 4.57L14 10.14a2.588 2.588 0 1 1 2.499 4.243"/></svg>

How to use the Swap icon

React

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

<Icon icon="token:swap" width="24" />

Vue

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

<template>
  <Icon icon="token:swap" width="24" />
</template>

Svelte

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

<Icon icon="token:swap" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="token:swap"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/token/swap.svg" alt="Swap icon" width="24" height="24">

Swap icon in other icon sets

Swap icon FAQ

Is the Swap icon free for commercial use?

Yes. Web3 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="token: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/token/swap.svg" alt="Swap icon">, or paste the SVG code inline to style it with CSS.

Browse all Web3 Icons →