ICONYZ
English
Switch icon from IcoMoon Free

Switch icon

icomoon-free:switch

The Switch icon (icomoon-free:switch) is a free SVG icon from the IcoMoon Free set by Keyamoon. It is drawn on a 24 × 24 grid. IcoMoon Free icons are released under the GPL license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
IcoMoon Free
Author
Keyamoon
License
GPL-3.0-or-later
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10 2.29v2.124c.566.247 1.086.6 1.536 1.05C12.48 6.408 13 7.664 13 9s-.52 2.591-1.464 3.536S9.336 14 8 14s-2.591-.52-3.536-1.464S3 10.336 3 9s.52-2.591 1.464-3.536c.45-.45.97-.803 1.536-1.05V2.29a7 7 0 1 0 4 0M7 0h2v8H7z"/></svg>

How to use the Switch icon

React

import { Icon } from "@iconify/react";

<Icon icon="icomoon-free:switch" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="icomoon-free:switch" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="icomoon-free:switch" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[icomoon-free--switch]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/icomoon-free -->
<div class="i-icomoon-free:switch"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="icomoon-free:switch"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/icomoon-free/switch.svg" alt="Switch icon" width="24" height="24">

Switch icon in other icon sets

Switch icon FAQ

Is the Switch icon free for commercial use?

Yes. IcoMoon Free icons are released under the GPL license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license.

How do I use the Switch icon in React?

Install @iconify/react and render <Icon icon="icomoon-free:switch" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Switch icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icomoon-free/switch.svg" alt="Switch icon">, or paste the SVG code inline to style it with CSS.

Browse all IcoMoon Free icons →