The Heroicons arrows right left icon depicts two arrows pointing in opposite directions, commonly used to signify switching, toggling, or bidirectional movement.
Common uses
- Toggle between two states
- Switching content views
- Syncing data
Use it in React
Install
npm i @heroicons/reactImport & render
import { ArrowsRightLeftIcon } from '@heroicons/react/24/outline';
<ArrowsRightLeftIcon className="size-6" />Styles
Heroicons ships this icon in 4 styles — each its own import:
24/outline
<ArrowsRightLeftIcon className="size-6" />24/solid
<ArrowsRightLeftIcon className="size-6" />20/solid
<ArrowsRightLeftIcon className="size-6" />16/solid
<ArrowsRightLeftIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- arrowsrightleftswapexchangebidirectional arrowssync
FAQ
- What does the arrows-right-left icon represent?
- This icon represents a bidirectional action, such as switching between options or toggling a setting.
- How do I use this icon in React?
- Import it using `import { ArrowsRightLeftIcon } from '@heroicons/react/24/outline'` and then use it as a React component.
- What is the license for Heroicons?
- Heroicons are released under the MIT license, allowing for free use in both personal and commercial projects.
Related icons
The same idea in other libraries, and near matches in Heroicons.
Looking for something else? Search Heroicons and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →