Swap icon
zmdi:swap
The Swap icon (zmdi:swap) is a free SVG icon from the Material Design Iconic Font set by MDI Community. It is drawn on a 384 × 384 grid. Material Design Iconic Font icons are released under the Open Font 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
- Material Design Iconic Font
- Author
- MDI Community
- License
- OFL-1.1
- Size
- 384 × 384
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="384" height="384" viewBox="0 0 384 384"><path fill="currentColor" d="M85 171v64h150v42H85v64L0 256zm299-43l-85 85v-64H149v-42h150V43z"/></svg>How to use the Swap icon
React
import { Icon } from "@iconify/react";
<Icon icon="zmdi:swap" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="zmdi:swap" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="zmdi:swap" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[zmdi--swap]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/zmdi -->
<div class="i-zmdi:swap"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="zmdi:swap"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/zmdi/swap.svg" alt="Swap icon" width="24" height="24">Related icons in Material Design Iconic Font
Swap icon in other icon sets
Swap icon FAQ
Is the Swap icon free for commercial use?
Yes. Material Design Iconic Font icons are released under the Open Font 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="zmdi: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/zmdi/swap.svg" alt="Swap icon">, or paste the SVG code inline to style it with CSS.