The Heroicons arrow left on rectangle icon visually represents an action to move something to the left or exit a current context.
Common uses
- Sign out button
- Back navigation
- Exit full screen
Use it in React
Install
npm i @heroicons/reactImport & render
import { ArrowLeftOnRectangleIcon } from '@heroicons/react/24/outline';
<ArrowLeftOnRectangleIcon className="size-6" />Styles
Heroicons ships this icon in 3 styles — each its own import:
24/outline
<ArrowLeftOnRectangleIcon className="size-6" />24/solid
<ArrowLeftOnRectangleIcon className="size-6" />20/solid
<ArrowLeftOnRectangleIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- arrowleftonrectanglesign outlog outexitback
FAQ
- What is the arrow left on rectangle icon used for?
- It's commonly used for actions like signing out, going back, or exiting a view.
- How do I use this icon in React?
- Import it using: `import { ArrowLeftOnRectangleIcon } from '@heroicons/react/24/outline'`. Then use it as a component: `<ArrowLeftOnRectangleIcon className="h-6 w-6" />`.
- What is the license for Heroicons?
- Heroicons are released under the MIT license, allowing for free commercial and non-commercial use.
Related icons
The same idea in other libraries, and near matches in Heroicons.