Switch Pixel Art Icon
A switch icon for swapping two values, exchanging positions, toggling between two modes, and bidirectional transfer controls.
Style variants
base
Outline ยท rounded corners
Base, sharp, solid or glyph: see how the four styles differ and which to use.
About the Switch icon
Two arrows crossing or exchanging positions, indicating that two items will swap. Use it on a currency converter's 'swap origin and destination' button, on a flight search where departure and arrival cities are exchanged, or on any control that reverses two paired values. It differs from a toggle switch (on/off) in that it implies an exchange between two items rather than a binary state. A label alongside it helps clarify which pair of values will be swapped.
Usage
<!-- HTML -->
<img src="pixelarticons/svg/switch.svg" width="24" height="24" alt="Switch" />
<!-- React -->
import { Switch } from 'pixelarticons/react'
<!-- Sizes: 24px, 48px, 72px, 96px (multiples of 24) -->
<img src="switch.svg" width="48" height="48" style="image-rendering: pixelated" />