Swap Horiz icon

Swap Horiz is a Google Material Symbol from the UI actions category. It's one of the 500 most used Material Symbols. It comes in outlined, rounded and sharp styles, filled or unfilled, at seven weights from 100 to 700. Download it as SVG or PNG, or copy code for HTML, React, Vue, Angular, Flutter and Android — it's free to use under the Apache License 2.0.

Outlined

SVG

Outlined, filled

SVG

Every style, fill and weight

Material Symbols are variable: each icon comes in three styles, with or without fill, at seven weights. Pick a combination to preview it, download it, or copy the code for your platform.

Outlined, unfilled, weight 400

swap_horiz_outlined_fill0_wght400.svg

Swap Horiz icon in HTML

Load the Material Symbols font from Google Fonts (this link loads just this icon), then use the icon's name as text.

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=swap_horiz" />

<span class="material-symbols-outlined">swap_horiz</span>

Swap Horiz icon in React

// With the font from the HTML tab:
export function SwapHorizIcon() {
  return (
    <span className="material-symbols-outlined">
      swap_horiz
    </span>
  );
}

// Or as an SVG component (Vite + vite-plugin-svgr) instead:
//   npm install @material-symbols/svg-400
//   import SwapHorizIcon from "@material-symbols/svg-400/outlined/swap_horiz.svg?react";

Swap Horiz icon in Vue

<!-- With the font from the HTML tab -->
<template>
  <span class="material-symbols-outlined">swap_horiz</span>
</template>

<!-- Or as an SVG component (Vite + vite-svg-loader):
     npm install @material-symbols/svg-400
     import SwapHorizIcon from "@material-symbols/svg-400/outlined/swap_horiz.svg?component"; -->

Swap Horiz icon in Angular

With Angular Material and the font from the HTML tab:

<mat-icon fontSet="material-symbols-outlined">swap_horiz</mat-icon>

Swap Horiz icon in Flutter

Uses the community material_symbols_icons package.

flutter pub add material_symbols_icons

import 'package:material_symbols_icons/symbols.dart';

Icon(Symbols.swap_horiz, fill: 0, weight: 400)

Swap Horiz icon in Android

A vector drawable of the selected style, fill and weight:

<!-- res/drawable/swap_horiz.xml -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24"
    android:tint="?attr/colorControlNormal">
        <path android:fillColor="@android:color/white" android:pathData="M6.825 20 2 15.175l4.825-4.825 1.05 1.05-3.025 3.025h7.9v1.5H4.85l3.025 3.025-1.05 1.05Zm10.35-6.35-1.05-1.05 3.025-3.025H11.25v-1.5h7.9L16.125 5.05l1.05-1.05 4.825 4.825-4.825 4.825Z" />
</vector>

Swap Horiz icon in SVG

npm install @material-symbols/svg-400

import icon from "@material-symbols/svg-400/outlined/swap_horiz.svg";

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@material-symbols/svg-400@0.47.5/outlined/swap_horiz.svg" width="24" height="24" alt="Swap Horiz">

Swap Horiz icon in Power Apps

Paste into an Image control's Image property. The Copy button copies the full formula with this icon's SVG.

"data:image/svg+xml;utf8, " & EncodeUrl("<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'>…</svg>")

Details

NameSwap Horiz
Ligatureswap_horiz
Code pointU+E8D4
CategoryUI actions
StylesOutlined, Rounded, Sharp — each unfilled or filled
Weights100, 200, 300, 400, 500, 600, 700
Files@material-symbols/svg-400/outlined/swap_horiz.svg, swap_horiz-fill.svg
FlutterSymbols.swap_horiz
LicenseApache License 2.0 (© Google LLC)

Keywords

ui actionsarrowsmovehorizontalmovementtransferforwardswitchchangeflowbacksorttransaction

Related icons