Arrows Right Left icon
heroicons:arrows-right-left
The Arrows Right Left icon (heroicons:arrows-right-left) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
- Tags
- arrowsright, rightleft, arrowsrightleft, arrow
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.5 21L3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"/></svg>How to use the Arrows Right Left icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:arrows-right-left" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:arrows-right-left" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:arrows-right-left" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--arrows-right-left]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:arrows-right-left"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:arrows-right-left"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/arrows-right-left.svg" alt="Arrows Right Left icon" width="24" height="24">Related icons in HeroIcons
Arrows Right Left icon in other icon sets
Arrows Right Left icon FAQ
Is the Arrows Right Left icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Arrows Right Left icon in React?
Install @iconify/react and render <Icon icon="heroicons:arrows-right-left" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Arrows Right Left icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/arrows-right-left.svg" alt="Arrows Right Left icon">, or paste the SVG code inline to style it with CSS.